diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-19 21:14:55 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-19 21:23:27 +0200 |
commit | 160cfb5e5e4ab6c9e6062c74ba6ed1c610a4981a (patch) | |
tree | cf9024972c0d0535a16763968a0c0c3192671f77 /svl | |
parent | debea9d3250e809e323461324514e9d073d06e3a (diff) |
Bin the HACK() sillyness
Change-Id: Ieeebc4098404fa006d66bb8b656172a4348b1dc1
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/itemset.hxx | 2 | ||||
-rw-r--r-- | svl/source/items/itempool.cxx | 4 | ||||
-rw-r--r-- | svl/source/items/rngitem_inc.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/svl/inc/svl/itemset.hxx b/svl/inc/svl/itemset.hxx index 04076d794abb..a38398ac1ce7 100644 --- a/svl/inc/svl/itemset.hxx +++ b/svl/inc/svl/itemset.hxx @@ -118,7 +118,7 @@ public: virtual void InvalidateItem( sal_uInt16 nWhich ); virtual sal_uInt16 ClearItem( sal_uInt16 nWhich = 0); virtual void ClearInvalidItems( sal_Bool bHardDefault = sal_False ); - void InvalidateAllItems(); HACK(via nWhich = 0) + void InvalidateAllItems(); // HACK(via nWhich = 0) ??? inline void SetParent( const SfxItemSet* pNew ); diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index e6fdc8c0335b..54484216c200 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -376,7 +376,7 @@ void SfxItemPool::SetSecondaryPool( SfxItemPool *pPool ) if ( pImp->mpSecondary ) { #ifdef DBG_UTIL - HACK( "fuer Image, dort gibt es derzeit keine Statics - Bug" ) + SAL_WARN( "svl.items", "fuer Image, dort gibt es derzeit keine Statics - Bug" ); if ( pImp->ppStaticDefaults ) { // Delete() ist noch nicht gelaufen? @@ -514,7 +514,7 @@ void SfxItemPool::Delete() sal_uInt16 nArrCnt; //Erst die SetItems abraeumen - HACK( "fuer Image, dort gibt es derzeit keine Statics - Bug" ) + SAL_WARN( "svl.items", "fuer Image, dort gibt es derzeit keine Statics - Bug" ); if ( pImp->ppStaticDefaults ) { for ( nArrCnt = GetSize_Impl(); diff --git a/svl/source/items/rngitem_inc.cxx b/svl/source/items/rngitem_inc.cxx index 8580b58cc1b6..e1720690624d 100644 --- a/svl/source/items/rngitem_inc.cxx +++ b/svl/source/items/rngitem_inc.cxx @@ -177,7 +177,7 @@ SfxItemPresentation SfxXRangesItem::GetPresentation( SfxItemPresentation /*ePres XubString &/*rText*/, const IntlWrapper * ) const { - HACK(n. i.) + // not implemented return SFX_ITEM_PRESENTATION_NONE; } |