diff options
Diffstat (limited to 'svl/inc/svl/szitem.hxx')
-rw-r--r-- | svl/inc/svl/szitem.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svl/inc/svl/szitem.hxx b/svl/inc/svl/szitem.hxx index cd8a40d33e55..6c9dfeab9860 100644 --- a/svl/inc/svl/szitem.hxx +++ b/svl/inc/svl/szitem.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,7 +42,7 @@ DBG_NAMEEX(SfxSizeItem) class SfxSizeItem : public SfxPoolItem { private: - Size aVal; + Size aVal; public: TYPEINFO(); @@ -58,18 +58,18 @@ public: XubString &rText, const IntlWrapper * = 0 ) const; - virtual int operator==( const SfxPoolItem& ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, + virtual int operator==( const SfxPoolItem& ) const; + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; - virtual SfxPoolItem* Create(SvStream &, USHORT nItemVersion) const; - virtual SvStream& Store(SvStream &, USHORT nItemVersion) const; + virtual SfxPoolItem* Create(SvStream &, USHORT nItemVersion) const; + virtual SvStream& Store(SvStream &, USHORT nItemVersion) const; - const Size& GetValue() const { return aVal; } - void SetValue( const Size& rNewVal ) { + const Size& GetValue() const { return aVal; } + void SetValue( const Size& rNewVal ) { DBG_ASSERT( GetRefCount() == 0, "SetValue() with pooled item" ); aVal = rNewVal; } }; |