[Libreoffice-commits] .: binfilter/bf_svx

Caolán McNamara caolan at kemper.freedesktop.org
Tue Dec 21 13:20:03 PST 2010


 binfilter/bf_svx/source/unodraw/svx_unoshape.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 079839539932a721a289c05910c8cf9264bebe38
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Dec 21 16:02:30 2010 +0000

    WaE: uninit variable

diff --git a/binfilter/bf_svx/source/unodraw/svx_unoshape.cxx b/binfilter/bf_svx/source/unodraw/svx_unoshape.cxx
index dee7540..246dfd0 100644
--- a/binfilter/bf_svx/source/unodraw/svx_unoshape.cxx
+++ b/binfilter/bf_svx/source/unodraw/svx_unoshape.cxx
@@ -2577,7 +2577,7 @@ uno::Any SvxShape::GetAnyForItem( SfxItemSet& aSet, const SfxItemPropertyMap* pM
             // since the sfx uint16 item now exports a sal_Int32, we may have to fix this here
             if( ( *pMap->pType == ::getCppuType((const sal_Int16*)0)) && aAny.getValueType() == ::getCppuType((const sal_Int32*)0) )
             {
-                sal_Int32 nValue;
+                sal_Int32 nValue(0);
                 aAny >>= nValue;
                 aAny <<= (sal_Int16)nValue;
             }


More information about the Libreoffice-commits mailing list