diff options
Diffstat (limited to 'sfx2/source/doc/objembed.cxx')
-rw-r--r-- | sfx2/source/doc/objembed.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/objembed.cxx b/sfx2/source/doc/objembed.cxx index 66a30a052029..e190f3a05760 100644 --- a/sfx2/source/doc/objembed.cxx +++ b/sfx2/source/doc/objembed.cxx @@ -100,7 +100,7 @@ Rectangle SfxObjectShell::GetVisArea( sal_uInt16 nAspect ) const { Rectangle aRect; aRect.SetSize( OutputDevice::LogicToLogic( Size( 5000, 5000 ), - MAP_100TH_MM, GetMapUnit() ) ); + MapUnit::Map100thMM, GetMapUnit() ) ); return aRect; } return Rectangle(); @@ -162,7 +162,7 @@ void SfxObjectShell::FillTransferableObjectDescriptor( TransferableObjectDescrip rDesc.mnViewAspect = ASPECT_CONTENT; rDesc.mnOle2Misc = GetMiscStatus(); - rDesc.maSize = OutputDevice::LogicToLogic( GetVisArea().GetSize(), GetMapUnit(), MAP_100TH_MM ); + rDesc.maSize = OutputDevice::LogicToLogic( GetVisArea().GetSize(), GetMapUnit(), MapUnit::Map100thMM ); rDesc.maDragStartPos = Point(); rDesc.maDisplayName.clear(); } |