diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-06 12:15:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-06 12:15:38 +0200 |
commit | 3efa3ad7b6de78c291f49858e50e6bedbd6a2173 (patch) | |
tree | f409d05b6ff550caa497401464f8c76e1dc63b26 /svx | |
parent | 1f23cc159de5e8584b9354a42d431356530d1ce0 (diff) |
SdrEdgreLine*DeltaItem::Put/QueryValue are same as underlying
...CntInt32Item::Put/QueryValue
Change-Id: I21602be0f4ba9d9e34a379a86d524b05976b0c8f
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdattr.cxx | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx index aee5b80239db..37e89ee243e4 100644 --- a/svx/source/svdraw/svdattr.cxx +++ b/svx/source/svdraw/svdattr.cxx @@ -1752,54 +1752,6 @@ SfxPoolItem * SdrEdgeLine1DeltaItem::Clone(SfxItemPool *) const return new SdrEdgeLine1DeltaItem(*this); } -bool SdrEdgeLine1DeltaItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const -{ - rVal <<= (sal_Int32)GetValue(); - return true; -} - -bool SdrEdgeLine1DeltaItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/) -{ - sal_Int32 nValue = 0; - if(!(rVal >>= nValue)) - return false; - - SetValue( nValue ); - return true; -} - -bool SdrEdgeLine2DeltaItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const -{ - rVal <<= (sal_Int32)GetValue(); - return true; -} - -bool SdrEdgeLine2DeltaItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/) -{ - sal_Int32 nValue = 0; - if(!(rVal >>= nValue)) - return false; - - SetValue( nValue ); - return true; -} - -bool SdrEdgeLine3DeltaItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const -{ - rVal <<= (sal_Int32)GetValue(); - return true; -} - -bool SdrEdgeLine3DeltaItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/) -{ - sal_Int32 nValue = 0; - if(!(rVal >>= nValue)) - return false; - - SetValue( nValue ); - return true; -} - //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // Measure //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |