From b14d791fc0b1e7087cd4131d93ebb12729cc728d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 3 Jul 2013 15:19:28 +0100 Subject: drop unused vcl::unohelper::getNaturalStringSorterForAppLocale Change-Id: Ie85005ceba32ce2de3296f91e4688467b06dee2d --- include/vcl/unohelp.hxx | 2 -- unusedcode.easy | 1 - vcl/source/control/ilstbox.cxx | 11 ----------- 3 files changed, 14 deletions(-) diff --git a/include/vcl/unohelp.hxx b/include/vcl/unohelp.hxx index 91168436c3ad..31197999886f 100644 --- a/include/vcl/unohelp.hxx +++ b/include/vcl/unohelp.hxx @@ -52,8 +52,6 @@ namespace unohelper { VCL_DLLPUBLIC ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XBreakIterator > CreateBreakIterator(); VCL_DLLPUBLIC ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XCharacterClassification> CreateCharacterClassification(); -//Get access to singleton Natural String Sorter collating for Application::GetLocale -VCL_DLLPUBLIC const comphelper::string::NaturalStringSorter& getNaturalStringSorterForAppLocale(); VCL_DLLPUBLIC OUString CreateLibraryName( const sal_Char* pModName, sal_Bool bSUPD ); VCL_DLLPUBLIC void NotifyAccessibleStateEventGlobally( const ::com::sun::star::accessibility::AccessibleEventObject& rEventObject ); }} // namespace vcl::unohelper diff --git a/unusedcode.easy b/unusedcode.easy index 2c163f98eb17..887641cb6b75 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -221,5 +221,4 @@ svx::sidebar::TextCharacterSpacingControl::ToGetFocus() unoidl::UnoidlProvider::getConstant(unsigned int) const utl::ConfigItem::getUniqueSetElementName(rtl::OUString const&, rtl::OUString&) utl::toISO8601(com::sun::star::util::Time const&) -vcl::unohelper::getNaturalStringSorterForAppLocale() vclmain::createApplication() diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx index 7684ca8bcad7..ac7631950081 100644 --- a/vcl/source/control/ilstbox.cxx +++ b/vcl/source/control/ilstbox.cxx @@ -151,17 +151,6 @@ namespace }; } -namespace vcl -{ - namespace unohelper - { - const comphelper::string::NaturalStringSorter& getNaturalStringSorterForAppLocale() - { - return theSorter::get(); - } - } -} - sal_uInt16 ImplEntryList::InsertEntry( sal_uInt16 nPos, ImplEntryType* pNewEntry, sal_Bool bSort ) { if ( !!pNewEntry->maImage ) -- cgit