summaryrefslogtreecommitdiff
path: root/include/comphelper/componentbase.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-25 15:37:53 +0200
committerNoel Grandin <noel@peralex.com>2015-03-27 10:51:08 +0200
commitc4a9241f72e3b7bf84eaadc51dbaa2accc7b920c (patch)
treec3037d10c40adf45ea32138783c476fce2459abd /include/comphelper/componentbase.hxx
parent17551216cc6843e8dcdf84bd8f9735d1c7fb145c (diff)
new clang plugin: staticmethods
Genius suggestion from Tor Lillqvist, write a clang plugin that finds methods that can be static. Change-Id: Ie6684cc95d088e8750b300a028b49f763da00345
Diffstat (limited to 'include/comphelper/componentbase.hxx')
-rw-r--r--include/comphelper/componentbase.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/comphelper/componentbase.hxx b/include/comphelper/componentbase.hxx
index 7881ae4de5e0..349e6c648641 100644
--- a/include/comphelper/componentbase.hxx
+++ b/include/comphelper/componentbase.hxx
@@ -100,8 +100,8 @@ namespace comphelper
The default implementation returns <NULL/>.
*/
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
- getComponent() const;
+ static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
+ getComponent();
private:
::cppu::OBroadcastHelper& m_rBHelper;