diff options
author | Caolán McNamara <cmc@openoffice.org> | 2010-01-23 12:35:22 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2010-01-23 12:35:22 +0000 |
commit | 1b3a2c9a2ece0a598c5dfdbef450dad8a0379417 (patch) | |
tree | a707dc20d788319d5c3d5788baddc59ed2259b9c /vbahelper | |
parent | 3b3e144c13a85b21b32904f245f44256c63e10e5 (diff) |
cmcfixes71: #i108597# fix uninit warnings
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbahelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx index ca3a3b5d729f..bc412b6dd184 100644 --- a/vbahelper/source/vbahelper/vbahelper.cxx +++ b/vbahelper/source/vbahelper/vbahelper.cxx @@ -535,7 +535,7 @@ XLRGBToOORGB( sal_Int32 nCol ) uno::Any OORGBToXLRGB( const uno::Any& aCol ) { - sal_Int32 nCol; + sal_Int32 nCol(0); aCol >>= nCol; nCol = OORGBToXLRGB( nCol ); return uno::makeAny( nCol ); @@ -543,7 +543,7 @@ OORGBToXLRGB( const uno::Any& aCol ) uno::Any XLRGBToOORGB( const uno::Any& aCol ) { - sal_Int32 nCol; + sal_Int32 nCol(0); aCol >>= nCol; nCol = XLRGBToOORGB( nCol ); return uno::makeAny( nCol ); |