summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 14:07:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-25 10:56:03 +0200
commit83fd71e041f2c0520c4cc213e238c7f3c674c5a3 (patch)
tree5812c9db1d74548128c27bf2c1c44ec7aa5a79f2 /UnoControls
parente46d27a692f43192ba29f03c473f43bb16c1444f (diff)
loplugin:constmethod in tools,sax,UnoControls
Change-Id: Ie05e44e2a4019e2549843961ebfa04fef7b7aeb4 Reviewed-on: https://gerrit.libreoffice.org/43767 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/inc/basecontrol.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index 6967a3ff1085..7f81e13335f2 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -346,15 +346,15 @@ public:
protected:
using OComponentHelper::disposing;
- const css::uno::Reference< css::uno::XComponentContext >& impl_getComponentContext() { return m_xComponentContext;}
+ const css::uno::Reference< css::uno::XComponentContext >& impl_getComponentContext() const { return m_xComponentContext;}
- const css::uno::Reference< css::awt::XWindow >& impl_getPeerWindow() { return m_xPeerWindow;}
+ const css::uno::Reference< css::awt::XWindow >& impl_getPeerWindow() const { return m_xPeerWindow;}
- const css::uno::Reference< css::awt::XGraphics >& impl_getGraphicsPeer() { return m_xGraphicsPeer;}
+ const css::uno::Reference< css::awt::XGraphics >& impl_getGraphicsPeer() const { return m_xGraphicsPeer;}
- const sal_Int32& impl_getWidth() { return m_nWidth;}
+ sal_Int32 impl_getWidth() const { return m_nWidth;}
- const sal_Int32& impl_getHeight() { return m_nHeight;}
+ sal_Int32 impl_getHeight() const { return m_nHeight;}
virtual css::awt::WindowDescriptor* impl_getWindowDescriptor(
const css::uno::Reference< css::awt::XWindowPeer >& xParentPeer
@@ -366,7 +366,7 @@ protected:
virtual void impl_recalcLayout( const css::awt::WindowEvent& aEvent );
- const css::uno::Reference< css::uno::XInterface >& impl_getDelegator() { return m_xDelegator;}
+ const css::uno::Reference< css::uno::XInterface >& impl_getDelegator() const { return m_xDelegator;}
private: