summaryrefslogtreecommitdiff
path: root/cppuhelper/source/servicemanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/servicemanager.cxx')
-rw-r--r--cppuhelper/source/servicemanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx
index 8c0a902b782d..12167739da8d 100644
--- a/cppuhelper/source/servicemanager.cxx
+++ b/cppuhelper/source/servicemanager.cxx
@@ -1829,7 +1829,7 @@ void cppuhelper::ServiceManager::preloadImplementations() {
OUString aDisable(pDisable, strlen(pDisable), RTL_TEXTENCODING_UTF8);
for (sal_Int32 i = 0; i >= 0; )
{
- OUString tok = aDisable.getToken(0, ' ', i);
+ OUString tok( aDisable.getToken(0, ' ', i) );
tok = tok.trim();
if (!tok.isEmpty())
aDisabled.push_back(tok);