diff options
Diffstat (limited to 'filter/source/xsltdialog/xmlfiltersettingsdialog.cxx')
-rw-r--r-- | filter/source/xsltdialog/xmlfiltersettingsdialog.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx index 1c0bc8f37866..05bf27ca3bda 100644 --- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx @@ -341,9 +341,7 @@ OUString XMLFilterSettingsDialog::createUniqueFilterName( const OUString& rFilte while( mxFilterContainer->hasByName( aFilterName ) ) { - aFilterName = rFilterName; - aFilterName += aSpace; - aFilterName += OUString::number( nId++ ); + aFilterName = rFilterName + aSpace + OUString::number( nId++ ); } return aFilterName; @@ -360,9 +358,7 @@ OUString XMLFilterSettingsDialog::createUniqueTypeName( const OUString& rTypeNam while( mxFilterContainer->hasByName( aTypeName ) ) { - aTypeName = rTypeName; - aTypeName += aSpace; - aTypeName += OUString::number( nId++ ); + aTypeName = rTypeName + aSpace + OUString::number( nId++ ); } return aTypeName; @@ -595,8 +591,7 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi OUString aDocType; if( !pFilterEntry->maDocType.match( m_sDocTypePrefix ) ) { - aDocType = m_sDocTypePrefix; - aDocType += pFilterEntry->maDocType; + aDocType = m_sDocTypePrefix + pFilterEntry->maDocType; } else { |