From e717722d7ff05f0125ae18dc12779f4276155ff6 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 14 Mar 2019 09:11:44 +0100 Subject: 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 Tested-by: Jenkins --- include/vcl/gdimtf.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/vcl') 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 -- cgit