diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:21:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:23 +0100 |
commit | acb7ca428382b8db42d7afcd79d72682aae0df8d (patch) | |
tree | 1a9c188c5bc6bc8043ccbb80ec906f6e3631add7 /chart2/source/model/filter | |
parent | 39ddeb53c04f7a8410a5146e2ce7b4acf204ad2b (diff) |
chart2: Use appropriate OUString functions on string constants
Change-Id: Ifc28920e69db410b00312e634caba33b0e286b7f
Diffstat (limited to 'chart2/source/model/filter')
-rw-r--r-- | chart2/source/model/filter/XMLFilter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx index 480954eaf498..cd5dac49a494 100644 --- a/chart2/source/model/filter/XMLFilter.cxx +++ b/chart2/source/model/filter/XMLFilter.cxx @@ -369,12 +369,12 @@ sal_Int32 XMLFilter::impl_Import( uno::Sequence< beans::PropertyValue > aModProps = xModel->getArgs(); for( sal_Int32 nInd = 0; nInd < aModProps.getLength(); nInd++ ) { - if( aModProps[nInd].Name.equals( "HierarchicalDocumentName" ) ) + if( aModProps[nInd].Name == "HierarchicalDocumentName" ) { // Actually this argument only has meaning for embedded documents aModProps[nInd].Value >>= aHierarchName; } - else if( aModProps[nInd].Name.equals( "DocumentBaseURL" ) ) + else if( aModProps[nInd].Name == "DocumentBaseURL" ) { aModProps[nInd].Value >>= aBaseUri; } |