diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 14:16:55 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 14:18:10 +0100 |
commit | 5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb (patch) | |
tree | f891d796fa21c5bfb941eaa4a3f0c05a7e179cc6 /filter | |
parent | odk: do not pack unused component.map file (diff) | |
download | core-5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb.tar.gz core-5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb.zip |
further OUString cleanup
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/placeware/exporter.cxx | 2 | ||||
-rw-r--r-- | filter/source/placeware/tempfile.cxx | 4 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfiltersettingsdialog.cxx | 4 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfiltertestdialog.cxx | 2 |
4 files changed, 5 insertions, 7 deletions
diff --git a/filter/source/placeware/exporter.cxx b/filter/source/placeware/exporter.cxx index 319b42e7e66f..ccc807093108 100644 --- a/filter/source/placeware/exporter.cxx +++ b/filter/source/placeware/exporter.cxx @@ -346,7 +346,7 @@ sal_Bool PlaceWareExporter::doExport( Reference< XComponent > xDoc, Reference < OUString aName("i"); aName += OUString::valueOf( nPage ); - aName += OUString(".gif"); + aName += ".gif"; pEntry->setURL( aName ); if(xStatusIndicator.is()) diff --git a/filter/source/placeware/tempfile.cxx b/filter/source/placeware/tempfile.cxx index 6168d2271f9c..b3bd97f51317 100644 --- a/filter/source/placeware/tempfile.cxx +++ b/filter/source/placeware/tempfile.cxx @@ -147,9 +147,9 @@ OUString TempFile::createTempFileURL() u %= (nRadix*nRadix*nRadix); OUString aTmp( aTempDirURL ); if( aTmp.getStr()[ aTmp.getLength() - 1 ] != sal_Unicode( '/' ) ) - aTmp += OUString( "/" ); + aTmp += "/"; aTmp += OUString::valueOf( (sal_Int32) (unsigned) u, nRadix ); - aTmp += OUString( ".tmp" ); + aTmp += ".tmp"; osl::File aFile( aTmp ); osl::FileBase::RC err = aFile.open(osl_File_OpenFlag_Create); diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx index 15b86e1eccda..60e5188efcd4 100644 --- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx @@ -1345,9 +1345,7 @@ OUString getApplicationUIName( const OUString& rServiceName ) OUString aRet = RESIDSTR(STR_UNKNOWN_APPLICATION); if( !rServiceName.isEmpty() ) { - aRet += OUString( " (" ); - aRet += rServiceName; - aRet += OUString( RTL_CONSTASCII_USTRINGPARAM( ")" )); + aRet += " (" + rServiceName + ")"; } return aRet; } diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx index c7c78f8d4d28..ef3db9df78b8 100644 --- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx @@ -372,7 +372,7 @@ void XMLFilterTestDialog::onExportBrowse() { if( n > 0 ) aExtension += OUString( sal_Unicode(';') ); - aExtension += OUString( "*." ); + aExtension += "*."; aExtension += (*pExtensions++); } } |