Kaydet (Commit) a04db9e3 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS xmlfilter04 (1.46.148); FILE MERGED

2008/03/19 16:29:02 hbrinkm 1.46.148.2: RESYNC: (1.46-1.47); FILE MERGED
2008/02/28 20:02:49 sj 1.46.148.1: accepting number values for shape types, which is needed for the vml importer
üst e57b3eef
......@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svdoashp.cxx,v $
* $Revision: 1.48 $
* $Revision: 1.49 $
*
* This file is part of OpenOffice.org.
*
......@@ -681,10 +681,15 @@ void SdrObjCustomShape::MergeDefaultAttributes( const rtl::OUString* pType )
SdrCustomShapeGeometryItem aGeometryItem( (SdrCustomShapeGeometryItem&)GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ) );
if ( pType && pType->getLength() )
{
sal_Int32 nType = pType->toInt32();
if ( nType )
sShapeType = EnhancedCustomShapeTypeNames::Get( static_cast< MSO_SPT >( nType ) );
else
sShapeType = *pType;
aPropVal.Name = sType;
aPropVal.Value <<= *pType;
aPropVal.Value <<= sShapeType;
aGeometryItem.SetPropertyValue( aPropVal );
sShapeType = *pType;
}
else
{
......
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