diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-17 13:36:24 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-17 13:55:42 +0200 |
commit | e05e77f4b7373b686f02cc51c7003e72efb07053 (patch) | |
tree | bc6b422312ff4f5f76ddea84ad527dbecf134124 /sw | |
parent | cd2d737dd5b1d46261a9aa6c5caae57347a287af (diff) |
fix UNO ZOrder reading
http://lists.freedesktop.org/archives/libreoffice/2012-April/030206.html
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 2 |
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(); |