From e05e77f4b7373b686f02cc51c7003e72efb07053 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 17 Apr 2012 13:36:24 +0200 Subject: fix UNO ZOrder reading http://lists.freedesktop.org/archives/libreoffice/2012-April/030206.html --- sw/source/core/unocore/unoframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit