diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-22 12:28:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-22 12:28:09 +0000 |
commit | 1ac6932d891754769359cd53041cf46a32723602 (patch) | |
tree | 57ec840818c91b6ad9264cb7e9e4c6883842bffb | |
parent | WaE: potentially uninitialized (diff) | |
download | binfilter-1ac6932d891754769359cd53041cf46a32723602.tar.gz binfilter-1ac6932d891754769359cd53041cf46a32723602.zip |
WaE: need a virtual dtor
-rw-r--r-- | binfilter/bf_sw/source/core/bastyp/sw_index.cxx | 8 | ||||
-rw-r--r-- | binfilter/inc/bf_sw/index.hxx | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/binfilter/bf_sw/source/core/bastyp/sw_index.cxx b/binfilter/bf_sw/source/core/bastyp/sw_index.cxx index 1356f2500..26cee1482 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 b985e7294..4d14ea246 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. |