summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-01-14 10:27:40 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-14 16:39:53 +0100
commit0bb77f2161e8bcaf42c536a859c2095a3f03428a (patch)
tree9c4fa0638a574c9ba5ee768d02566e393b913767 /include
parentd872cd935e16525e22db1ee43a75d5913ebefcf5 (diff)
Add fileName to GDIMetaFile::dumpAsXml()
GDIMetaFile::dumpAsXml() is very useful while investigating/examining the meta files, but it overwrites with the same file name each time. To be able to get different dumps at the same time, let's add a fileName parameter to it. Change-Id: I993720b460f326cd65519556cf1e902591d90d42 Reviewed-on: https://gerrit.libreoffice.org/66283 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/gdimtf.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx
index 59d4f0939076..9b43cd2f6ef8 100644
--- a/include/vcl/gdimtf.hxx
+++ b/include/vcl/gdimtf.hxx
@@ -199,7 +199,7 @@ public:
bool GetUseCanvas() const { return m_bUseCanvas; }
/// Dumps the meta actions as XML in metafile.xml.
- void dumpAsXml() const;
+ void dumpAsXml( const OUString& sFileName = OUString() ) const;
};
#endif // INCLUDED_VCL_GDIMTF_HXX