diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-12-02 22:35:57 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-03 18:04:24 +0100 |
commit | ce90f99a2d66c2b998ad3f9f028e2ea623a757f5 (patch) | |
tree | ec8f3adaeca225e22ae41eee80be114aadc25d17 /cui | |
parent | 249f09885bc06f580ec3aea5ccd7a09d8e91541d (diff) |
fixes for where fast string operator+ is not perfectly source compatible
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/scriptdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index 3505102b83c2..f149a59879ef 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -914,7 +914,7 @@ void SvxScriptOrgDialog::createEntry( SvTreeListEntry* pEntry ) } for( sal_Int32 index = 0; index < childNodes.getLength(); index++ ) { - if ( (aNewName+extn).equals( childNodes[index]->getName() ) ) + if ( (aNewName+extn) == childNodes[index]->getName() ) { bFound = sal_True; break; @@ -943,7 +943,7 @@ void SvxScriptOrgDialog::createEntry( SvTreeListEntry* pEntry ) bValid = sal_True; for( sal_Int32 index = 0; index < childNodes.getLength(); index++ ) { - if ( (aUserSuppliedName+extn).equals( childNodes[index]->getName() ) ) + if ( (aUserSuppliedName+extn) == childNodes[index]->getName() ) { bValid = sal_False; String aError( m_createErrStr ); |