summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-02-08 23:09:31 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-02-08 23:09:31 +0100
commitc5d5990108fcddbba81845d8ce39260883d2bd4b (patch)
treef3b2dd07a2d962ed302ac92fb72267a823ebbcb1 /cui
parentFix "eState" reassigned before previous value used (diff)
downloadcore-c5d5990108fcddbba81845d8ce39260883d2bd4b.tar.gz
core-c5d5990108fcddbba81845d8ce39260883d2bd4b.zip
Fix "bModified" reassigned before previous value used
Change-Id: Ief802e26faf8165477b12d92524ce36f92575509
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optjsearch.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/options/optjsearch.cxx b/cui/source/options/optjsearch.cxx
index f3911abb3fc3..86770d5d052f 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;