summaryrefslogtreecommitdiff
path: root/sw
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 /sw
parent6274810bf61285a1ac27e4a6a19c7aa1566b0df8 (diff)
WaE: possibly uninitialized variable
Diffstat (limited to 'sw')
-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;