diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-01 13:01:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-01 20:58:11 +0200 |
commit | 581efdec36787dc5e378e54d13e7328fddcf3a50 (patch) | |
tree | 29f04e719f8402028a4e26088a8ea825ebe9fdca /toolkit | |
parent | e512b53ef8ae7945131876d32121fdbbdeb1de35 (diff) |
loplugin:constmethod
Change-Id: I3ed657c5c5e6840e38e3c8505505b4b372125df0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122910
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/stylesettings.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/stylesettings.hxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/awt/stylesettings.cxx b/toolkit/source/awt/stylesettings.cxx index d978fe2799e7..75c2b687d2d6 100644 --- a/toolkit/source/awt/stylesettings.cxx +++ b/toolkit/source/awt/stylesettings.cxx @@ -111,7 +111,7 @@ namespace toolkit } - sal_Int32 WindowStyleSettings::ImplGetStyleColor( Color const & (StyleSettings::*i_pGetter)() const ) + sal_Int32 WindowStyleSettings::ImplGetStyleColor( Color const & (StyleSettings::*i_pGetter)() const ) const { const VclPtr<vcl::Window>& pWindow = pOwningWindow->GetWindow(); const AllSettings aAllSettings = pWindow->GetSettings(); @@ -129,7 +129,7 @@ namespace toolkit pWindow->SetSettings( aAllSettings ); } - FontDescriptor WindowStyleSettings::ImplGetStyleFont( vcl::Font const & (StyleSettings::*i_pGetter)() const ) + FontDescriptor WindowStyleSettings::ImplGetStyleFont( vcl::Font const & (StyleSettings::*i_pGetter)() const ) const { const VclPtr<vcl::Window>& pWindow = pOwningWindow->GetWindow(); const AllSettings aAllSettings = pWindow->GetSettings(); diff --git a/toolkit/source/awt/stylesettings.hxx b/toolkit/source/awt/stylesettings.hxx index 560e30866194..ebd9bd2c6ee3 100644 --- a/toolkit/source/awt/stylesettings.hxx +++ b/toolkit/source/awt/stylesettings.hxx @@ -166,8 +166,8 @@ namespace toolkit void ImplSetStyleFont( void (StyleSettings::*i_pSetter)( vcl::Font const &), vcl::Font const & (StyleSettings::*i_pGetter)() const, const css::awt::FontDescriptor& i_rFont ); void ImplSetStyleColor( void (StyleSettings::*i_pSetter)( Color const & ), sal_Int32 i_nColor ); - sal_Int32 ImplGetStyleColor( Color const & (StyleSettings::*i_pGetter)() const ); - css::awt::FontDescriptor ImplGetStyleFont( vcl::Font const & (StyleSettings::*i_pGetter)() const ); + sal_Int32 ImplGetStyleColor( Color const & (StyleSettings::*i_pGetter)() const ) const; + css::awt::FontDescriptor ImplGetStyleFont( vcl::Font const & (StyleSettings::*i_pGetter)() const ) const; DECL_LINK( OnWindowEvent, VclWindowEvent&, void ); VCLXWindow* pOwningWindow; diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index fc9dd90095ac..f84e836de29c 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -7008,7 +7008,7 @@ css::uno::Any SVTXFormattedField::getProperty( const OUString& PropertyName ) return aReturn; } -css::uno::Any SVTXFormattedField::convertEffectiveValue(const css::uno::Any& rValue) +css::uno::Any SVTXFormattedField::convertEffectiveValue(const css::uno::Any& rValue) const { css::uno::Any aReturn; |