summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unoobj.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-05-26 14:41:36 +0100
committerCaolán McNamara <cmc@openoffice.org>2010-05-26 14:41:36 +0100
commit3aeb392ea0c3ee5f767111edd40846bc6d0f8e3a (patch)
tree0d21d57f29196ad02f8b34b6f32f2a750cd67d3e /sd/source/ui/unoidl/unoobj.cxx
parent6fa5ce64874261d246d5c1048e826c6d4325379c (diff)
parent2aecae584fd3d481a57c544218c71272217b5de2 (diff)
cmcfixes74: merge with DEV300 m79
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 54c3f88a6916..d4ea1dce196f 100644
--- a/sd/source/ui/unoidl/unoobj.cxx
+++ b/sd/source/ui/unoidl/unoobj.cxx
@@ -737,22 +737,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);
}
@@ -910,30 +894,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;