diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-01-13 21:09:42 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-01-18 08:42:51 +0100 |
commit | 9b15fee3b0ef2fb141fe7d40b488940d84724228 (patch) | |
tree | 386802c28384a173c17aec41a0b4ae0beb3d9848 | |
parent | 29760f5f7421c1addd5672147b66adaebb510bbb (diff) |
fixup: bring window to top and restore window when minimized
We're before the enum class cleanups...
Change-Id: Idcabdfb9d03258a3c4562c1e085929d4a853e411
-rw-r--r-- | framework/source/loadenv/loadenv.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index ab4010fadff5..ea4162cf1cd2 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -1665,7 +1665,7 @@ void LoadEnv::impl_makeFrameWindowVisible(const css::uno::Reference< css::awt::X } if( pWindow->IsVisible() && (bForceFrontAndFocus || bForceToFront) ) - pWindow->ToTop( ToTopFlags::RestoreWhenMin | ToTopFlags::ForegroundTask ); + pWindow->ToTop( TOTOP_RESTOREWHENMIN | TOTOP_FOREGROUNDTASK ); else pWindow->Show(true, (bForceFrontAndFocus || bForceToFront) ? SHOW_FOREGROUNDTASK : 0 ); } |