From cc5ec80521546cddd0ce12fcd25becbcf2c7d2a5 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Fri, 7 Feb 2014 15:58:00 +0100 Subject: misc cleanup and unnecessary OUStrings Change-Id: Idef960995d7b13af049de5a5045b99df642dc3df --- framework/source/uifactory/addonstoolbarfactory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/source/uifactory') diff --git a/framework/source/uifactory/addonstoolbarfactory.cxx b/framework/source/uifactory/addonstoolbarfactory.cxx index 8f9fff8ab89d..2a89e5c86d39 100644 --- a/framework/source/uifactory/addonstoolbarfactory.cxx +++ b/framework/source/uifactory/addonstoolbarfactory.cxx @@ -196,7 +196,7 @@ throw ( ::com::sun::star::container::NoSuchElementException, Args[n].Value >>= aResourceURL; } - if ( aResourceURL.indexOf( "private:resource/toolbar/addon_" ) != 0 ) + if ( !aResourceURL.startsWith("private:resource/toolbar/addon_") ) throw IllegalArgumentException(); // Identify frame and determine module identifier to look for context based buttons -- cgit i/cg-4.1'>distro/capgemini/cg-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/reportdesign/uiconfig/dbreport/statusbar
AgeCommit message (Expand)Author