summaryrefslogtreecommitdiff
path: root/shell/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-05 15:19:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-05 15:25:33 +0000
commit638a2dcaa4128e8957e6cd7662bf10daf3f635d0 (patch)
treed69aa34e8965f6eb32e2b173059a7e135bc36854 /shell/source
parent3f03c66d0d480afb21b69694599f8c45361147bf (diff)
fix possible uninitialized value
Diffstat (limited to 'shell/source')
-rw-r--r--shell/source/backends/gconfbe/gconfaccess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx
index 2867ebaf2297..4206db4e2668 100644
--- a/shell/source/backends/gconfbe/gconfaccess.cxx
+++ b/shell/source/backends/gconfbe/gconfaccess.cxx
@@ -322,7 +322,7 @@ uno::Any translateToOOo( const ConfigurationValue aValue, GConfValue *aGconfValu
case SETTING_FONT_ANTI_ALIASING_MIN_PIXEL:
case SETTING_SYMBOL_SET:
{
- sal_Int32 nShortValue;
+ sal_Int32 nShortValue(0);
uno::Any aOriginalValue = makeAnyOfGconfValue( aGconfValue );
aOriginalValue >>= nShortValue;
return uno::makeAny( (sal_Int16) nShortValue );