diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-04 15:49:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-05 09:17:52 +0200 |
commit | 77c45eb25eb462bacdf7d658d6cb485f755beaa5 (patch) | |
tree | 560d2866bf40d7941be191795b715dc8d438bff4 | |
parent | 26f145549e19658a7f76770cfd5c8a4ad5942fad (diff) |
remove unused code oox::core::Relations::getRelationsFromType
Change-Id: I242ddcc1e352fbf92206a21d93e16c42a0e5ef8e
-rw-r--r-- | include/oox/core/relations.hxx | 1 | ||||
-rw-r--r-- | oox/source/core/relations.cxx | 9 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 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 8949a73697a9..28cf374a75f1 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -174,7 +174,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() |