summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlsect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlsect.cxx')
-rw-r--r--sw/source/filter/html/htmlsect.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlsect.cxx b/sw/source/filter/html/htmlsect.cxx
index 7b8d2c8ed2ae..767d86378e26 100644
--- a/sw/source/filter/html/htmlsect.cxx
+++ b/sw/source/filter/html/htmlsect.cxx
@@ -603,7 +603,7 @@ void SwHTMLParser::NewMultiCol( sal_uInt16 columnsFromCss )
{
nTwipWidth = Application::GetDefaultDevice()
->PixelToLogic( Size(nWidth, 0),
- MapMode(MAP_TWIP) ).Width();
+ MapMode(MapUnit::MapTwip) ).Width();
}
if( !nPrcWidth && nTwipWidth < MINFLY )
@@ -694,7 +694,7 @@ void SwHTMLParser::NewMultiCol( sal_uInt16 columnsFromCss )
{
nGutter = (sal_uInt16)Application::GetDefaultDevice()
->PixelToLogic( Size(nGutter, 0),
- MapMode(MAP_TWIP) ).Width();
+ MapMode(MapUnit::MapTwip) ).Width();
}
SwFormatCol aFormatCol;