[Libreoffice-commits] core.git: include/oox oox/source unusedcode.easy

Miklos Vajna vmiklos at collabora.co.uk
Mon Mar 10 13:43:58 PDT 2014


 include/oox/core/relations.hxx |    1 -
 oox/source/core/relations.cxx  |    9 ---------
 unusedcode.easy                |    1 -
 3 files changed, 11 deletions(-)

New commits:
commit 4c0fa3ea2dcc70a1385e6086429b45f7a96a7fe5
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Mar 10 21:31:18 2014 +0100

    unused oox::core::Relations::getRelationsFromType
    
    Change-Id: I42e0ebd92d804c34cda42a05b91f45970a22fbe2

diff --git a/include/oox/core/relations.hxx b/include/oox/core/relations.hxx
index 4254b99..bbe2968 100644
--- a/include/oox/core/relations.hxx
+++ b/include/oox/core/relations.hxx
@@ -82,7 +82,6 @@ public:
     /** Returns the first relation with the passed type. */
     const Relation*     getRelationFromFirstTypeFromOfficeDoc( const OUString& rType ) const;
     /** Finds all relations associated with the passed type. */
-    RelationsRef        getRelationsFromType( const OUString& rType ) const;
     RelationsRef        getRelationsFromTypeFromOfficeDoc( const OUString& rType ) const;
 
     /** Returns the external target of the relation with the passed relation identifier. */
diff --git a/oox/source/core/relations.cxx b/oox/source/core/relations.cxx
index d2e1b28..4122678 100644
--- a/oox/source/core/relations.cxx
+++ b/oox/source/core/relations.cxx
@@ -71,15 +71,6 @@ const Relation* Relations::getRelationFromFirstType( const OUString& rType ) con
     return 0;
 }
 
-RelationsRef Relations::getRelationsFromType( const OUString& rType ) const
-{
-    RelationsRef xRelations( new Relations( maFragmentPath ) );
-    for( const_iterator aIt = begin(), aEnd = end(); aIt != aEnd; ++aIt )
-        if( aIt->second.maType.equalsIgnoreAsciiCase( rType ) )
-            (*xRelations)[ aIt->first ] = aIt->second;
-    return xRelations;
-}
-
 RelationsRef Relations::getRelationsFromTypeFromOfficeDoc( const OUString& rType ) const
 {
     RelationsRef xRelations( new Relations( maFragmentPath ) );
diff --git a/unusedcode.easy b/unusedcode.easy
index 98a819e..d7b52c4 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -179,7 +179,6 @@ connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
 connectivity::sdbcx::OGroup::OGroup(unsigned char)
 oglcanvas::CanvasHelper::flush() const
 oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
-oox::core::Relations::getRelationsFromType(rtl::OUString const&) const
 oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
 rtl_OUString::convertFromString::test()
 sc::CLBuildKernelThread::consume()


More information about the Libreoffice-commits mailing list