[Libreoffice-commits] .: 2 commits - unotools/source unusedcode.easy vcl/inc vcl/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Feb 9 13:54:39 PST 2012


 unotools/source/config/configvaluecontainer.cxx |   10 ----------
 unusedcode.easy                                 |    2 --
 vcl/inc/vcl/i18nhelp.hxx                        |    2 --
 vcl/source/app/i18nhelp.cxx                     |    5 -----
 4 files changed, 19 deletions(-)

New commits:
commit 3122799da13eb65b7753671c1783d45bfc8a3b22
Author: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Date:   Thu Feb 9 21:51:19 2012 +0000

    vcl: I18nHelper: delete unused getLocal() method

diff --git a/unusedcode.easy b/unusedcode.easy
index c9f696d..f59ad59 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1544,7 +1544,6 @@ ucbhelper::SimpleCertificateValidationRequest::getResponse() const
 utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) 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 32f9e16..610f5cf 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 0c1c3fa..ea4eb34 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
commit b950727ac84c9baa00b957dd80174de2f4a4e5c5
Author: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Date:   Thu Feb 9 21:45:24 2012 +0000

    utl: delete unused NodeValueAccessor::bind() method

diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx
index eb950b2..03f9948 100644
--- a/unotools/source/config/configvaluecontainer.cxx
+++ b/unotools/source/config/configvaluecontainer.cxx
@@ -68,7 +68,6 @@ namespace utl
         NodeValueAccessor( const ::rtl::OUString& _rNodePath );
 
         void bind( void* _pLocation, const Type& _rType );
-        void bind( Any* _pLocation );
 
         bool                    isBound( ) const        { return ( ltUnbound != eLocationType ) && ( NULL != pLocation ); }
         const ::rtl::OUString&  getPath( ) const        { return sRelativePath; }
@@ -103,15 +102,6 @@ namespace utl
         aDataType = _rType;
     }
 
-    void NodeValueAccessor::bind( Any* _pLocation )
-    {
-        DBG_ASSERT( !isBound(), "NodeValueAccessor::bind: already bound!" );
-
-        eLocationType = ltAnyInstance;
-        pLocation = _pLocation;
-        aDataType = ::getCppuType( _pLocation );
-    }
-
     #ifndef UNX
     static
     #endif
diff --git a/unusedcode.easy b/unusedcode.easy
index d6d3b58..c9f696d 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1541,7 +1541,6 @@ ucbhelper::Content::getPropertyValues(com::sun::star::uno::Sequence<int> const&)
 ucbhelper::Content::insertNewContent(rtl::OUString const&, com::sun::star::uno::Sequence<int> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, ucbhelper::Content&)
 ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, std::__debug::vector<ucbhelper::ContentProviderData, std::allocator<ucbhelper::ContentProviderData> > const&)
 ucbhelper::SimpleCertificateValidationRequest::getResponse() const
-utl::NodeValueAccessor::bind(com::sun::star::uno::Any*)
 utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const
 utl::TransliterationWrapper::compareSubstring(String const&, int, int, String const&, int, int) const
 vcl::I18nHelper::GetDate(Date const&) const


More information about the Libreoffice-commits mailing list