summaryrefslogtreecommitdiff
path: root/i18npool/source/search
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-12 12:20:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-12 12:20:12 +0100
commit2c571050006940a3a0be776efd8ad3b2854a1814 (patch)
tree923ef768e55f2ae4f056c81bc95b46bdc7b4354e /i18npool/source/search
parent7948b273a9725c546e0dc32bece296dc872bdc04 (diff)
i18npool: Use appropriate OUString functions on string constants
Change-Id: I82fea345a05c0327af3b75ccfd3358f54523c082
Diffstat (limited to 'i18npool/source/search')
-rw-r--r--i18npool/source/search/textsearch.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index 98aa1b6cc3f2..1096599c1cea 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -1026,17 +1026,16 @@ SearchResult TextSearch::ApproxSrchBkwrd( const OUString& searchStr,
}
-static const sal_Char cSearchName[] = "com.sun.star.util.TextSearch";
static const sal_Char cSearchImpl[] = "com.sun.star.util.TextSearch_i18n";
static OUString getServiceName_Static()
{
- return OUString::createFromAscii( cSearchName );
+ return OUString( "com.sun.star.util.TextSearch" );
}
static OUString getImplementationName_Static()
{
- return OUString::createFromAscii( cSearchImpl );
+ return OUString( cSearchImpl );
}
OUString SAL_CALL