diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-11 13:03:17 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-11 13:20:16 +0300 |
commit | c45f5d759998d2443a9b27602396e419658b7359 (patch) | |
tree | 7b81178a67f9928f0a383500388baa2b19146b82 /include | |
parent | 5c501c19aca3fcd8a00076d832a228e2e0fdbfe2 (diff) |
Introduce drawinglayer::primitive2d::idToString() debugging function
Change-Id: I71e5b032d52f1fe3a1bde60fe6395c5d2d025885
Diffstat (limited to 'include')
-rw-r--r-- | include/drawinglayer/primitive2d/baseprimitive2d.hxx | 2 | ||||
-rw-r--r-- | include/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/drawinglayer/primitive2d/baseprimitive2d.hxx b/include/drawinglayer/primitive2d/baseprimitive2d.hxx index 94280d46f1dc..856c3d31438e 100644 --- a/include/drawinglayer/primitive2d/baseprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/baseprimitive2d.hxx @@ -286,6 +286,8 @@ namespace drawinglayer /// concatenate single Primitive2D void DRAWINGLAYER_DLLPUBLIC appendPrimitive2DReferenceToPrimitive2DSequence(Primitive2DSequence& rDest, const Primitive2DReference& rSource); + OUString DRAWINGLAYER_DLLPUBLIC idToString(sal_uInt32 nId); + } // end of namespace primitive2d } // end of namespace drawinglayer diff --git a/include/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx b/include/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx index 088d60e50cbd..3c4afe5e0bd5 100644 --- a/include/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx +++ b/include/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx @@ -104,8 +104,8 @@ #define PRIMITIVE2D_ID_POLYPOLYGONSELECTIONPRIMITIVE2D (PRIMITIVE2D_ID_RANGE_DRAWINGLAYER| 69) #define PRIMITIVE2D_ID_CLIPPEDBORDERLINEPRIMITIVE2D (PRIMITIVE2D_ID_RANGE_DRAWINGLAYER| 70) #define PRIMITIVE2D_ID_OPENGLPRIMITIVE2D (PRIMITIVE2D_ID_RANGE_DRAWINGLAYER| 71) - - +// When you add a new primitive, please update the drawinglayer::primitive2d::idToString() function +// in drawinglayer/source/primitive2d/baseprimitive2d.cxx. #endif // INCLUDED_DRAWINGLAYER_PRIMITIVE2D_DRAWINGLAYER_PRIMITIVETYPES2D_HXX |