summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-08-10 16:47:39 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-08-29 17:40:26 +0200
commit6e4f6ec445198f6252fdfed627a1c6d07557190a (patch)
tree7415c61174332c2889d347b5c38b88347dce4bad /include
parent7daba09d025a2ade10cecb33cd1d613f16b78fe4 (diff)
Add a method to check whether an XEmbeddedObject is a chart
Change-Id: I6f860b9f1bce200c5366df0a32650705cf429a80
Diffstat (limited to 'include')
-rw-r--r--include/svtools/embedhlp.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svtools/embedhlp.hxx b/include/svtools/embedhlp.hxx
index 49763a20c344..30d690c92ce1 100644
--- a/include/svtools/embedhlp.hxx
+++ b/include/svtools/embedhlp.hxx
@@ -67,6 +67,8 @@ public:
OUString* pMediaType )
throw();
+ static bool IsChart(const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& xObj);
+
const com::sun::star::uno::Reference <com::sun::star::embed::XEmbeddedObject>& operator->() const;
const com::sun::star::uno::Reference <com::sun::star::embed::XEmbeddedObject>& GetObject() const;