summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-29 10:16:29 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-29 10:16:29 +0000
commit0ace6c887840afbb73cb5c9cc3055691884c2614 (patch)
treedd6fe16245d8e538f361a18cb089fe0b4b9a7bce /sfx2
parentd805e08cc67856e79d1433cd1985b79ab385cc31 (diff)
INTEGRATION: CWS warningfixes03_SRC680 (1.6.86); FILE MERGED
2006/08/18 15:03:42 mhu 1.6.86.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/iframe.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index c566f85d12a2..70b407b94563 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: iframe.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 22:28:34 $
+ * last change: $Author: ihi $ $Date: 2006-08-29 11:16:29 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -237,25 +237,25 @@ void SAL_CALL IFrameObject::setPropertyValue(const ::rtl::OUString& aPropertyNam
}
else if ( aPropertyName.equalsAscii("FrameIsAutoScroll") )
{
- sal_Bool bIsAutoScroll;
+ sal_Bool bIsAutoScroll = sal_Bool();
if ( (aAny >>= bIsAutoScroll) && bIsAutoScroll )
maFrmDescr.SetScrollingMode( ScrollingAuto );
}
else if ( aPropertyName.equalsAscii("FrameIsScrollingMode") )
{
- sal_Bool bIsScroll;
+ sal_Bool bIsScroll = sal_Bool();
if ( aAny >>= bIsScroll )
maFrmDescr.SetScrollingMode( bIsScroll ? ScrollingYes : ScrollingNo );
}
else if ( aPropertyName.equalsAscii("FrameIsBorder") )
{
- sal_Bool bIsBorder;
+ sal_Bool bIsBorder = sal_Bool();
if ( aAny >>= bIsBorder )
maFrmDescr.SetFrameBorder( bIsBorder );
}
else if ( aPropertyName.equalsAscii("FrameIsAutoBorder") )
{
- sal_Bool bIsAutoBorder;
+ sal_Bool bIsAutoBorder = sal_Bool();
if ( (aAny >>= bIsAutoBorder) )
{
BOOL bBorder = maFrmDescr.IsFrameBorderOn();