diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-04-21 18:38:40 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-22 07:23:02 +0000 |
commit | e7bfe847114d7fd95e6820db01ca9ee876468fbe (patch) | |
tree | c565f1d3e9c5b4a0a314a866366172337d8fb2c1 /editeng/source | |
parent | 43513fec9c74d70da83a71c9a06e191db3f02d40 (diff) |
Do not store return value for later, just exit
Change-Id: If71398ee5a29652303ae492d23e3910526307d3c
Reviewed-on: https://gerrit.libreoffice.org/3541
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/editeng/textconv.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/editeng/source/editeng/textconv.cxx b/editeng/source/editeng/textconv.cxx index f47de16c5eaf..be8c31ad2ef7 100644 --- a/editeng/source/editeng/textconv.cxx +++ b/editeng/source/editeng/textconv.cxx @@ -96,8 +96,6 @@ bool TextConvWrapper::ConvNext_impl() } - bool bGoOn = false; - if ( m_bStartDone && m_bEndDone ) { if ( ConvMore_impl() ) // examine another document? @@ -112,9 +110,10 @@ bool TextConvWrapper::ConvNext_impl() { m_bStartChk = !m_bStartDone; ConvStart_impl( m_bStartChk ? SVX_SPELL_BODY_START : SVX_SPELL_BODY_END ); - bGoOn = true; + return true; } - return bGoOn; + + return false; } |