diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/gconfbe/gconfaccess.cxx | 2 | ||||
-rw-r--r-- | shell/source/tools/lngconvex/lngconvex.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx index 8743bcd55037..5a49e964f3b0 100644 --- a/shell/source/backends/gconfbe/gconfaccess.cxx +++ b/shell/source/backends/gconfbe/gconfaccess.cxx @@ -433,7 +433,7 @@ sal_Bool SAL_CALL isDependencySatisfied( GConfClient* pClient, const Configurati g_get_real_name(), osl_getThreadTextEncoding() ) ); if( aCompleteName != "Unknown" ) { - if( aCompleteName.trim().indexOf(rtl::OUString(" "), 0) != -1 ) + if( aCompleteName.trim().indexOf( ' ' ) != -1 ) return sal_True; } } diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx index 5b2ecb2f5c82..dce42abc2317 100644 --- a/shell/source/tools/lngconvex/lngconvex.cxx +++ b/shell/source/tools/lngconvex/lngconvex.cxx @@ -200,7 +200,7 @@ public: private: void init() { - sal_Int32 idx = lang_.indexOf("-"); + sal_Int32 idx = lang_.indexOf('-'); if (idx > -1) { |