diff options
author | Andre Fischer <af@apache.org> | 2012-07-13 08:27:09 +0000 |
---|---|---|
committer | Andre Fischer <af@apache.org> | 2012-07-13 08:27:09 +0000 |
commit | 514843f9d4fbd4db287300faa52ca6bda618aea1 (patch) | |
tree | 36efc255162f857fb89de9b8fd8758ab4152b06b /filter | |
parent | 57fdcdd79d1682ee7d5e88fbab3803631496afa2 (diff) |
#i119495# Fixed export of arrow styles to PPT.
Reported by: Du Jing
Patch by: Jianyuan Li
Review by: Andre Fischer
Notes
merged as: 74700570730f7259a78c031973cbecd98ef777ff
Diffstat (limited to 'filter')
-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, ' ' ) ); |