summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/childwin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-08 14:57:27 +0200
committerNoel Grandin <noel@peralex.com>2015-01-09 10:05:29 +0200
commitcd9e2ecba38c31eb30e05d3ee2c9f4629dd89d40 (patch)
treee52ccc812e8b8bdef327b660a0157ec645069567 /sfx2/source/appl/childwin.cxx
parent078fd7446e1681b671b58d7fcbbce8d2a9b05132 (diff)
fdo#84938: replace SYSTEMWINDOW_MODE constants with 'enum class'
Change-Id: I1c761482cb78efc26d3beda75381557268e1bc0d
Diffstat (limited to 'sfx2/source/appl/childwin.cxx')
-rw-r--r--sfx2/source/appl/childwin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index ea502805cd58..1e870c8a571b 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -209,7 +209,7 @@ SfxChildWindow* SfxChildWindow::CreateChildWindow( sal_uInt16 nId,
{
SfxChildWindow *pChild=0;
SfxChildWinFactory* pFact=0;
- sal_uInt16 nOldMode = Application::GetSystemWindowMode();
+ SystemWindowFlags nOldMode = Application::GetSystemWindowMode();
// First search for ChildWindow in SDT; Overlay windows are realized
// by using ChildWindowContext
@@ -227,7 +227,7 @@ SfxChildWindow* SfxChildWindow::CreateChildWindow( sal_uInt16 nId,
if ( pBindings )
pBindings->ENTERREGISTRATIONS();
SfxChildWinInfo aInfo = rFactInfo;
- Application::SetSystemWindowMode( SYSTEMWINDOW_MODE_NOAUTOMODE );
+ Application::SetSystemWindowMode( SystemWindowFlags::NOAUTOMODE );
pChild = pFact->pCtor( pParent, nId, pBindings, &aInfo );
Application::SetSystemWindowMode( nOldMode );
if ( pBindings )
@@ -258,7 +258,7 @@ SfxChildWindow* SfxChildWindow::CreateChildWindow( sal_uInt16 nId,
if ( pBindings )
pBindings->ENTERREGISTRATIONS();
SfxChildWinInfo aInfo = rFactInfo;
- Application::SetSystemWindowMode( SYSTEMWINDOW_MODE_NOAUTOMODE );
+ Application::SetSystemWindowMode( SystemWindowFlags::NOAUTOMODE );
pChild = pFact->pCtor( pParent, nId, pBindings, &aInfo );
Application::SetSystemWindowMode( nOldMode );
if ( pBindings )