framework/source/loadenv/loadenv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2417f4dbb1d9696c57ba1f84eb8d79d4160b199a Author: Thorsten Behrens <thorsten.behr...@cib.de> Date: Fri Jan 13 21:09:42 2017 +0100 fixup: bring window to top and restore window when minimized We're before the enum class cleanups... Change-Id: Idcabdfb9d03258a3c4562c1e085929d4a853e411 diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index ab4010f..ea4162c 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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits