[Libreoffice-commits] .: binfilter/bf_sw binfilter/inc

Caolán McNamara caolan at kemper.freedesktop.org
Thu Mar 22 05:29:00 PDT 2012


 binfilter/bf_sw/source/core/bastyp/sw_index.cxx |    8 ++------
 binfilter/inc/bf_sw/index.hxx                   |    2 --
 2 files changed, 2 insertions(+), 8 deletions(-)

New commits:
commit 1ac6932d891754769359cd53041cf46a32723602
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Mar 22 12:28:09 2012 +0000

    WaE: need a virtual dtor

diff --git a/binfilter/bf_sw/source/core/bastyp/sw_index.cxx b/binfilter/bf_sw/source/core/bastyp/sw_index.cxx
index 1356f25..26cee14 100644
--- a/binfilter/bf_sw/source/core/bastyp/sw_index.cxx
+++ b/binfilter/bf_sw/source/core/bastyp/sw_index.cxx
@@ -309,16 +309,12 @@ int SwIndex::nSerial = 0;
 /*N*/ {
 /*N*/ }
 
-#ifdef DBG_UTIL
-
-
 /*N*/ SwIndexReg::~SwIndexReg()
 /*N*/ {
+#ifdef DBG_UTIL
 /*N*/   OSL_ENSURE( !pFirst || !pLast, "Es sind noch Indizies angemeldet" );
-/*N*/ }
-
 #endif
-
+/*N*/ }
 
 /*N*/ void SwIndexReg::Update( const SwIndex& rIdx, xub_StrLen nDiff, BOOL bNeg )
 /*N*/ {
diff --git a/binfilter/inc/bf_sw/index.hxx b/binfilter/inc/bf_sw/index.hxx
index b985e72..4d14ea2 100644
--- a/binfilter/inc/bf_sw/index.hxx
+++ b/binfilter/inc/bf_sw/index.hxx
@@ -126,9 +126,7 @@ protected:
 
 public:
     SwIndexReg();
-#ifdef DBG_UTIL
     virtual ~SwIndexReg();
-#endif
 
     // rtti, abgeleitete moegens gleichtun oder nicht. Wenn sie es gleichtun
     // kann ueber das SwIndexReg typsicher gecastet werden.


More information about the Libreoffice-commits mailing list