summaryrefslogtreecommitdiff
path: root/framework/source/tabwin
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-22 12:49:04 +0200
committerNoel Grandin <noel@peralex.com>2015-05-25 10:31:35 +0200
commitb419da0f53cf7f65b1d0c58351176ece23fbfe1f (patch)
treeb29c038348d6aae8e5ec9c0c97ed8eeb41f5cd67 /framework/source/tabwin
parentacf5049188e1be0ededc70f9bbedaa0032610680 (diff)
convert SHOW constants to scoped enum
Change-Id: I2712a0901049885502cade31f9757f712048bb33
Diffstat (limited to 'framework/source/tabwin')
-rw-r--r--framework/source/tabwin/tabwindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/tabwin/tabwindow.cxx b/framework/source/tabwin/tabwindow.cxx
index 44c87bb48300..8e8d81427116 100644
--- a/framework/source/tabwin/tabwindow.cxx
+++ b/framework/source/tabwin/tabwindow.cxx
@@ -393,12 +393,12 @@ throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
pWindow = VCLUnoHelper::GetWindow( xContainerWindow );
if ( pWindow )
- pWindow->Show( true, SHOW_NOFOCUSCHANGE | SHOW_NOACTIVATE );
+ pWindow->Show( true, ShowFlags::NoFocusChange | ShowFlags::NoActivate );
pWindow = VCLUnoHelper::GetWindow( xTabControl );
if ( pWindow )
{
- pWindow->Show( true, SHOW_NOFOCUSCHANGE | SHOW_NOACTIVATE );
+ pWindow->Show( true, ShowFlags::NoFocusChange | ShowFlags::NoActivate );
TabControl* pTabControl = static_cast<TabControl *>(pWindow);
pTabControl->SetActivatePageHdl( LINK( this, TabWindow, Activate ));
pTabControl->SetDeactivatePageHdl( LINK( this, TabWindow, Deactivate ));