diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-08 14:57:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-09 10:05:29 +0200 |
commit | cd9e2ecba38c31eb30e05d3ee2c9f4629dd89d40 (patch) | |
tree | e52ccc812e8b8bdef327b660a0157ec645069567 /desktop/source/app | |
parent | 078fd7446e1681b671b58d7fcbbce8d2a9b05132 (diff) |
fdo#84938: replace SYSTEMWINDOW_MODE constants with 'enum class'
Change-Id: I1c761482cb78efc26d3beda75381557268e1bc0d
Diffstat (limited to 'desktop/source/app')
-rw-r--r-- | desktop/source/app/app.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index d861111bfd58..2118fccf1bb6 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1207,8 +1207,8 @@ sal_uInt16 Desktop::Exception(sal_uInt16 nError) // protect against recursive calls static bool bInException = false; - sal_uInt16 nOldMode = Application::GetSystemWindowMode(); - Application::SetSystemWindowMode( nOldMode & ~SYSTEMWINDOW_MODE_NOAUTOMODE ); + SystemWindowFlags nOldMode = Application::GetSystemWindowMode(); + Application::SetSystemWindowMode( nOldMode & ~SystemWindowFlags::NOAUTOMODE ); Application::SetDefDialogParent( NULL ); if ( bInException ) @@ -1576,7 +1576,7 @@ int Desktop::Main() SetSplashScreenProgress(75); // use system window dialogs - Application::SetSystemWindowMode( SYSTEMWINDOW_MODE_DIALOG ); + Application::SetSystemWindowMode( SystemWindowFlags::DIALOG ); SetSplashScreenProgress(80); |