diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-16 08:46:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-16 09:38:24 +0100 |
commit | 6a7a0ac6aa50d6f90263c72fcfb42a6451fb841a (patch) | |
tree | 9a91e8e70d00fbc6ed2e8e975358931638f57aac /vcl/source/window | |
parent | 3621c927b4555cb437fb89d28473228cb5d8e11a (diff) |
Revert "loplugin:constfields in vcl"
This reverts commit 59887868da3499c68d5f259cfa48178354397448.
Change-Id: I0f3f6a7680c78103a559a0f881badc8211b97ace
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90544
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/debugevent.cxx | 6 | ||||
-rw-r--r-- | vcl/source/window/dockmgr.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/dockwin.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/errinf.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/layout.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/menuitemlist.hxx | 2 | ||||
-rw-r--r-- | vcl/source/window/paint.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 2 |
8 files changed, 12 insertions, 12 deletions
diff --git a/vcl/source/window/debugevent.cxx b/vcl/source/window/debugevent.cxx index f6fa5d8c0882..c28cd84f8d2f 100644 --- a/vcl/source/window/debugevent.cxx +++ b/vcl/source/window/debugevent.cxx @@ -133,7 +133,7 @@ void DebugEventInjector::InjectTextEvent() { static struct { sal_uInt16 nCodeStart, nCodeEnd; - char const aCharStart; + char aCharStart; } const nTextCodes[] = { { KEY_0, KEY_9, '0' }, { KEY_A, KEY_Z, 'a' } @@ -186,8 +186,8 @@ void DebugEventInjector::InjectKeyNavEdit() vcl::Window *pWindow = ChooseWindow(); static struct { - double const mnProb; - sal_uInt16 const mnKey; + double mnProb; + sal_uInt16 mnKey; } const nWeights[] = { // edit / escape etc. - 50% { 0.20, KEY_SPACE }, diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx index b81741108d28..4cd3482cd7b7 100644 --- a/vcl/source/window/dockmgr.cxx +++ b/vcl/source/window/dockmgr.cxx @@ -41,7 +41,7 @@ class ImplDockFloatWin2 : public FloatingWindow { private: ImplDockingWindowWrapper* mpDockWin; - sal_uInt64 const mnLastTicks; + sal_uInt64 mnLastTicks; Timer m_aDockTimer; Timer m_aEndDockTimer; Point maDockPos; @@ -408,7 +408,7 @@ tools::Rectangle DockingManager::GetPosSizePixel( const vcl::Window *pWindow ) class ImplPopupFloatWin : public FloatingWindow { private: - bool const mbToolBox; + bool mbToolBox; public: ImplPopupFloatWin( vcl::Window* pParent, bool bToolBox ); diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx index 411de5bfc526..8fc7937d6ec4 100644 --- a/vcl/source/window/dockwin.cxx +++ b/vcl/source/window/dockwin.cxx @@ -56,7 +56,7 @@ class ImplDockFloatWin : public FloatingWindow { private: VclPtr<DockingWindow> mpDockWin; - sal_uInt64 const mnLastTicks; + sal_uInt64 mnLastTicks; Idle maDockIdle; Point maDockPos; tools::Rectangle maDockRect; diff --git a/vcl/source/window/errinf.cxx b/vcl/source/window/errinf.cxx index 1f4a60f70dca..5307d60df716 100644 --- a/vcl/source/window/errinf.cxx +++ b/vcl/source/window/errinf.cxx @@ -229,7 +229,7 @@ private: static std::unique_ptr<ErrorInfo> GetDynamicErrorInfo(ErrCode nId); ErrCode nErrId; - DialogMask const nMask; + DialogMask nMask; }; diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 75a6171f5b50..c8817699d39a 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -692,7 +692,7 @@ namespace { struct ButtonOrder { const char* m_aType; - int const m_nPriority; + int m_nPriority; }; } @@ -744,7 +744,7 @@ namespace { class sortButtons { - bool const m_bVerticalContainer; + bool m_bVerticalContainer; public: explicit sortButtons(bool bVerticalContainer) : m_bVerticalContainer(bVerticalContainer) diff --git a/vcl/source/window/menuitemlist.hxx b/vcl/source/window/menuitemlist.hxx index 5f8ad813b3cf..8ca4b415980f 100644 --- a/vcl/source/window/menuitemlist.hxx +++ b/vcl/source/window/menuitemlist.hxx @@ -53,7 +53,7 @@ struct MenuItemData bool bIsTemporary; // Temporary inserted ('No selection possible') bool bHiddenOnGUI; Size aSz; // only temporarily valid - OUString const aAccessibleName; // accessible name + OUString aAccessibleName; // accessible name std::unique_ptr<SalMenuItem> pSalMenuItem; // access to native menu diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx index 9f110e600a31..33cddf352ce4 100644 --- a/vcl/source/window/paint.cxx +++ b/vcl/source/window/paint.cxx @@ -169,7 +169,7 @@ private: tools::Rectangle m_aSelectionRect; tools::Rectangle m_aPaintRect; vcl::Region m_aPaintRegion; - ImplPaintFlags const m_nPaintFlags; + ImplPaintFlags m_nPaintFlags; bool m_bPop : 1; bool m_bRestoreCursor : 1; bool m_bStartedBufferedPaint : 1; ///< This PaintHelper started a buffered paint, and should paint it on the screen when being destructed. diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index a9e4503024fc..e0fad45bf34f 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -1338,7 +1338,7 @@ class HandleGestureEventBase protected: ImplSVData* m_pSVData; VclPtr<vcl::Window> m_pWindow; - Point const m_aMousePos; + Point m_aMousePos; public: HandleGestureEventBase(vcl::Window *pWindow, const Point &rMousePos) |