summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/frmview.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-01-09 10:36:46 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-01-09 10:36:46 +0000
commitcb92da6a71a945037977bf9d40211be26b49e829 (patch)
treeb88812e6ec3283fd54bdf67f84def53dc0abc154 /sd/source/ui/view/frmview.cxx
parent2adb69dafdfa635761dc940966d6991233ea88c2 (diff)
INTEGRATION: CWS pj69 (1.32.2); FILE MERGED
2007/01/03 14:53:12 pjanik 1.32.2.1: #i73070#: Add initializations to prevent warnings.
Diffstat (limited to 'sd/source/ui/view/frmview.cxx')
-rw-r--r--sd/source/ui/view/frmview.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index f28d61713ef8..17971acf6edd 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: frmview.cxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: kz $ $Date: 2006-12-12 19:17:41 $
+ * last change: $Author: vg $ $Date: 2007-01-09 11:36:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -704,9 +704,9 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
{
const bool bImpress = dynamic_cast< SdDrawDocument* >(GetModel())->GetDocumentType() == DOCUMENT_TYPE_IMPRESS;
- sal_Bool bBool;
- sal_Int32 nInt32;
- sal_Int16 nInt16;
+ sal_Bool bBool = sal_False;
+ sal_Int32 nInt32 = 0;
+ sal_Int16 nInt16 = 0;
rtl::OUString aString;
sal_Int32 aSnapGridWidthXNum = GetSnapGridWidthX().GetNumerator();
@@ -885,7 +885,7 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
}
else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_VisibleAreaTop ) ) )
{
- sal_Int32 nTop;
+ sal_Int32 nTop = 0;
if( pValue->Value >>= nTop )
{
Rectangle aVisArea( GetVisArea() );
@@ -896,7 +896,7 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
}
else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_VisibleAreaLeft ) ) )
{
- sal_Int32 nLeft;
+ sal_Int32 nLeft = 0;
if( pValue->Value >>= nLeft )
{
Rectangle aVisArea( GetVisArea() );
@@ -907,7 +907,7 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
}
else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_VisibleAreaWidth ) ) )
{
- sal_Int32 nWidth;
+ sal_Int32 nWidth = 0;
if( pValue->Value >>= nWidth )
{
Rectangle aVisArea( GetVisArea() );
@@ -917,7 +917,7 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
}
else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_VisibleAreaHeight ) ) )
{
- sal_Int32 nHeight;
+ sal_Int32 nHeight = 0;
if( pValue->Value >>= nHeight )
{
Rectangle aVisArea( GetVisArea() );