summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undostyl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undostyl.cxx')
-rw-r--r--sc/source/ui/undo/undostyl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undostyl.cxx b/sc/source/ui/undo/undostyl.cxx
index aaf2541462f7..a021422bdf25 100644
--- a/sc/source/ui/undo/undostyl.cxx
+++ b/sc/source/ui/undo/undostyl.cxx
@@ -91,7 +91,7 @@ static void lcl_DocStyleChanged( ScDocument* pDoc, SfxStyleSheetBase* pStyle, bo
//! move to document or docshell
ScopedVclPtrInstance< VirtualDevice > pVDev;
- Point aLogic = pVDev->LogicToPixel( Point(1000,1000), MAP_TWIP );
+ Point aLogic = pVDev->LogicToPixel( Point(1000,1000), MapUnit::MapTwip );
double nPPTX = aLogic.X() / 1000.0;
double nPPTY = aLogic.Y() / 1000.0;
Fraction aZoom(1,1);