editeng/source/editeng/textconv.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
New commits: commit e7bfe847114d7fd95e6820db01ca9ee876468fbe Author: Matteo Casalin <matteo.casa...@yahoo.com> Date: Sun Apr 21 18:38:40 2013 +0200 Do not store return value for later, just exit Change-Id: If71398ee5a29652303ae492d23e3910526307d3c Reviewed-on: https://gerrit.libreoffice.org/3541 Reviewed-by: Fridrich Strba <fridr...@documentfoundation.org> Tested-by: Fridrich Strba <fridr...@documentfoundation.org> diff --git a/editeng/source/editeng/textconv.cxx b/editeng/source/editeng/textconv.cxx index f47de16..be8c31a 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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits