summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/PageMarginControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/sidebar/PageMarginControl.cxx')
-rw-r--r--sw/source/uibase/sidebar/PageMarginControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx
index ac6f5556e6db..2dc454cde2b7 100644
--- a/sw/source/uibase/sidebar/PageMarginControl.cxx
+++ b/sw/source/uibase/sidebar/PageMarginControl.cxx
@@ -170,7 +170,7 @@ PageMarginControl::PageMarginControl( sal_uInt16 nId, vcl::Window* pParent )
m_pLast->SetClickHdl( LINK( this, PageMarginControl, SelectMarginHdl ) );
get( m_pContainer, "container" );
- m_pWidthHeightField = VclPtr<MetricField>::Create( m_pContainer.get(), (WinBits)0 );
+ m_pWidthHeightField = VclPtr<MetricField>::Create( m_pContainer.get(), WinBits(0) );
m_pWidthHeightField->Hide();
m_pWidthHeightField->SetUnit( FUNIT_CM );
m_pWidthHeightField->SetMax( 9999 );