From 4c0fa3ea2dcc70a1385e6086429b45f7a96a7fe5 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 10 Mar 2014 21:31:18 +0100 Subject: [PATCH] unused oox::core::Relations::getRelationsFromType Change-Id: I42e0ebd92d804c34cda42a05b91f45970a22fbe2 --- include/oox/core/relations.hxx | 1 - oox/source/core/relations.cxx | 9 --------- unusedcode.easy | 1 - 3 files changed, 11 deletions(-) diff --git a/include/oox/core/relations.hxx b/include/oox/core/relations.hxx index 4254b99bac42..bbe296883ba8 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 d2e1b28190b2..4122678e5e01 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 98a819e541f3..d7b52c4f0e61 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 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()