summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorVarun Dhall <varun.dhall@studentpartner.com>2017-08-11 10:01:25 +0530
committerMichael Stahl <mstahl@redhat.com>2017-08-11 11:48:09 +0200
commit8b3fcb6a4f80e803586120535768745f6637b34d (patch)
tree63239549f1977207b204641c4ca5c1ae21351686 /svx
parentf78aadea74b99ba71f930c7cf52352da9ee965e9 (diff)
Removing unused SfxItemPool serialisation from svx
Change-Id: Id479c77335c7c4d8dd959a70ebc382a8448077e1 Reviewed-on: https://gerrit.libreoffice.org/41000 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmitems.cxx14
-rw-r--r--svx/source/inc/fmitems.hxx2
-rw-r--r--svx/source/items/SmartTagItem.cxx12
-rw-r--r--svx/source/items/chrtitem.cxx13
-rw-r--r--svx/source/items/customshapeitem.cxx10
-rw-r--r--svx/source/items/e3ditem.cxx24
-rw-r--r--svx/source/items/galleryitem.cxx10
-rw-r--r--svx/source/items/grfitem.cxx39
-rw-r--r--svx/source/items/hlnkitem.cxx162
-rw-r--r--svx/source/items/numinf.cxx14
-rw-r--r--svx/source/items/viewlayoutitem.cxx12
-rw-r--r--svx/source/items/zoomslideritem.cxx12
-rw-r--r--svx/source/svdraw/svdattr.cxx82
13 files changed, 0 insertions, 406 deletions
diff --git a/svx/source/form/fmitems.cxx b/svx/source/form/fmitems.cxx
index f7adc0731144..2d09ce0e3fe4 100644
--- a/svx/source/form/fmitems.cxx
+++ b/svx/source/form/fmitems.cxx
@@ -39,18 +39,4 @@ SfxPoolItem* FmInterfaceItem::Clone( SfxItemPool* ) const
}
-SvStream& FmInterfaceItem::Store( SvStream& rStrm , sal_uInt16 /*nItemVersion*/ ) const
-{
- OSL_FAIL( "FmInterfaceItem::Store: not implemented!" );
- return rStrm;
-}
-
-
-SfxPoolItem* FmInterfaceItem::Create( SvStream& /*rStrm*/, sal_uInt16 ) const
-{
- OSL_FAIL( "FmInterfaceItem::Create: not implemented!" );
- return new FmInterfaceItem( *this );
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/inc/fmitems.hxx b/svx/source/inc/fmitems.hxx
index 884fc57e25ad..fd1ce3a6f5a2 100644
--- a/svx/source/inc/fmitems.hxx
+++ b/svx/source/inc/fmitems.hxx
@@ -41,8 +41,6 @@ public:
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
- virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
- virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion ) const override;
};
inline FmInterfaceItem& FmInterfaceItem::operator=( const FmInterfaceItem &rCpy )
diff --git a/svx/source/items/SmartTagItem.cxx b/svx/source/items/SmartTagItem.cxx
index 325d4f3a8c8b..c70aad6fd6fa 100644
--- a/svx/source/items/SmartTagItem.cxx
+++ b/svx/source/items/SmartTagItem.cxx
@@ -92,16 +92,4 @@ SfxPoolItem* SvxSmartTagItem::Clone( SfxItemPool * ) const
return new SvxSmartTagItem( *this );
}
-
-SvStream& SvxSmartTagItem::Store( SvStream& rStream, sal_uInt16 /*nItemVersion*/ ) const
-{
- return rStream;
-}
-
-
-SfxPoolItem* SvxSmartTagItem::Create(SvStream& , sal_uInt16) const
-{
- return nullptr;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/items/chrtitem.cxx b/svx/source/items/chrtitem.cxx
index e6150b94494c..8c8edffb463b 100644
--- a/svx/source/items/chrtitem.cxx
+++ b/svx/source/items/chrtitem.cxx
@@ -147,19 +147,6 @@ SfxPoolItem* SvxDoubleItem::Clone(SfxItemPool* /*pPool*/) const
return new SvxDoubleItem(*this);
}
-SfxPoolItem* SvxDoubleItem::Create(SvStream& rIn, sal_uInt16 /*nVersion*/) const
-{
- double _fVal;
- rIn.ReadDouble( _fVal );
- return new SvxDoubleItem(_fVal, Which());
-}
-
-SvStream& SvxDoubleItem::Store(SvStream& rOut, sal_uInt16 /*nItemVersion*/) const
-{
- rOut.WriteDouble( fVal );
- return rOut;
-}
-
bool SvxDoubleItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
rVal <<= fVal;
diff --git a/svx/source/items/customshapeitem.cxx b/svx/source/items/customshapeitem.cxx
index 4c898344daab..507a7694bab7 100644
--- a/svx/source/items/customshapeitem.cxx
+++ b/svx/source/items/customshapeitem.cxx
@@ -266,16 +266,6 @@ bool SdrCustomShapeGeometryItem::GetPresentation(
return false;
}
-SfxPoolItem* SdrCustomShapeGeometryItem::Create( SvStream& /*rIn*/, sal_uInt16 /*nItemVersion*/ ) const
-{
- return new SdrCustomShapeGeometryItem;
-}
-
-SvStream& SdrCustomShapeGeometryItem::Store( SvStream& rOut, sal_uInt16 /*nItemVersion*/ ) const
-{
- return rOut;
-}
-
SfxPoolItem* SdrCustomShapeGeometryItem::Clone( SfxItemPool * /*pPool*/ ) const
{
return new SdrCustomShapeGeometryItem( aPropSeq );
diff --git a/svx/source/items/e3ditem.cxx b/svx/source/items/e3ditem.cxx
index 048afaf00ced..50a8f89d44b8 100644
--- a/svx/source/items/e3ditem.cxx
+++ b/svx/source/items/e3ditem.cxx
@@ -58,30 +58,6 @@ SfxPoolItem* SvxB3DVectorItem::Clone( SfxItemPool* /*pPool*/ ) const
}
-SfxPoolItem* SvxB3DVectorItem::Create(SvStream &rStream, sal_uInt16 /*nVersion*/) const
-{
- basegfx::B3DVector aStr;
- double fValue;
- rStream.ReadDouble( fValue ); aStr.setX(fValue);
- rStream.ReadDouble( fValue ); aStr.setY(fValue);
- rStream.ReadDouble( fValue ); aStr.setZ(fValue);
- return new SvxB3DVectorItem(Which(), aStr);
-}
-
-
-SvStream& SvxB3DVectorItem::Store(SvStream &rStream, sal_uInt16 /*nItemVersion*/) const
-{
-
- // ## if (nItemVersion)
- double fValue;
- fValue = aVal.getX(); rStream.WriteDouble( fValue );
- fValue = aVal.getY(); rStream.WriteDouble( fValue );
- fValue = aVal.getZ(); rStream.WriteDouble( fValue );
-
- return rStream;
-}
-
-
bool SvxB3DVectorItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
assert(!rtl::math::isNan(aVal.getX()) && !rtl::math::isNan(aVal.getY()) && !rtl::math::isNan(aVal.getZ()));
diff --git a/svx/source/items/galleryitem.cxx b/svx/source/items/galleryitem.cxx
index cd82898dfe04..c64d1e1a310a 100644
--- a/svx/source/items/galleryitem.cxx
+++ b/svx/source/items/galleryitem.cxx
@@ -138,14 +138,4 @@ SfxPoolItem* SvxGalleryItem::Clone( SfxItemPool * ) const
return new SvxGalleryItem( *this );
}
-SvStream& SvxGalleryItem::Store( SvStream& rStream, sal_uInt16 /*nItemVersion*/ ) const
-{
- return rStream;
-}
-
-SfxPoolItem* SvxGalleryItem::Create(SvStream& , sal_uInt16) const
-{
- return nullptr;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/items/grfitem.cxx b/svx/source/items/grfitem.cxx
index 8f2d989e03ff..31f4a3a96f4f 100644
--- a/svx/source/items/grfitem.cxx
+++ b/svx/source/items/grfitem.cxx
@@ -51,45 +51,6 @@ bool SvxGrfCrop::operator==( const SfxPoolItem& rAttr ) const
nBottom == rCrop.GetBottom();
}
-SfxPoolItem* SvxGrfCrop::Create( SvStream& rStrm, sal_uInt16 nVersion ) const
-{
- sal_Int32 top, left, right, bottom;
- rStrm.ReadInt32( top ).ReadInt32( left ).ReadInt32( right ).ReadInt32( bottom );
-
- if( GRFCROP_VERSION_SWDEFAULT == nVersion )
- {
- top = -top;
- bottom = -bottom;
- left = -left;
- right = -right;
- }
-
- SvxGrfCrop* pNew = static_cast<SvxGrfCrop*>(Clone());
- pNew->SetLeft( left );
- pNew->SetRight( right );
- pNew->SetTop( top );
- pNew->SetBottom( bottom );
- return pNew;
-}
-
-
-SvStream& SvxGrfCrop::Store( SvStream& rStrm, sal_uInt16 nVersion ) const
-{
- sal_Int32 left = GetLeft(), right = GetRight(),
- top = GetTop(), bottom = GetBottom();
- if( GRFCROP_VERSION_SWDEFAULT == nVersion )
- {
- top = -top;
- bottom = -bottom;
- left = -left;
- right = -right;
- }
-
- rStrm.WriteInt32( top ).WriteInt32( left ).WriteInt32( right ).WriteInt32( bottom );
-
- return rStrm;
-}
-
bool SvxGrfCrop::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
{
diff --git a/svx/source/items/hlnkitem.cxx b/svx/source/items/hlnkitem.cxx
index 86381a25417e..18a33e734f0f 100644
--- a/svx/source/items/hlnkitem.cxx
+++ b/svx/source/items/hlnkitem.cxx
@@ -27,168 +27,6 @@
SfxPoolItem* SvxHyperlinkItem::CreateDefault() { return new SvxHyperlinkItem(0);}
-#define HYPERLINKFF_MARKER 0x599401FE
-
-SvStream& SvxHyperlinkItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const
-{
- // store 'simple' data
- // UNICODE: rStrm << sName;
- rStrm.WriteUniOrByteString(sName, rStrm.GetStreamCharSet());
-
- // UNICODE: rStrm << sURL;
- rStrm.WriteUniOrByteString(sURL, rStrm.GetStreamCharSet());
-
- // UNICODE: rStrm << sTarget;
- rStrm.WriteUniOrByteString(sTarget, rStrm.GetStreamCharSet());
-
- rStrm.WriteUInt32( eType );
-
- // marker for versioninfo
- rStrm.WriteUInt32( HYPERLINKFF_MARKER );
-
- // new data
- // UNICODE: rStrm << sIntName;
- rStrm.WriteUniOrByteString(sIntName, rStrm.GetStreamCharSet());
-
- // macro-events
- rStrm.WriteUInt16( (sal_uInt16)nMacroEvents );
-
- // store macros
- sal_uInt16 nCnt = pMacroTable ? (sal_uInt16)pMacroTable->size() : 0;
- sal_uInt16 nMax = nCnt;
- if( nCnt )
- {
- for ( SvxMacroTable::const_iterator it = pMacroTable->begin();
- it != pMacroTable->end(); ++it)
- if( STARBASIC != it->second.GetScriptType() )
- --nCnt;
- }
-
- rStrm.WriteUInt16( nCnt );
-
- if( nCnt )
- {
- // 1. StarBasic-Macros
- for ( SvxMacroTable::const_iterator it = pMacroTable->begin();
- it != pMacroTable->end(); ++it)
- {
- const SvxMacro& rMac = it->second;
- if( STARBASIC == rMac.GetScriptType() )
- {
- rStrm.WriteUInt16( sal_uInt16(it->first) );
-
- // UNICODE: rStrm << pMac->GetLibName();
- rStrm.WriteUniOrByteString(rMac.GetLibName(), rStrm.GetStreamCharSet());
-
- // UNICODE: rStrm << pMac->GetMacName();
- rStrm.WriteUniOrByteString(rMac.GetMacName(), rStrm.GetStreamCharSet());
- }
- }
- }
-
- nCnt = nMax - nCnt;
- rStrm.WriteUInt16( nCnt );
- if( nCnt )
- {
- // 2. css::script::JavaScript-Macros
- for ( SvxMacroTable::const_iterator it = pMacroTable->begin();
- it != pMacroTable->end(); ++it)
- {
- const SvxMacro& rMac = it->second;
- if( STARBASIC != rMac.GetScriptType() )
- {
- rStrm.WriteUInt16( sal_uInt16(it->first) );
-
- // UNICODE: rStrm << pMac->GetLibName();
- rStrm.WriteUniOrByteString(rMac.GetLibName(), rStrm.GetStreamCharSet());
-
- // UNICODE: rStrm << pMac->GetMacName();
- rStrm.WriteUniOrByteString(rMac.GetMacName(), rStrm.GetStreamCharSet());
-
- rStrm.WriteUInt16( rMac.GetScriptType() );
- }
- }
- }
-
- return rStrm;
-}
-
-SfxPoolItem* SvxHyperlinkItem::Create( SvStream &rStrm, sal_uInt16 /*nItemVersion*/ ) const
-{
- SvxHyperlinkItem* pNew = new SvxHyperlinkItem( Which() );
- sal_uInt32 nType;
-
- // simple data-types
- // UNICODE: rStrm >> pNew->sName;
- pNew->sName = rStrm.ReadUniOrByteString(rStrm.GetStreamCharSet());
-
- // UNICODE: rStrm >> pNew->sURL;
- pNew->sURL = rStrm.ReadUniOrByteString(rStrm.GetStreamCharSet());
-
- // UNICODE: rStrm >> pNew->sTarget;
- pNew->sTarget = rStrm.ReadUniOrByteString(rStrm.GetStreamCharSet());
-
- rStrm.ReadUInt32( nType );
- pNew->eType = (SvxLinkInsertMode) nType;
-
- sal_uInt32 nPos = rStrm.Tell();
- sal_uInt32 nMarker;
- rStrm.ReadUInt32( nMarker );
- if ( nMarker == HYPERLINKFF_MARKER )
- {
- // new data
- // UNICODE: rStrm >> pNew->sIntName;
- pNew->sIntName = rStrm.ReadUniOrByteString(rStrm.GetStreamCharSet());
-
- // macro-events
- sal_uInt16 nTmp;
- rStrm.ReadUInt16(nTmp);
- pNew->nMacroEvents = (HyperDialogEvent)nTmp;
-
- // macros
- sal_uInt16 nCnt;
- rStrm.ReadUInt16( nCnt );
- while( nCnt-- )
- {
- sal_uInt16 nCurKey;
- OUString aLibName, aMacName;
-
- rStrm.ReadUInt16( nCurKey );
- // UNICODE: rStrm >> aLibName;
- aLibName = rStrm.ReadUniOrByteString(rStrm.GetStreamCharSet());
-
- // UNICODE: rStrm >> aMacName;
- aMacName = rStrm.ReadUniOrByteString(rStrm.GetStreamCharSet());
-
- pNew->SetMacro( (HyperDialogEvent)nCurKey, SvxMacro( aMacName, aLibName, STARBASIC ) );
- }
-
- rStrm.ReadUInt16( nCnt );
- while( nCnt-- )
- {
- sal_uInt16 nCurKey, nScriptType;
- OUString aLibName, aMacName;
-
- rStrm.ReadUInt16( nCurKey );
-
- // UNICODE: rStrm >> aLibName;
- aLibName = rStrm.ReadUniOrByteString(rStrm.GetStreamCharSet());
-
- // UNICODE: rStrm >> aMacName;
- aMacName = rStrm.ReadUniOrByteString(rStrm.GetStreamCharSet());
-
- rStrm.ReadUInt16( nScriptType );
-
- pNew->SetMacro( (HyperDialogEvent)nCurKey, SvxMacro( aMacName, aLibName,
- (ScriptType)nScriptType ) );
- }
- }
- else
- rStrm.Seek( nPos );
-
- return pNew;
-}
-
SvxHyperlinkItem::SvxHyperlinkItem( const SvxHyperlinkItem& rHyperlinkItem ):
SfxPoolItem(rHyperlinkItem)
{
diff --git a/svx/source/items/numinf.cxx b/svx/source/items/numinf.cxx
index ec538b89119f..56074beb0511 100644
--- a/svx/source/items/numinf.cxx
+++ b/svx/source/items/numinf.cxx
@@ -155,20 +155,6 @@ SfxPoolItem* SvxNumberInfoItem::Clone( SfxItemPool * ) const
return new SvxNumberInfoItem( *this );
}
-// Load/Save is unused!
-
-
-SfxPoolItem* SvxNumberInfoItem::Create( SvStream& /*rStream*/, sal_uInt16 ) const
-{
- return new SvxNumberInfoItem( *this );
-}
-
-
-SvStream& SvxNumberInfoItem::Store( SvStream &rStream, sal_uInt16 /*nItemVersion*/ ) const
-{
- return rStream;
-}
-
void SvxNumberInfoItem::SetDelFormatArray( const sal_uInt32* pData,
const sal_uInt32 nCount )
diff --git a/svx/source/items/viewlayoutitem.cxx b/svx/source/items/viewlayoutitem.cxx
index 1a1abc073b14..8310933e1d7c 100644
--- a/svx/source/items/viewlayoutitem.cxx
+++ b/svx/source/items/viewlayoutitem.cxx
@@ -63,18 +63,6 @@ SfxPoolItem* SvxViewLayoutItem::Clone( SfxItemPool * /*pPool*/ ) const
}
-SfxPoolItem* SvxViewLayoutItem::Create( SvStream& /*rStrm*/, sal_uInt16 /*nVersion*/ ) const
-{
- return nullptr;
-}
-
-
-SvStream& SvxViewLayoutItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const
-{
- return rStrm;
-}
-
-
bool SvxViewLayoutItem::operator==( const SfxPoolItem& rAttr ) const
{
assert(SfxPoolItem::operator==(rAttr));
diff --git a/svx/source/items/zoomslideritem.cxx b/svx/source/items/zoomslideritem.cxx
index 53d8a0444c40..d03674e3316c 100644
--- a/svx/source/items/zoomslideritem.cxx
+++ b/svx/source/items/zoomslideritem.cxx
@@ -60,18 +60,6 @@ SfxPoolItem* SvxZoomSliderItem::Clone( SfxItemPool * /*pPool*/ ) const
}
-SfxPoolItem* SvxZoomSliderItem::Create( SvStream& /*rStrm*/, sal_uInt16 /*nVersion*/ ) const
-{
- return nullptr;
-}
-
-
-SvStream& SvxZoomSliderItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const
-{
- return rStrm;
-}
-
-
bool SvxZoomSliderItem::operator==( const SfxPoolItem& rAttr ) const
{
assert(SfxPoolItem::operator==(rAttr));
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index 9b034d60144a..016c19dae476 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -610,15 +610,6 @@ void SdrItemPool::TakeItemName(sal_uInt16 nWhich, OUString& rItemName)
// FractionItem
-SdrFractionItem::SdrFractionItem(sal_uInt16 nId, SvStream& rIn):
- SfxPoolItem(nId)
-{
- sal_Int32 nMul,nDiv;
- rIn.ReadInt32( nMul );
- rIn.ReadInt32( nDiv );
- nValue=Fraction(nMul,nDiv);
-}
-
bool SdrFractionItem::operator==(const SfxPoolItem& rCmp) const
{
return SfxPoolItem::operator==(rCmp) &&
@@ -658,18 +649,6 @@ bool SdrFractionItem::GetPresentation(
return false;
}
-SfxPoolItem* SdrFractionItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const
-{
- return new SdrFractionItem(Which(),rIn);
-}
-
-SvStream& SdrFractionItem::Store(SvStream& rOut, sal_uInt16 /*nItemVers*/) const
-{
- rOut.WriteInt32( nValue.GetNumerator() );
- rOut.WriteInt32( nValue.GetDenominator() );
- return rOut;
-}
-
SfxPoolItem* SdrFractionItem::Clone(SfxItemPool * /*pPool*/) const
{
return new SdrFractionItem(Which(),GetValue());
@@ -705,11 +684,6 @@ bool SdrScaleItem::GetPresentation(
return true;
}
-SfxPoolItem* SdrScaleItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const
-{
- return new SdrScaleItem(Which(),rIn);
-}
-
SfxPoolItem* SdrScaleItem::Clone(SfxItemPool * /*pPool*/) const
{
return new SdrScaleItem(Which(),GetValue());
@@ -1335,16 +1309,6 @@ SdrTextFixedCellHeightItem::SdrTextFixedCellHeightItem( bool bUseFixedCellHeight
: SfxBoolItem( SDRATTR_TEXT_USEFIXEDCELLHEIGHT, bUseFixedCellHeight )
{
}
-SdrTextFixedCellHeightItem::SdrTextFixedCellHeightItem( SvStream & rStream, sal_uInt16 nVersion )
- : SfxBoolItem( SDRATTR_TEXT_USEFIXEDCELLHEIGHT, false )
-{
- if ( nVersion )
- {
- bool bValue;
- rStream.ReadCharAsBool( bValue );
- SetValue( bValue );
- }
-}
bool SdrTextFixedCellHeightItem::GetPresentation( SfxItemPresentation ePres,
MapUnit /*eCoreMetric*/, MapUnit /*ePresentationMetric*/,
OUString &rText, const IntlWrapper& ) const
@@ -1358,19 +1322,6 @@ bool SdrTextFixedCellHeightItem::GetPresentation( SfxItemPresentation ePres,
}
return true;
}
-SfxPoolItem* SdrTextFixedCellHeightItem::Create( SvStream& rIn, sal_uInt16 nItemVersion ) const
-{
- return new SdrTextFixedCellHeightItem( rIn, nItemVersion );
-}
-SvStream& SdrTextFixedCellHeightItem::Store( SvStream& rOut, sal_uInt16 nItemVersion ) const
-{
- if ( nItemVersion )
- {
- bool bValue = GetValue();
- rOut.WriteBool( bValue );
- }
- return rOut;
-}
SfxPoolItem* SdrTextFixedCellHeightItem::Clone( SfxItemPool * /*pPool*/) const
{
return new SdrTextFixedCellHeightItem( GetValue() );
@@ -1399,22 +1350,6 @@ SdrCustomShapeAdjustmentItem::SdrCustomShapeAdjustmentItem() : SfxPoolItem( SDRA
{
}
-SdrCustomShapeAdjustmentItem::SdrCustomShapeAdjustmentItem( SvStream& rIn, sal_uInt16 nVersion ):
- SfxPoolItem( SDRATTR_CUSTOMSHAPE_ADJUSTMENT )
-{
- if ( nVersion )
- {
- SdrCustomShapeAdjustmentValue aVal;
- sal_uInt32 i, nCount;
- rIn.ReadUInt32( nCount );
- for ( i = 0; i < nCount; i++ )
- {
- rIn.ReadUInt32( aVal.nValue );
- SetValue( i, aVal );
- }
- }
-}
-
SdrCustomShapeAdjustmentItem::~SdrCustomShapeAdjustmentItem()
{
}
@@ -1456,23 +1391,6 @@ bool SdrCustomShapeAdjustmentItem::GetPresentation(
return true;
}
-SfxPoolItem* SdrCustomShapeAdjustmentItem::Create( SvStream& rIn, sal_uInt16 nItemVersion ) const
-{
- return new SdrCustomShapeAdjustmentItem( rIn, nItemVersion );
-}
-
-SvStream& SdrCustomShapeAdjustmentItem::Store( SvStream& rOut, sal_uInt16 nItemVersion ) const
-{
- if ( nItemVersion )
- {
- sal_uInt32 i, nCount = GetCount();
- rOut.WriteUInt32( nCount );
- for ( i = 0; i < nCount; i++ )
- rOut.WriteUInt32( GetValue( i ).nValue );
- }
- return rOut;
-}
-
SfxPoolItem* SdrCustomShapeAdjustmentItem::Clone( SfxItemPool * /*pPool*/) const
{
SdrCustomShapeAdjustmentItem* pItem = new SdrCustomShapeAdjustmentItem;