summaryrefslogtreecommitdiff
path: root/oox/source/ole/olehelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-15 10:13:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-15 10:13:24 +0100
commit691824acefacddca266ffb8deaa5790520de62e8 (patch)
treebbff67a8561c82f6c234f6fb5d19551423927826 /oox/source/ole/olehelper.cxx
parent73441b0b650df4f9f7f6799f96150630426b79da (diff)
oox: Use appropriate OUString functions on string constants
Change-Id: I55ee581c9d3fc0a17639833a6a034e2addf768d1
Diffstat (limited to 'oox/source/ole/olehelper.cxx')
-rw-r--r--oox/source/ole/olehelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx
index e6c854c370cf..a87f290cc94e 100644
--- a/oox/source/ole/olehelper.cxx
+++ b/oox/source/ole/olehelper.cxx
@@ -494,8 +494,8 @@ bool MSConvertOCXControls::importControlFromStream( ::oox::BinaryInputStream& rI
{
// Special processing for those html controls
bool bOneOfHtmlControls = false;
- if ( rStrmClassId.toAsciiUpperCase().equalsAscii( HTML_GUID_SELECT )
- || rStrmClassId.toAsciiUpperCase().equalsAscii( HTML_GUID_TEXTBOX ) )
+ if ( rStrmClassId.toAsciiUpperCase() == HTML_GUID_SELECT
+ || rStrmClassId.toAsciiUpperCase() == HTML_GUID_TEXTBOX )
bOneOfHtmlControls = true;
if ( bOneOfHtmlControls )