[Libreoffice-commits] .: sw/inc sw/source

Jan Holesovsky kendy at kemper.freedesktop.org
Thu Nov 24 02:23:02 PST 2011


 sw/inc/swtable.hxx               |    7 +------
 sw/source/core/table/swtable.cxx |    2 --
 2 files changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 0c52001b5807e671c31b66658ccf474243b97379
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Thu Nov 24 11:22:42 2011 +0100

    Fix non-DBG_UTIL build.

diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx
index 34219d4..fb1d253 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 29b2f19..c673b0e 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


More information about the Libreoffice-commits mailing list