summaryrefslogtreecommitdiff
path: root/oox/source/core/relations.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/core/relations.cxx')
-rw-r--r--oox/source/core/relations.cxx6
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