summaryrefslogtreecommitdiff
path: root/sw/source/filter/basflt/iodetect.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-15 10:18:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-15 10:18:44 +0100
commitfe99ee368fef4059e187a81059679ca150161119 (patch)
tree7647d116d16e3cc5f5a6ab95fd9a6d86642e3604 /sw/source/filter/basflt/iodetect.cxx
parent577e90091bc72eb72b1432611c82cbdaf18b557c (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.cxx2
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,