diff options
author | Noel Power <noel.power@suse.com> | 2012-12-13 16:26:58 +0000 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-12-13 16:54:07 +0000 |
commit | 2551fec6d2a73d10cfa2aec85ae7d00e237e0294 (patch) | |
tree | 0873c649ccbd5e0e4b05d864301e84de77e8252d /oox/source/core/relations.cxx | |
parent | d3a9e97164c0071d8b18f8dcf4197ec7c5c5c2f9 (diff) |
fix fdo#58237 import hyperlinks for shapes in xlsx documents
Change-Id: Ib0c661dbb3ce9a2f8c8d29707a1cf0c65aadc81f
Diffstat (limited to 'oox/source/core/relations.cxx')
-rw-r--r-- | oox/source/core/relations.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/oox/source/core/relations.cxx b/oox/source/core/relations.cxx index 501f515ed410..c49fe6320bf4 100644 --- a/oox/source/core/relations.cxx +++ b/oox/source/core/relations.cxx @@ -83,6 +83,12 @@ OUString Relations::getExternalTargetFromRelId( const OUString& rRelId ) const return (pRelation && pRelation->mbExternal) ? pRelation->maTarget : OUString(); } +OUString Relations::getInternalTargetFromRelId( const OUString& rRelId ) const +{ + const Relation* pRelation = getRelationFromRelId( rRelId ); + return (pRelation && !pRelation->mbExternal) ? pRelation->maTarget : OUString(); +} + OUString Relations::getFragmentPathFromRelation( const Relation& rRelation ) const { // no target, no fragment path |