diff options
Diffstat (limited to 'svtools/source/contnr/svtabbx.cxx')
-rw-r--r-- | svtools/source/contnr/svtabbx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx index e33e31a5e421..4b07b1270426 100644 --- a/svtools/source/contnr/svtabbx.cxx +++ b/svtools/source/contnr/svtabbx.cxx @@ -132,7 +132,7 @@ void SvTabListBox::SetTabs(const long* pTabs, MapUnit eMapUnit) nTabCount = nCount; MapMode aMMSource( eMapUnit ); - MapMode aMMDest( MAP_PIXEL ); + MapMode aMMDest( MapUnit::MapPixel ); pTabs++; for( sal_uInt16 nIdx = 0; nIdx < nCount; nIdx++, pTabs++ ) @@ -155,7 +155,7 @@ void SvTabListBox::SetTab( sal_uInt16 nTab,long nValue,MapUnit eMapUnit ) { DBG_ASSERT(pTabList,"TabList?"); MapMode aMMSource( eMapUnit ); - MapMode aMMDest( MAP_PIXEL ); + MapMode aMMDest( MapUnit::MapPixel ); Size aSize( nValue, 0 ); aSize = LogicToLogic( aSize, &aMMSource, &aMMDest ); nValue = aSize.Width(); |