diff options
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtww8.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 4d7229e4519b..63324ec652e6 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -1583,10 +1583,10 @@ void MSWordExportBase::BulletDefinitions() { for (size_t i = 0; i < m_vecBulletPic.size(); ++i) { - const MapMode aMapMode(MAP_TWIP); + const MapMode aMapMode(MapUnit::MapTwip); const Graphic& rGraphic = *m_vecBulletPic[i]; Size aSize(rGraphic.GetPrefSize()); - if (MAP_PIXEL == rGraphic.GetPrefMapMode().GetMapUnit()) + if (MapUnit::MapPixel == rGraphic.GetPrefMapMode().GetMapUnit()) aSize = Application::GetDefaultDevice()->PixelToLogic(aSize, aMapMode); else aSize = OutputDevice::LogicToLogic(aSize,rGraphic.GetPrefMapMode(), aMapMode); |