diff options
author | Christian Lippka <christian.lippka@sun.com> | 2010-04-20 16:57:28 +0200 |
---|---|---|
committer | Christian Lippka <christian.lippka@sun.com> | 2010-04-20 16:57:28 +0200 |
commit | d1086e1894c8a8d32d8bc1a96a5b77a1533774d9 (patch) | |
tree | ed57dfcc8936a7827b7a0a0ef507f779dd5d464e /sd/source/ui/table | |
parent | 4e342ea4a3186487d1af024784c1ee7b2c911978 (diff) |
#i107213# enable assign table style also for presentation tables
Diffstat (limited to 'sd/source/ui/table')
-rwxr-xr-x | sd/source/ui/table/TableDesignPane.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx index 678fdf6ccda7..2f35d70b0f0d 100755 --- a/sd/source/ui/table/TableDesignPane.cxx +++ b/sd/source/ui/table/TableDesignPane.cxx @@ -343,7 +343,9 @@ void TableDesignPane::onSelectionChanged() } Reference< XShapeDescriptor > xDesc( aSel, UNO_QUERY ); - if( xDesc.is() && xDesc->getShapeType().equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.TableShape" ) ) ) + if( xDesc.is() && + ( xDesc->getShapeType().equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.TableShape" ) ) || + xDesc->getShapeType().equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.presentation.TableShape" ) ) ) ) { xNewSelection = Reference< XPropertySet >::query( xDesc ); } |