diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-15 10:18:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-15 10:18:44 +0100 |
commit | fe99ee368fef4059e187a81059679ca150161119 (patch) | |
tree | 7647d116d16e3cc5f5a6ab95fd9a6d86642e3604 /sw/source/filter/basflt/iodetect.cxx | |
parent | 577e90091bc72eb72b1432611c82cbdaf18b557c (diff) |
sw: Use appropriate OUString functions on string constants
Change-Id: I559d1e44d9096a2583af8e05468b3743ac210c6c
Diffstat (limited to 'sw/source/filter/basflt/iodetect.cxx')
-rw-r--r-- | sw/source/filter/basflt/iodetect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/basflt/iodetect.cxx b/sw/source/filter/basflt/iodetect.cxx index 5c5f6a5941b9..265cfbd3efc1 100644 --- a/sw/source/filter/basflt/iodetect.cxx +++ b/sw/source/filter/basflt/iodetect.cxx @@ -230,7 +230,7 @@ const SfxFilter* SwIoSystem::GetFileFilter(const OUString& rFileName) return pFilter; } - return SwIoSystem::GetFilterOfFormat(OUString::createFromAscii(FILTER_TEXT), 0); + return SwIoSystem::GetFilterOfFormat(FILTER_TEXT, 0); } bool SwIoSystem::IsDetectableText(const sal_Char* pBuf, sal_uLong &rLen, |