summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-04-17 13:36:24 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-04-17 13:55:42 +0200
commite05e77f4b7373b686f02cc51c7003e72efb07053 (patch)
treebc6b422312ff4f5f76ddea84ad527dbecf134124
parentcd2d737dd5b1d46261a9aa6c5caae57347a287af (diff)
fix UNO ZOrder reading
http://lists.freedesktop.org/archives/libreoffice/2012-April/030206.html
-rw-r--r--sw/source/core/unocore/unoframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index f8d2c905ef44..91c8d89a2aa9 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -1598,7 +1598,7 @@ uno::Any SwXFrame::getPropertyValue(const OUString& rPropertyName)
}
else if(FN_UNO_Z_ORDER == pEntry->nWID)
{
- const SdrObject* pObj = pFmt->FindRealSdrObject();
+ const SdrObject* pObj = pFmt->FindSdrObject();
if( pObj )
{
aAny <<= (sal_Int32)pObj->GetOrdNum();