diff options
-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() |