summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/ooxml/OOXMLStreamImpl.cxx')
-rw-r--r--writerfilter/source/ooxml/OOXMLStreamImpl.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/writerfilter/source/ooxml/OOXMLStreamImpl.cxx b/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
index 3305e7c41d78..96f37bdfbacd 100644
--- a/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
@@ -169,16 +169,16 @@ bool OOXMLStreamImpl::lcl_getTarget(uno::Reference<embed::XRelationshipAccess>
{
beans::StringPair aPair = aSeq[i];
- if (aPair.First == sType &&
- aPair.Second == sStreamType)
+ if (aPair.First.compareTo(sType) == 0 &&
+ aPair.Second.compareTo(sStreamType) == 0)
bFound = true;
- else if (aPair.First == sId &&
- aPair.Second == rId)
+ else if (aPair.First.compareTo(sId) == 0 &&
+ aPair.Second.compareTo(rId) == 0)
bFound = true;
- else if (aPair.First == sTarget)
+ else if (aPair.First.compareTo(sTarget) == 0)
sMyTarget = aPair.Second;
- else if (aPair.First == sTargetMode &&
- aPair.Second == sExternal)
+ else if (aPair.First.compareTo(sTargetMode) == 0 &&
+ aPair.Second.compareTo(sExternal) == 0)
bExternalTarget = true;
}