diff options
author | Daniel Rentz <dr@openoffice.org> | 2010-06-16 14:12:43 +0200 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2010-06-16 14:12:43 +0200 |
commit | 00cb4072a3052e4dca32a39fb692f34a1d7e4d35 (patch) | |
tree | 206dd2364c7bbdb6bc1cc66c173a8cb6fc064841 /vbahelper | |
parent | 6ba182c5728c491af5a136c6b7ac1ca170e95066 (diff) |
mib16: unxmacxi compiler warnings
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/msforms/vbacontrol.cxx | 4 | ||||
-rw-r--r-- | vbahelper/source/vbahelper/vbafontbase.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx index 4222e3d299d0..82b68bbd5be7 100644 --- a/vbahelper/source/msforms/vbacontrol.cxx +++ b/vbahelper/source/msforms/vbacontrol.cxx @@ -258,8 +258,8 @@ void SAL_CALL ScVbaControl::SetFocus() throw (uno::RuntimeException) void SAL_CALL ScVbaControl::Move( double Left, double Top, const uno::Any& Width, const uno::Any& Height ) throw ( uno::RuntimeException ) { - double nWidth; - double nHeight; + double nWidth = 0.0; + double nHeight = 0.0; setLeft( Left ); setTop( Top ); diff --git a/vbahelper/source/vbahelper/vbafontbase.cxx b/vbahelper/source/vbahelper/vbafontbase.cxx index 3e84f55ef11a..065414343bd1 100644 --- a/vbahelper/source/vbahelper/vbafontbase.cxx +++ b/vbahelper/source/vbahelper/vbafontbase.cxx @@ -127,7 +127,7 @@ VbaFontBase::setSize( const uno::Any& aValue ) throw( uno::RuntimeException ) uno::Any aVal( aValue ); if( mbFormControl ) { - float fVal; + float fVal = 0.0; aVal >>= fVal; aVal <<= static_cast< sal_Int16 >( fVal ); } |