diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 19:08:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 10:44:08 +0000 |
commit | 8c00536d87010b14a95e9c81f2f5f1d683e5fa70 (patch) | |
tree | 92ac779cef9c4f5adb1421f8eee51a301dc8ef61 /vcl/source/control/fixed.cxx | |
parent | 5815ca4ef1126140e08f3a1d106bcadc41044505 (diff) |
Convert WindowType to scoped enum
Change-Id: I85cfe02f28729e13f2c0dd3d91cd89e6f3e3b6a9
Reviewed-on: https://gerrit.libreoffice.org/34219
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/fixed.cxx')
-rw-r--r-- | vcl/source/control/fixed.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index 46d1299d93a8..da3202945acf 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -105,7 +105,7 @@ const Color& FixedText::GetCanonicalTextColor( const StyleSettings& _rStyle ) co } FixedText::FixedText( vcl::Window* pParent, WinBits nStyle ) - : Control(WINDOW_FIXEDTEXT) + : Control(WindowType::FIXEDTEXT) , m_nMaxWidthChars(-1) , m_nMinWidthChars(-1) , m_pMnemonicWindow(nullptr) @@ -567,7 +567,7 @@ void FixedLine::ImplDraw(vcl::RenderContext& rRenderContext) } FixedLine::FixedLine( vcl::Window* pParent, WinBits nStyle ) : - Control( WINDOW_FIXEDLINE ) + Control( WindowType::FIXEDLINE ) { ImplInit( pParent, nStyle ); SetSizePixel( Size( 2, 2 ) ); @@ -690,7 +690,7 @@ WinBits FixedBitmap::ImplInitStyle( WinBits nStyle ) } FixedBitmap::FixedBitmap( vcl::Window* pParent, WinBits nStyle ) : - Control( WINDOW_FIXEDBITMAP ) + Control( WindowType::FIXEDBITMAP ) { ImplInit( pParent, nStyle ); } @@ -827,7 +827,7 @@ WinBits FixedImage::ImplInitStyle( WinBits nStyle ) } FixedImage::FixedImage( vcl::Window* pParent, WinBits nStyle ) : - Control( WINDOW_FIXEDIMAGE ) + Control( WindowType::FIXEDIMAGE ) { ImplInit( pParent, nStyle ); } |