[Libreoffice-commits] .: binfilter/bf_svx
Joseph Powers
jpowers at kemper.freedesktop.org
Tue Jan 11 20:16:45 PST 2011
binfilter/bf_svx/source/unodraw/svx_unopage.cxx | 37 ++++++++++++++++++------
1 file changed, 28 insertions(+), 9 deletions(-)
New commits:
commit f83bfba4025843a53a51e34c01820fd272785961
Author: Joseph Powers <jpowers27 at cox.net>
Date: Tue Jan 11 20:16:40 2011 -0800
Remove DECLARE_LIST( SvxDrawPageList, SvxDrawPage * )
Also quite some compiler warnings.
diff --git a/binfilter/bf_svx/source/unodraw/svx_unopage.cxx b/binfilter/bf_svx/source/unodraw/svx_unopage.cxx
index 0ef3568..f9a9a8f 100644
--- a/binfilter/bf_svx/source/unodraw/svx_unopage.cxx
+++ b/binfilter/bf_svx/source/unodraw/svx_unopage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -71,8 +71,6 @@ using rtl::OUString;
if( rType == ::getCppuType((const Reference< xint >*)0) ) \
aAny <<= Reference< xint >(this)
-DECLARE_LIST( SvxDrawPageList, SvxDrawPage * )//STRIP008 ;
-
extern SfxItemPropertyMap* ImplGetSvxOle2PropertyMap();
extern SfxItemPropertyMap* ImplGetSvxPageShapePropertyMap();
@@ -134,6 +132,27 @@ void SvxDrawPage::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
}
}
break;
+ case HINT_UNKNOWN:
+ case HINT_LAYERCHG:
+ case HINT_LAYERORDERCHG:
+ case HINT_LAYERSETCHG:
+ case HINT_LAYERSETORDERCHG:
+ case HINT_PAGECHG:
+ case HINT_OBJCHG:
+ case HINT_OBJINSERTED:
+ case HINT_OBJREMOVED:
+ case HINT_OBJLISTCLEARED:
+ case HINT_REFDEVICECHG:
+ case HINT_DEFAULTTABCHG:
+ case HINT_DEFFONTHGTCHG:
+ case HINT_MODELSAVED:
+ case HINT_CONTROLINSERTED:
+ case HINT_CONTROLREMOVED:
+ case HINT_SWITCHTOPAGE:
+ case HINT_OBJLISTCLEAR:
+ case HINT_BEGEDIT:
+ case HINT_ENDEDIT:
+ break;
}
}
@@ -237,7 +256,7 @@ uno::Any SAL_CALL SvxDrawPage::getByIndex( sal_Int32 Index )
if( pObj == NULL )
throw uno::RuntimeException();
-
+
return makeAny(Reference< drawing::XShape >( pObj->getUnoShape(), uno::UNO_QUERY ));
}
@@ -438,7 +457,7 @@ SdrObject *SvxDrawPage::_CreateSdrObject( const Reference< drawing::XShape > & x
// To avoid that CreateGeometry(...) sets the DoubleSided
// item at once, use a closed poylgon.
aNewP.SetClosed(TRUE);
-
+
PolyPolygon3D aNewPP(aNewP);
pObj->SetExtrudePolygon(aNewPP);
@@ -452,12 +471,12 @@ SdrObject *SvxDrawPage::_CreateSdrObject( const Reference< drawing::XShape > & x
aNewP[0] = Vector3D(0,0,0);
aNewP[1] = Vector3D(0,1,0);
aNewP[2] = Vector3D(1,0,0);
-
+
// #87922#
// To avoid that CreateGeometry(...) sets the DoubleSided
// item at once, use a closed poylgon.
aNewP.SetClosed(TRUE);
-
+
PolyPolygon3D aNewPP(aNewP);
pObj->SetPolyPoly3D(aNewPP);
@@ -631,8 +650,8 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt3
{
const SvGlobalName aClassId( pInfo->GetClassName() );
- const SvGlobalName aAppletClassId( SO3_APPLET_CLASSID ); //STRIP003
- const SvGlobalName aPluginClassId( SO3_PLUGIN_CLASSID ); //STRIP003
+ const SvGlobalName aAppletClassId( SO3_APPLET_CLASSID ); //STRIP003
+ const SvGlobalName aPluginClassId( SO3_PLUGIN_CLASSID ); //STRIP003
const SvGlobalName aIFrameClassId( BF_SO3_IFRAME_CLASSID );
if( aPluginClassId == aClassId )
More information about the Libreoffice-commits
mailing list