summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <jumbo4444@yahoo.fr>2012-02-14 22:39:47 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-17 21:36:57 +0000
commit26bd18dfc2516aab507dfb478cfc31e4bf57442f (patch)
tree49e6525be26ff0f2a9fd362d37adf427e106970e /sw
parentWaE: add horror cast to calm Stephan's tinderbox (diff)
downloadcore-26bd18dfc2516aab507dfb478cfc31e4bf57442f.tar.gz
core-26bd18dfc2516aab507dfb478cfc31e4bf57442f.zip
EasyHack 42790: get rid of PRODUCT
Preprocessor constant PRODUCT is replaced by !DBG_UTIL
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/index.hxx2
-rw-r--r--sw/source/core/bastyp/index.cxx2
-rw-r--r--sw/source/core/undo/rolbck.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx
index 8d183db8f243..a47bbaf40f10 100644
--- a/sw/inc/index.hxx
+++ b/sw/inc/index.hxx
@@ -211,7 +211,7 @@ inline SwIndex& SwIndex::operator= ( xub_StrLen const nVal )
return *this;
}
-#endif // PRODUCT
+#endif // ifndef DBG_UTIL
#endif
diff --git a/sw/source/core/bastyp/index.cxx b/sw/source/core/bastyp/index.cxx
index 88ee1d38e3c2..37a6c608d17f 100644
--- a/sw/source/core/bastyp/index.cxx
+++ b/sw/source/core/bastyp/index.cxx
@@ -406,7 +406,7 @@ SwIndex& SwIndex::operator= ( xub_StrLen const nVal )
return *this;
}
-#endif // ifndef PRODUCT
+#endif // ifdef DBG_UTIL
void SwIndexReg::MoveTo( SwIndexReg& rArr )
{
diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx
index cdb85b9fab5c..8e00a53e0311 100644
--- a/sw/source/core/undo/rolbck.cxx
+++ b/sw/source/core/undo/rolbck.cxx
@@ -829,7 +829,7 @@ SwHistoryResetAttrSet::SwHistoryResetAttrSet( const SfxItemSet& rSet,
{
const sal_uInt16 nWhich = aIter.GetCurItem()->Which();
-#ifndef PRODUCT
+#ifdef DBG_UTIL
switch (nWhich)
{
case RES_TXTATR_REFMARK:
@@ -845,7 +845,7 @@ SwHistoryResetAttrSet::SwHistoryResetAttrSet( const SfxItemSet& rSet,
"\nnot such a good idea");
break;
}
-#endif
+#endif // DBG_UTIL
// Character attribute cannot be inserted into the hints array
// anymore. Therefore we have to treat them as one RES_TXTATR_AUTOFMT: