diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-20 13:46:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-20 13:56:09 +0200 |
commit | f8b22654197178a441d383398b515bb2fb6deaf2 (patch) | |
tree | 5bc460ea1a3a2016172cd2db2646937822d8a894 /sfx2/source/dialog | |
parent | 9cb0fc7801db40ab337c20591ec4674b941ba01a (diff) |
remove RTL_CONSTASCII_STRINGPARAM in OUString::matchAsciiL calls
Convert code like:
defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) );
to:
defaultValue.startsWith( "nextval(" );
Change-Id: I77bdcbf46bec6ded3c16a8248634b1424a1eb4f0
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/taskpane.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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/" ); } //------------------------------------------------------------------------------------------------------------------ |