From f8b22654197178a441d383398b515bb2fb6deaf2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Nov 2013 13:46:07 +0200 Subject: remove RTL_CONSTASCII_STRINGPARAM in OUString::matchAsciiL calls Convert code like: defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) ); to: defaultValue.startsWith( "nextval(" ); Change-Id: I77bdcbf46bec6ded3c16a8248634b1424a1eb4f0 --- sfx2/source/dialog/taskpane.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx index 12a7b1dcfd77..9ac3dbf9709e 100644 --- a/sfx2/source/dialog/taskpane.cxx +++ b/sfx2/source/dialog/taskpane.cxx @@ -572,7 +572,7 @@ namespace sfx2 //------------------------------------------------------------------------------------------------------------------ bool ModuleTaskPane_Impl::impl_isToolPanelResource( const OUString& i_rResourceURL ) { - return i_rResourceURL.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "private:resource/toolpanel/" ) ); + return i_rResourceURL.startsWith( "private:resource/toolpanel/" ); } //------------------------------------------------------------------------------------------------------------------ -- cgit