summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/rtfdispatchdestination.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/rtftok/rtfdispatchdestination.cxx')
-rw-r--r--writerfilter/source/rtftok/rtfdispatchdestination.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfdispatchdestination.cxx b/writerfilter/source/rtftok/rtfdispatchdestination.cxx
index fa93abb624b3..71bec66ba057 100644
--- a/writerfilter/source/rtftok/rtfdispatchdestination.cxx
+++ b/writerfilter/source/rtftok/rtfdispatchdestination.cxx
@@ -107,7 +107,7 @@ RTFError RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
Strm().Seek(nPos);
// Form data should be handled only for form fields if any
- if (aBuf.toString().indexOf(OString("FORM")) != -1)
+ if (aBuf.toString().indexOf("FORM") != -1)
m_bFormField = true;
singleChar(cFieldStart);