[Libreoffice-commits] .: writerfilter/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Dec 3 11:49:36 PST 2010
writerfilter/source/dmapper/PropertyMap.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d4cf7522ede5330b006047c656cd1a78c920ec97
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 3 19:49:22 2010 +0000
WaE: uninitialized variable
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx
index 7a8cbae..73c22b6 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -141,7 +141,7 @@ bool PropertyMap::IsRTL( bool& bSet )
PropertyMap::iterator aIt = find( PropertyDefinition( PROP_WRITING_MODE, true ) );
if( aIt != end( ) )
{
- sal_Int16 nValue;
+ sal_Int16 nValue(0);
aIt->second >>= nValue;
bRtl = ( nValue == text::WritingMode2::RL_TB );
bSet = true;
More information about the Libreoffice-commits
mailing list