diff options
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 19d695e19af8..ae96be213f4d 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -754,6 +754,7 @@ sal_Bool EscherPropertyContainer::GetLineArrow( const sal_Bool bLineStart, sal_Int16 nWhich = bLineStart ? XATTR_LINESTART : XATTR_LINEEND; SvxUnogetApiNameForItem( nWhich, aArrowStartName, aApiName ); + sal_Bool bIsMapped = sal_True; if ( aApiName.getLength() ) { @@ -788,8 +789,11 @@ sal_Bool EscherPropertyContainer::GetLineArrow( const sal_Bool bLineStart, reLineEnd = ESCHER_LineArrowDiamondEnd; else if ( aApiName.equalsAscii( "Arrow" ) ) reLineEnd = ESCHER_LineArrowEnd; + else + bIsMapped = sal_False; + } - else if ( aArrowStartName.GetTokenCount( ' ' ) == 2 ) + if ( !bIsMapped && aArrowStartName.GetTokenCount( ' ' ) == 2 ) { sal_Bool b = sal_True; String aArrowName( aArrowStartName.GetToken( 0, ' ' ) ); |