summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2010-06-16 14:12:43 +0200
committerDaniel Rentz <dr@openoffice.org>2010-06-16 14:12:43 +0200
commita0121b284c1d83703f2277427e76b8322104a8d4 (patch)
treeb09d6a8fde18c43c1fd796e946d2447f743b2785 /vbahelper
parent6a73ef518f2d30e508638c3420b28548c8e0870c (diff)
mib16: unxmacxi compiler warnings
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/msforms/vbacontrol.cxx4
-rw-r--r--vbahelper/source/vbahelper/vbafontbase.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx
index fa857c7730..7485073321 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 f0ffcbf2ab..9b931a5462 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 );
}