diff options
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 9b8eb6fc53e6..57f04b0f1492 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1617,7 +1617,7 @@ WatchWindow::WatchWindow (Layout* pParent) : tabs[ 1 ] = 0; tabs[ 2 ] = nVarTabWidth; tabs[ 3 ] = nVarTabWidth + nValueTabWidth; - aTreeListBox->SvHeaderTabListBox::SetTabs( tabs, MAP_PIXEL ); + aTreeListBox->SvHeaderTabListBox::SetTabs( tabs, MapUnit::MapPixel ); aTreeListBox->InitHeaderBar( aHeaderBar.get() ); aTreeListBox->SetNodeDefaultImages( ); @@ -1802,7 +1802,7 @@ IMPL_LINK_NOARG( WatchWindow, implEndDragHdl, HeaderBar *, void ) for( sal_uInt16 i = 1 ; i < nTabs ; ++i ) { nPos += aHeaderBar->GetItemSize( i ); - aTreeListBox->SetTab( i, nPos, MAP_PIXEL ); + aTreeListBox->SetTab( i, nPos, MapUnit::MapPixel ); } } |