diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-10 21:31:18 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-10 21:43:37 +0100 |
commit | 4c0fa3ea2dcc70a1385e6086429b45f7a96a7fe5 (patch) | |
tree | 2e2ba5fe1abae10a5d1be59b1c6706ad3ba0ef70 | |
parent | 0abe86ca86b91e83815b0d95e1d08bf7fbc697d2 (diff) |
unused oox::core::Relations::getRelationsFromType
Change-Id: I42e0ebd92d804c34cda42a05b91f45970a22fbe2
-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 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<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() |