diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-15 18:32:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-16 08:17:02 +0100 |
commit | 1133c399ff7a5d33c5351f776cc24d3b48592eba (patch) | |
tree | 7ee69cc6ac8908d2c5115cfca7132fad232660db /include/vbahelper | |
parent | 5dcbd1bb557450a2d658a710c163b310c0cee157 (diff) |
Revert "loplugin:constfields in vbahelper"
This reverts commit cc34b5a4c2d231de3882508654f15765d29f44c9.
Change-Id: I891826d88dd4e8bc8e6896889f4c1880c798080f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90543
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vbahelper')
-rw-r--r-- | include/vbahelper/vbacollectionimpl.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbadialogbase.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbadocumentsbase.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbaeventshelperbase.hxx | 4 | ||||
-rw-r--r-- | include/vbahelper/vbafontbase.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbahelper.hxx | 6 | ||||
-rw-r--r-- | include/vbahelper/vbashape.hxx | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index 05c9e37bf638..73058d0f4b7c 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -238,7 +238,7 @@ typedef InheritedHelperInterfaceImpl< Ifc... > BaseColBase; protected: css::uno::Reference< css::container::XIndexAccess > m_xIndexAccess; css::uno::Reference< css::container::XNameAccess > m_xNameAccess; - bool const mbIgnoreCase; + bool mbIgnoreCase; /// @throws css::uno::RuntimeException virtual css::uno::Any getItemByStringIndex( const OUString& sIndex ) diff --git a/include/vbahelper/vbadialogbase.hxx b/include/vbahelper/vbadialogbase.hxx index c5578f10d009..4c7a2636917a 100644 --- a/include/vbahelper/vbadialogbase.hxx +++ b/include/vbahelper/vbadialogbase.hxx @@ -45,7 +45,7 @@ typedef InheritedHelperInterfaceWeakImpl< ov::XDialogBase > VbaDialogBase_BASE; class VBAHELPER_DLLPUBLIC VbaDialogBase : public VbaDialogBase_BASE { protected: - sal_Int32 const mnIndex; + sal_Int32 mnIndex; css::uno::Reference< css::frame::XModel > m_xModel; public: VbaDialogBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::frame::XModel >& xModel, sal_Int32 nIndex ):VbaDialogBase_BASE( xParent, xContext ), mnIndex( nIndex ), m_xModel( xModel ) {} diff --git a/include/vbahelper/vbadocumentsbase.hxx b/include/vbahelper/vbadocumentsbase.hxx index 6530d734a0c9..ac6d316a0256 100644 --- a/include/vbahelper/vbadocumentsbase.hxx +++ b/include/vbahelper/vbadocumentsbase.hxx @@ -56,7 +56,7 @@ public: }; private: - DOCUMENT_TYPE const meDocType; + DOCUMENT_TYPE meDocType; public: /// @throws css::uno::RuntimeException diff --git a/include/vbahelper/vbaeventshelperbase.hxx b/include/vbahelper/vbaeventshelperbase.hxx index f1bf3a805da9..91c8bf72c7c5 100644 --- a/include/vbahelper/vbaeventshelperbase.hxx +++ b/include/vbahelper/vbaeventshelperbase.hxx @@ -119,8 +119,8 @@ protected: struct EventQueueEntry { - sal_Int32 const mnEventId; - css::uno::Sequence< css::uno::Any > const maArgs; + sal_Int32 mnEventId; + css::uno::Sequence< css::uno::Any > maArgs; /*implicit*/ EventQueueEntry( sal_Int32 nEventId ) : mnEventId( nEventId ) {} EventQueueEntry( sal_Int32 nEventId, const css::uno::Sequence< css::uno::Any >& rArgs ) : mnEventId( nEventId ), maArgs( rArgs ) {} }; diff --git a/include/vbahelper/vbafontbase.hxx b/include/vbahelper/vbafontbase.hxx index d12e13ddfbf1..32c8270e1783 100644 --- a/include/vbahelper/vbafontbase.hxx +++ b/include/vbahelper/vbafontbase.hxx @@ -47,7 +47,7 @@ class VBAHELPER_DLLPUBLIC VbaFontBase : public VbaFontBase_BASE protected: css::uno::Reference< css::beans::XPropertySet > mxFont; css::uno::Reference< css::container::XIndexAccess > mxPalette; - bool const mbFormControl; + bool mbFormControl; public: // use local constants there is no need to expose these constants diff --git a/include/vbahelper/vbahelper.hxx b/include/vbahelper/vbahelper.hxx index d130c4e6ea1c..f56b34730c08 100644 --- a/include/vbahelper/vbahelper.hxx +++ b/include/vbahelper/vbahelper.hxx @@ -241,9 +241,9 @@ private: css::uno::Reference< css::awt::XWindow > mxWindow; css::uno::Reference< css::beans::XPropertySet > mxModelProps; css::uno::Reference< css::awt::XUnitConversion > mxUnitConv; - double const mfOffsetX; - double const mfOffsetY; - bool const mbDialog; + double mfOffsetX; + double mfOffsetY; + bool mbDialog; }; class VBAHELPER_DLLPUBLIC ContainerUtilities diff --git a/include/vbahelper/vbashape.hxx b/include/vbahelper/vbashape.hxx index 59581dfe81ee..8c723f3d2cd5 100644 --- a/include/vbahelper/vbashape.hxx +++ b/include/vbahelper/vbashape.hxx @@ -64,7 +64,7 @@ protected: css::uno::Reference< css::drawing::XShape > m_xShape; css::uno::Reference< css::drawing::XShapes > m_xShapes; css::uno::Reference< css::beans::XPropertySet > m_xPropertySet; - sal_Int32 const m_nType; + sal_Int32 m_nType; css::uno::Reference< css::frame::XModel > m_xModel; void addListeners(); /// @throws css::uno::RuntimeException |