To the extent that it means anything... it COULD mean that the speaker was about to say something slightly less honest, then changed his mind while speaking, and said something more honest.
This could be true if the words following "to be honest" meant something mildly embarrassing or unpleasant.
Here is an example where the words "to be honest" would not just be filler.
The speaker is embarrassed to admit the real reason why he changed jobs. He has it in his mind that he is going to say this:
"I changed jobs because I did not fit well with the corporate culture at Megacorp and thought there would be more stimulating challenges at Teratology Inc."
But then he realizes he realizes he is talking to a friend he can confide in, and says,
"I changed jobs because I did not fit well with the corporate culture at Megacorp and, well, to be honest, I screwed up and was fired."