summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /UnoControls
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/inc/basecontrol.hxx4
-rw-r--r--UnoControls/source/base/basecontrol.cxx14
2 files changed, 2 insertions, 16 deletions
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index ad11518def9e..19eaa52e97e4 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -530,12 +530,12 @@ protected:
/**_______________________________________________________________________________________________________
*/
- const sal_Int32& impl_getWidth();
+ const sal_Int32& impl_getWidth() { return m_nWidth;}
/**_______________________________________________________________________________________________________
*/
- const sal_Int32& impl_getHeight();
+ const sal_Int32& impl_getHeight() { return m_nHeight;}
/**_______________________________________________________________________________________________________
*/
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index 78cc308f6925..2503b1f41a9d 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -737,20 +737,6 @@ const Reference< XGraphics > BaseControl::impl_getGraphicsPeer()
// protected method
-const sal_Int32& BaseControl::impl_getWidth()
-{
- return m_nWidth;
-}
-
-// protected method
-
-const sal_Int32& BaseControl::impl_getHeight()
-{
- return m_nHeight;
-}
-
-// protected method
-
WindowDescriptor* BaseControl::impl_getWindowDescriptor( const Reference< XWindowPeer >& xParentPeer )
{
// - used from "createPeer()" to set the values of an ::com::sun::star::awt::WindowDescriptor !!!