summaryrefslogtreecommitdiff
path: root/include/test/mtfxmldump.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-12-19 09:04:31 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-19 09:05:09 +0100
commit93bb2101197c1ff64a5cc3ab9ffa64f66c0d9641 (patch)
tree514b272817f63b848a8cb74d19de8dc7e3450995 /include/test/mtfxmldump.hxx
parent9c928971167b6fc553f105b8141e214e6d06785f (diff)
Let MetafileXmlDump::dumpAndParse() take a const GDIMetaFile
So the const_cast<> in CppunitTest_sw_uiwriter can go away. Change-Id: Id7d4234154cd6bed43cb5270b50208061038dcf7
Diffstat (limited to 'include/test/mtfxmldump.hxx')
-rw-r--r--include/test/mtfxmldump.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/test/mtfxmldump.hxx b/include/test/mtfxmldump.hxx
index 997d023412b8..5c21765574f9 100644
--- a/include/test/mtfxmldump.hxx
+++ b/include/test/mtfxmldump.hxx
@@ -23,7 +23,7 @@ class OOO_DLLPUBLIC_TEST MetafileXmlDump
{
std::vector<bool> maFilter;
- void writeXml(GDIMetaFile& rMetaFile, XmlWriter& rWriter);
+ void writeXml(const GDIMetaFile& rMetaFile, XmlWriter& rWriter);
public:
MetafileXmlDump();
@@ -39,7 +39,7 @@ public:
pTempStreamName - this is useful when creating the test, to dump the
file for examination.
*/
- xmlDocPtr dumpAndParse(GDIMetaFile& rMetaFile, const OUString& rTempStreamName = OUString());
+ xmlDocPtr dumpAndParse(const GDIMetaFile& rMetaFile, const OUString& rTempStreamName = OUString());
};
#endif