diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-18 16:32:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-19 06:53:09 +0200 |
commit | 4105174973aaabc25148e53571b7a4fc356098de (patch) | |
tree | 7a5b9797fab59a6a33782435f5b29be6f5dc166f /framework | |
parent | 793246e1ae1266e8bd4261aa45dad40f5da16785 (diff) |
convert extended WinBits to scoped enum
Change-Id: If35f4fcda2415c858ba8f963e9f471c87169bc99
Reviewed-on: https://gerrit.libreoffice.org/41301
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/helper/tagwindowasmodified.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/taskcreatorsrv.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/helper/tagwindowasmodified.cxx b/framework/source/helper/tagwindowasmodified.cxx index b17dc129a242..bb2f3958cae8 100644 --- a/framework/source/helper/tagwindowasmodified.cxx +++ b/framework/source/helper/tagwindowasmodified.cxx @@ -95,9 +95,9 @@ void SAL_CALL TagWindowAsModified::modified(const css::lang::EventObject& aEvent return; if (bModified) - pWindow->SetExtendedStyle(WB_EXT_DOCMODIFIED); + pWindow->SetExtendedStyle(WindowExtendedStyle::DocModified); else - pWindow->SetExtendedStyle(0); + pWindow->SetExtendedStyle(WindowExtendedStyle::NONE); // <- SYNCHRONIZED } diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx index 13c5a5679bba..b6f6a7ff1920 100644 --- a/framework/source/services/taskcreatorsrv.cxx +++ b/framework/source/services/taskcreatorsrv.cxx @@ -202,7 +202,7 @@ void TaskCreatorService::implts_applyDocStyleToWindow(const css::uno::Reference< SolarMutexGuard aSolarGuard; VclPtr<vcl::Window> pVCLWindow = VCLUnoHelper::GetWindow(xWindow); if (pVCLWindow) - pVCLWindow->SetExtendedStyle(WB_EXT_DOCUMENT); + pVCLWindow->SetExtendedStyle(WindowExtendedStyle::Document); // <- SYNCHRONIZED } |