summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-06-03 18:25:05 +0300
committerTor Lillqvist <tml@collabora.com>2014-06-04 00:02:15 +0300
commit5b886c730ed2b85624e32d516fc74bfe21666c06 (patch)
tree302c17611ae7737c5bec372ed376f680cb348d3d /include
parent4d3afa3dfafb34a3864e70bea38bc404d2d19da8 (diff)
Add (debugging) function to get the symbolic name of a MetaAction
Change-Id: I3c1e5c23e7be636cc93c97da0c2db00ebb1050e3
Diffstat (limited to 'include')
-rw-r--r--include/vcl/metaact.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx
index 29bf6cd008dd..4709d24f57a7 100644
--- a/include/vcl/metaact.hxx
+++ b/include/vcl/metaact.hxx
@@ -88,7 +88,10 @@ public:
void Delete() { if ( 0 == --mnRefCount ) delete this; }
public:
+ OUString GetTypeName() { return TypeName( mnType ); }
+
static MetaAction* ReadMetaAction( SvStream& rIStm, ImplMetaReadData* pData );
+ static OUString TypeName( sal_uInt16 nType );
};
class VCL_DLLPUBLIC MetaPixelAction : public MetaAction