summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-11-24 11:22:42 +0100
committerJan Holesovsky <kendy@suse.cz>2011-11-24 11:22:42 +0100
commit0c52001b5807e671c31b66658ccf474243b97379 (patch)
tree6a4af11a981bbb41501e535830f605490081e564 /sw
parentd24778870ab356828c3cf6d884b6630433549e34 (diff)
Fix non-DBG_UTIL build.
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/swtable.hxx7
-rw-r--r--sw/source/core/table/swtable.cxx2
2 files changed, 1 insertions, 8 deletions
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx
index 34219d41c206..fb1d253b3879 100644
--- a/sw/inc/swtable.hxx
+++ b/sw/inc/swtable.hxx
@@ -411,12 +411,7 @@ public:
void ChgFrmFmt( SwTableBoxFmt *pNewFmt );
const SwStartNode *GetSttNd() const { return pSttNd; }
- sal_uLong GetSttIdx() const
-#ifdef DBG_UTIL
- ;
-#else
- { return pSttNd ? pSttNd->GetIndex() : 0; }
-#endif
+ sal_uLong GetSttIdx() const;
// Search next/previous box with content.
SwTableBox* FindNextBox( const SwTable&, const SwTableBox* =0,
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx
index 29b2f1971c04..c673b0e97701 100644
--- a/sw/source/core/table/swtable.cxx
+++ b/sw/source/core/table/swtable.cxx
@@ -1954,12 +1954,10 @@ sal_Bool SwTableBox::IsInHeadline( const SwTable* pTbl ) const
return pTbl->GetTabLines()[ 0 ] == pLine;
}
-#ifdef DBG_UTIL
sal_uLong SwTableBox::GetSttIdx() const
{
return pSttNd ? pSttNd->GetIndex() : 0;
}
-#endif
// erfrage vom Client Informationen
sal_Bool SwTable::GetInfo( SfxPoolItem& rInfo ) const