[Libreoffice-commits] core.git: cui/source
Julien Nabet
serval2412 at yahoo.fr
Fri Feb 8 14:11:30 PST 2013
cui/source/options/optjsearch.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit c5d5990108fcddbba81845d8ce39260883d2bd4b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Feb 8 23:09:31 2013 +0100
Fix "bModified" reassigned before previous value used
Change-Id: Ief802e26faf8165477b12d92524ce36f92575509
diff --git a/cui/source/options/optjsearch.cxx b/cui/source/options/optjsearch.cxx
index f3911ab..86770d5 100644
--- a/cui/source/options/optjsearch.cxx
+++ b/cui/source/options/optjsearch.cxx
@@ -216,11 +216,9 @@ void SvxJSearchOptionsPage::Reset( const SfxItemSet& )
sal_Bool SvxJSearchOptionsPage::FillItemSet( SfxItemSet& )
{
- sal_Bool bModified = sal_False;
-
sal_Int32 nOldVal = nTransliterationFlags;
nTransliterationFlags = GetTransliterationFlags_Impl();
- bModified = nOldVal != nTransliterationFlags;
+ sal_Bool bModified = nOldVal != nTransliterationFlags;
if (!IsSaveOptions())
return bModified;
More information about the Libreoffice-commits
mailing list