diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:41:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:39 +0100 |
commit | eabf036cfe4b776b44675040aaf48c23f2ff5777 (patch) | |
tree | 9906d006aba37db6e59f51887b5dab048eb4cbaa /xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | |
parent | 8d487ceba1995b5831755bb5b37a82afc2125c0f (diff) |
xmlscript: Use appropriate OUString functions on string constants
Change-Id: I1fafba17c590d4485f2138e2dda877344c573df1
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/xmldlg_import.cxx')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index bf504e7ae099..9b1ccf46809c 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -912,9 +912,9 @@ bool ImportContext::importDataAwareProperty( { OUString sLinkedCell; OUString sCellRange; - if ( rPropName.equals( "linked-cell" ) ) + if ( rPropName == "linked-cell" ) sLinkedCell = xAttributes->getValueByUidName( _pImport->XMLNS_DIALOGS_UID, rPropName ); - if ( rPropName.equals( "source-cell-range" ) ) + if ( rPropName == "source-cell-range" ) sCellRange = xAttributes->getValueByUidName( _pImport->XMLNS_DIALOGS_UID, rPropName ); bool bRes = false; Reference< lang::XMultiServiceFactory > xFac( _pImport->getDocOwner(), UNO_QUERY ); |