summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 12:06:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 12:34:40 +0100
commit180f0791daa3d3f959f4f70b9f83012bcbf47a64 (patch)
treeae1509f2bfaa697ec613032c4f26fc4b0e841c60 /sc
parent783ba49aa0cd068c7e3dacdd3c13e9c37cf52e22 (diff)
comphelper: Use appropriate OUString functions on string constants
Change-Id: Id1d5c3cf2f76dbb33606cec1c0f17d4a1f282247
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlwrap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx
index fb597e38ad6f..f40b731620fa 100644
--- a/sc/source/filter/xml/xmlwrap.cxx
+++ b/sc/source/filter/xml/xmlwrap.cxx
@@ -842,8 +842,8 @@ bool ScXMLImportWrapper::Export(bool bStylesOnly)
OUString aVersion;
if (( xPropSet->getPropertyValue(
OUString("Version")) >>= aVersion )
- && !aVersion.equals(ODFVER_010_TEXT)
- && !aVersion.equals(ODFVER_011_TEXT) )
+ && aVersion != ODFVER_010_TEXT
+ && aVersion != ODFVER_011_TEXT )
{
const uno::Reference< rdf::XDocumentMetadataAccess > xDMA(
xModel, uno::UNO_QUERY_THROW );