[Libreoffice-commits] .: sw/source
Cédric Bosdonnat
cbosdo at kemper.freedesktop.org
Fri Dec 23 00:31:54 PST 2011
sw/source/ui/config/optpage.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9ea15fea21487b82636bae516a220bf15f805a84
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date: Fri Dec 23 09:29:49 2011 +0100
WaE: possibly uninitialized variable
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 37f03bc..231d7bf 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;
More information about the Libreoffice-commits
mailing list