diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:25:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:27 +0100 |
commit | eab273cccd8e861882e5ef847c50e7a6be2ca7c4 (patch) | |
tree | f231d3ecaac18923b162d4cb3f9d87a48f464e88 /hwpfilter | |
parent | 940f74ed9a5666348661bec29e8f4e8a302e6ac4 (diff) |
hwpfilter: Use appropriate OUString functions on string constants
Change-Id: Ib19462d2095ca46eace28e1d3170b559027a2acd
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx index ac0e55ad6d82..a4c5d8d19ee1 100644 --- a/hwpfilter/source/hwpreader.hxx +++ b/hwpfilter/source/hwpreader.hxx @@ -281,7 +281,7 @@ OUString HwpImportFilter::detect( ::com::sun::star::uno::Sequence< ::com::sun::s detect_hwp_version(reinterpret_cast<const char*>(aData.getConstArray())) ) { - sTypeName = OUString("writer_MIZI_Hwp_97"); + sTypeName = "writer_MIZI_Hwp_97"; } } @@ -292,8 +292,8 @@ Sequence< OUString> HwpImportFilter::getSupportedServiceNames() throw(::com::sun { Sequence < OUString > aRet(2); OUString* pArray = aRet.getArray(); - pArray[0] = OUString(SERVICE_NAME1); - pArray[1] = OUString(SERVICE_NAME2); + pArray[0] = SERVICE_NAME1; + pArray[1] = SERVICE_NAME2; return aRet; } |