summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-03-14 09:11:44 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-03-14 10:41:09 +0100
commite717722d7ff05f0125ae18dc12779f4276155ff6 (patch)
tree9ed0bc36485a9929244eb11e40a13e2a38fa3a10 /include/vcl
parentefef0583c62be4aeb5c360621cb3072ff336eb6b (diff)
vcl: avoid OUString defaulted parameter in GDIMetaFile::dumpAsXml()
So that it's possible to do ad-hoc dumping from gdb with something like: print xMetaFile->dumpAsXml(0) Similar to how that already worked for SwDoc or SwFrame. Change-Id: I9cb884491f2a49afdb06179d8d54252101f37bb7 Reviewed-on: https://gerrit.libreoffice.org/69253 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include/vcl')
-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 9b43cd2f6ef8..661caf863a22 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 OUString& sFileName = OUString() ) const;
+ void dumpAsXml(const char* pFileName = nullptr) const;
};
#endif // INCLUDED_VCL_GDIMTF_HXX