diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-06-20 19:27:17 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-06-20 14:07:20 +0200 |
commit | 81e3d9daed06c0f1153d4d18181cf986a7f82fca (patch) | |
tree | edc34721eea0b402c3c310b4eacd4b8fee7a0889 /include | |
parent | ffef53274b44bfe77128ba400845f4c4ce70893e (diff) |
drawinglayer: remove ImplPrimitive2DIDBlock macro
We can just implement the simple getPrimitive2DID method in all
primitives. The ImplPrimitive2DIDBlock macro doesn't save us
anything.
Change-Id: I02f44d4891d7b340220890bf52a7ebfc8e41850a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117509
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drawinglayer/primitive2d/baseprimitive2d.hxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/drawinglayer/primitive2d/baseprimitive2d.hxx b/include/drawinglayer/primitive2d/baseprimitive2d.hxx index 7619e04e5279..dd7f002f1faf 100644 --- a/include/drawinglayer/primitive2d/baseprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/baseprimitive2d.hxx @@ -27,15 +27,6 @@ #include <cppuhelper/basemutex.hxx> #include <basegfx/range/b2drange.hxx> -/** defines ImplPrimitive2DIDBlock - Added to be able to simply change identification stuff later, e.g. add - an identification string and/or ID to the interface and to the implementation - ATM used to delclare implement getPrimitive2DID() -*/ - -#define ImplPrimitive2DIDBlock(TheClass, TheID) \ - sal_uInt32 TheClass::getPrimitive2DID() const { return TheID; } - namespace drawinglayer::geometry { class ViewInformation2D; |