summaryrefslogtreecommitdiff
path: root/include/svtools/imapobj.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-03 09:30:05 +0200
committerNoel Grandin <noel@peralex.com>2015-03-19 10:45:00 +0200
commit6bf3b6d420873e236b2805a42a95ce33e614ad98 (patch)
treefc582e0a8af0ae1979891bb9e2bb6d49696d34d7 /include/svtools/imapobj.hxx
parent5133b27e638140ba574016b33dae70ca92edc323 (diff)
loplugin:constantfunction: svtools
Change-Id: I42479fb10878a0a1c2071f7b35ae375061781d40
Diffstat (limited to 'include/svtools/imapobj.hxx')
-rw-r--r--include/svtools/imapobj.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/imapobj.hxx b/include/svtools/imapobj.hxx
index 22b3d3546785..633945614538 100644
--- a/include/svtools/imapobj.hxx
+++ b/include/svtools/imapobj.hxx
@@ -87,7 +87,8 @@ public:
bool bActive );
virtual ~IMapObject() {};
- sal_uInt16 GetVersion() const;
+ static sal_uInt16 GetVersion() { return IMAP_OBJ_VERSION; }
+
virtual sal_uInt16 GetType() const = 0;
virtual bool IsHit( const Point& rPoint ) const = 0;