diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-07-02 13:34:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-07-02 13:34:28 +0200 |
commit | 23326c48274dc64a53ef142edc8bc551ea6c15eb (patch) | |
tree | 2712a1b50e911dd090ef630044b13ad339ce74ba | |
parent | 6098d0283b47b36011075f3595fe21b300046a33 (diff) |
filter: fix more -Werror=address (wrong TempFile ctor called)
Change-Id: I2242b12b75dfbd1ae6fdb4283c065168ac9df4d2
-rw-r--r-- | filter/source/xsltdialog/xmlfiltertestdialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx index 55b7d4dcd0e9..2f67a5e7a7da 100644 --- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx @@ -430,7 +430,7 @@ void XMLFilterTestDialog::doExport( Reference< XComponent > xComp ) if( xStorable.is() ) { String leadingChars; - String ext(RTL_CONSTASCII_USTRINGPARAM(".xml")); + OUString const ext(RTL_CONSTASCII_USTRINGPARAM(".xml")); utl::TempFile aTempFile(leadingChars, &ext); OUString aTempFileURL( aTempFile.GetURL() ); @@ -594,7 +594,7 @@ void XMLFilterTestDialog::import( const OUString& rURL ) if( m_pCBXDisplaySource->IsChecked() ) { String lead; - String ext(RTL_CONSTASCII_USTRINGPARAM(".xml")); + OUString const ext(RTL_CONSTASCII_USTRINGPARAM(".xml")); TempFile aTempFile(lead, &ext); OUString aTempFileURL( aTempFile.GetURL() ); |