Kaydet (Commit) 54ca9821 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

fix one more relation type for OOXML strict

Change-Id: Ia63309271ac225883540ca0453fc5da21844d3ad
üst 3e82e552
...@@ -566,7 +566,8 @@ ExternalNameRef ExternalLink::getNameByIndex( sal_Int32 nIndex ) const ...@@ -566,7 +566,8 @@ ExternalNameRef ExternalLink::getNameByIndex( sal_Int32 nIndex ) const
void ExternalLink::setExternalTargetUrl( const OUString& rTargetUrl, const OUString& rTargetType ) void ExternalLink::setExternalTargetUrl( const OUString& rTargetUrl, const OUString& rTargetType )
{ {
meLinkType = LINKTYPE_UNKNOWN; meLinkType = LINKTYPE_UNKNOWN;
if( rTargetType == CREATE_OFFICEDOC_RELATION_TYPE( "externalLinkPath" ) ) if( rTargetType == CREATE_OFFICEDOC_RELATION_TYPE( "externalLinkPath" ) ||
rTargetType == CREATE_OFFICEDOC_RELATION_TYPE_STRICT( "externalLinkPath" ) )
{ {
maTargetUrl = getBaseFilter().getAbsoluteUrl( rTargetUrl ); maTargetUrl = getBaseFilter().getAbsoluteUrl( rTargetUrl );
if( !maTargetUrl.isEmpty() ) if( !maTargetUrl.isEmpty() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment