[PATCH 7/8] vcl: I18nHelper: delete unused getLocal() method

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Feb 8 08:57:44 PST 2012


---
 unusedcode.easy             |    1 -
 vcl/inc/vcl/i18nhelp.hxx    |    2 --
 vcl/source/app/i18nhelp.cxx |    5 -----
 3 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/unusedcode.easy b/unusedcode.easy
index 53c1aea..f4115ce 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1531,7 +1531,6 @@ utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNod
 utl::OConfigurationValueContainer::getServiceFactory() const
 utl::TransliterationWrapper::compareSubstring(String const&, int, int, String const&, int, int) const
 vcl::I18nHelper::GetDate(Date const&) const
-vcl::I18nHelper::getLocale() const
 vcl::LabeledElement::setLabel(boost::shared_ptr<vcl::WindowArranger> const&)
 vcl::LazyDeletor<Menu>::is_less(Menu*, Menu*)
 vcl::MatrixArranger::addChild(boost::shared_ptr<vcl::WindowArranger> const&, unsigned int, unsigned int, int)
diff --git a/vcl/inc/vcl/i18nhelp.hxx b/vcl/inc/vcl/i18nhelp.hxx
index a83afa4..faafdfe 100644
--- a/vcl/inc/vcl/i18nhelp.hxx
+++ b/vcl/inc/vcl/i18nhelp.hxx
@@ -79,8 +79,6 @@ public:
                 I18nHelper( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMSF, const ::com::sun::star::lang::Locale& rLocale );
                 ~I18nHelper();
 
-    const ::com::sun::star::lang::Locale& getLocale() const;
-
     sal_Int32   CompareString( const String& rStr1, const String& rStr2 ) const;
 
     sal_Bool    MatchString( const String& rStr1, const String& rStr2 ) const;
diff --git a/vcl/source/app/i18nhelp.cxx b/vcl/source/app/i18nhelp.cxx
index f8967b2..f1505cc 100644
--- a/vcl/source/app/i18nhelp.cxx
+++ b/vcl/source/app/i18nhelp.cxx
@@ -87,11 +87,6 @@ LocaleDataWrapper& vcl::I18nHelper::ImplGetLocaleDataWrapper() const
     return *mpLocaleDataWrapper;
 }
 
-const ::com::sun::star::lang::Locale& vcl::I18nHelper::getLocale() const
-{
-    return maLocale;
-}
-
 inline bool is_formatting_mark( sal_Unicode c )
 {
     if( (c >= 0x200B) && (c <= 0x200F) )    // BiDi and zero-width-markers
-- 
1.7.9



More information about the LibreOffice mailing list