summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unoobj.cxx
diff options
context:
space:
mode:
authorsj <sj@openoffice.org>2010-06-04 22:30:37 +0200
committersj <sj@openoffice.org>2010-06-04 22:30:37 +0200
commit622fd52d858122833afb1ccd34bba38d231339fc (patch)
tree35e37e01ce77799b174edb9f3c6252cda20f1ff0 /sd/source/ui/unoidl/unoobj.cxx
parent1663bdaf45e1558d2801e6bc1fdf9d090abc7078 (diff)
parent38c1d35d15a0adc980c2355ff97ce327645cd954 (diff)
impress190: merge with dev300_m80
Diffstat (limited to 'sd/source/ui/unoidl/unoobj.cxx')
-rw-r--r--sd/source/ui/unoidl/unoobj.cxx40
1 files changed, 0 insertions, 40 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx
index fdda65a3d970..f31c960d432d 100644
--- a/sd/source/ui/unoidl/unoobj.cxx
+++ b/sd/source/ui/unoidl/unoobj.cxx
@@ -729,22 +729,6 @@ void SAL_CALL SdXShape::setPropertyValue( const ::rtl::OUString& aPropertyName,
aAny <<= aName;
}
}
- else if( aPropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_shape_zorder ) ) )
- {
- SdrObject* pObj = mpShape->GetSdrObject();
- SdPage* pPage = pObj ? (SdPage*)pObj->GetPage() : NULL;
- if( pPage && pPage == pObj->GetObjList() && pPage->IsMasterPage() && pPage->GetPageKind() == PK_STANDARD )
- {
- sal_Int32 nOrdNum;
- if( aAny >>= nOrdNum )
- {
- // if this is a masterpage, there is always a background shape with the ord num 0
- // so we add one to the api ordnum to hide the background shape over the api
- nOrdNum++;
- aAny <<= nOrdNum;
- }
- }
- }
mpShape->_setPropertyValue(aPropertyName, aAny);
}
@@ -902,30 +886,6 @@ void SAL_CALL SdXShape::setPropertyValue( const ::rtl::OUString& aPropertyName,
aRet <<= aName;
}
}
- else if( PropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_shape_zorder ) ) )
- {
- SdrObject* pObj = mpShape->GetSdrObject();
- SdPage* pPage = pObj ? (SdPage*)pObj->GetPage() : NULL;
- if( pPage && pPage == pObj->GetObjList() && pPage->IsMasterPage() && pPage->GetPageKind() == PK_STANDARD )
- {
- sal_Int32 nOrdNum;
- if( aRet >>= nOrdNum )
- {
- // if this is a masterpage, there is always a background shape with the ord num 0
- // so we add one to the api ordnum to hide the background shape over the api
- if( nOrdNum > 0 )
- {
- nOrdNum--;
- aRet <<= nOrdNum;
- }
- else
- {
- DBG_ERROR( "Masterpage without a background shape, ZOrder property will be corrupt!" );
- }
- }
- }
- }
-
}
return aRet;