summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-07-24 13:42:00 +0200
committerMichael Stahl <mstahl@redhat.com>2014-07-24 13:45:55 +0200
commit81b594afa7162552fc2489ba0c7e1e8b5addb4f2 (patch)
tree1c15d8269b4c0f9892baf62965de20593fde3651 /include/svl
parente904562af54545684b32d2042ded6bdb9459edca (diff)
svl: remove some odd and obsolete debugging code related to MI_HATS_REPARIERT
This was apparently disabled before the MI_HATS_REPARIERT check was removed in f03a3edf2523c208948059861e0df48567834d0d, and then yesterday something in the header inclusions changed to enable the DBG macros that still used the removed stuff, but _only_ on Windows... now clean this up. Change-Id: I4222db252f4a886b3497ca0c22dbec26eaa6c994
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/filerec.hxx7
-rw-r--r--include/svl/itemset.hxx7
2 files changed, 0 insertions, 14 deletions
diff --git a/include/svl/filerec.hxx b/include/svl/filerec.hxx
index bc9b9626c0af..e7a0a6d91810 100644
--- a/include/svl/filerec.hxx
+++ b/include/svl/filerec.hxx
@@ -45,13 +45,6 @@
#define SFX_REC_HEADERSIZE_SINGLE 4 // additional HEADERSIZE_MINI => 8
#define SFX_REC_HEADERSIZE_MULTI 6 // additional HEADERSIZE_SINGLE => 14
-#ifndef DBG
-#ifdef DBG_UTIL
-#define DBG(x) x
-#else
-#define DBG(x)
-#endif
-#endif
// General file format: documented at class SfxMiniRecordReader below
diff --git a/include/svl/itemset.hxx b/include/svl/itemset.hxx
index eed23ce66ac7..86e07e16e9f3 100644
--- a/include/svl/itemset.hxx
+++ b/include/svl/itemset.hxx
@@ -33,11 +33,6 @@ typedef SfxPoolItem const** SfxItemArray;
#define USHORT_ARG int
-#ifdef DBG
-#undef DBG
-#endif
-#define DBG(s)
-
#define SFX_ITEMSET_GET( rSet, pItem, ItemType, nSlotId, bDeep ) \
const ItemType *pItem = (const ItemType*) \
(rSet).GetItem( nSlotId, bDeep, TYPE(ItemType) )
@@ -146,9 +141,7 @@ public:
inline void SfxItemSet::SetParent( const SfxItemSet* pNew )
{
- DBG( if (_pParent) --*_pChildCount(_pParent) );
_pParent = pNew;
- DBG( if (_pParent) ++*_pChildCount(_pParent) );
}
class SVL_DLLPUBLIC SfxAllItemSet: public SfxItemSet