summaryrefslogtreecommitdiff
path: root/sw/source/core/ole/ndole.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/ole/ndole.cxx')
-rw-r--r--sw/source/core/ole/ndole.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index e0131579c99c..a36e584583cf 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -890,7 +890,7 @@ const uno::Reference < embed::XEmbeddedObject > SwOLEObj::GetOleRef()
SwFrame *pFrame = m_pOLENode->getLayoutFrame(nullptr);
if ( pFrame )
{
- Size aSz( pFrame->Frame().SSize() );
+ Size aSz( pFrame->getSwFrame().SSize() );
const MapMode aSrc ( MapUnit::MapTwip );
const MapMode aDest( MapUnit::Map100thMM );
aSz = OutputDevice::LogicToLogic( aSz, aSrc, aDest );