summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-12-23 09:29:49 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-12-23 09:29:49 +0100
commit9ea15fea21487b82636bae516a220bf15f805a84 (patch)
treeb47a5d14a6edf7950f59c07da2949bbd326759f7
parentfix copy/paste with whole column/row (diff)
downloadcore-9ea15fea21487b82636bae516a220bf15f805a84.tar.gz
core-9ea15fea21487b82636bae516a220bf15f805a84.zip
WaE: possibly uninitialized variable
-rwxr-xr-xsw/source/ui/config/optpage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 37f03bcd5c38..231d7bf337b5 100755
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -1770,7 +1770,7 @@ sal_Bool SwCompareOptionsTabPage::FillItemSet( SfxItemSet& )
aWordRB.IsChecked() != aWordRB.GetSavedValue() ||
aCharRB.IsChecked() != aCharRB.GetSavedValue() )
{
- SvxCompareMode eCmpMode;
+ SvxCompareMode eCmpMode = SVX_CMP_AUTO;
if ( aAutoRB.IsChecked() ) eCmpMode = SVX_CMP_AUTO;
if ( aWordRB.IsChecked() ) eCmpMode = SVX_CMP_BY_WORD;