summaryrefslogtreecommitdiffstats
path: root/filter/source/xsltdialog
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-13 17:27:03 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:05:13 +0200
commited53efd9dba377a47765e2633163ca8714c81390 (patch)
tree06a0195d1f23d3e6046a988c2c175d92766c2068 /filter/source/xsltdialog
parentconvert filter/source/flash/swfwriter.hxx from String to OUString (diff)
downloadcore-ed53efd9dba377a47765e2633163ca8714c81390.tar.gz
core-ed53efd9dba377a47765e2633163ca8714c81390.zip
convert remains of filter module from String to OUString
Change-Id: I87b1d2d944ba2b6e2e42adb2c948fff85ec021e1
Diffstat (limited to 'filter/source/xsltdialog')
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx2
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index 3a9a92a6afec..4754ddc5299f 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -1228,7 +1228,7 @@ void XMLFilterSettingsDialog::initFilterList()
application_info_impl::application_info_impl( const sal_Char * pDocumentService, ResId& rUINameRes, const sal_Char * mpXMLImporter, const sal_Char * mpXMLExporter )
: maDocumentService( pDocumentService, strlen( pDocumentService ), RTL_TEXTENCODING_ASCII_US ),
- maDocumentUIName( String( rUINameRes ) ),
+ maDocumentUIName( OUString( rUINameRes ) ),
maXMLImporter( mpXMLImporter, strlen( mpXMLImporter ), RTL_TEXTENCODING_ASCII_US ),
maXMLExporter( mpXMLExporter, strlen( mpXMLExporter ), RTL_TEXTENCODING_ASCII_US )
{
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index 405017f65a0d..568def0c97b0 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -261,8 +261,8 @@ void XMLFilterTestDialog::initDialog()
if( NULL == m_pFilterInfo )
return;
- String aTitle( m_sDialogTitle );
- aTitle.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM("%s") ), m_pFilterInfo->maFilterName );
+ OUString aTitle( m_sDialogTitle );
+ aTitle = aTitle.replaceFirst( "%s", m_pFilterInfo->maFilterName );
SetText( aTitle );
bool bImport = (m_pFilterInfo->maFlags & 1) == 1;