Kaydet (Commit) fdb6e417 authored tarafından August Sodora's avatar August Sodora

Remove unused member variable

üst 900e3504
...@@ -963,14 +963,11 @@ sNm.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "_Head" )); ...@@ -963,14 +963,11 @@ sNm.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "_Head" ));
// sortierte Liste aller Verzeichnismarken und Verzeichnisbereiche // sortierte Liste aller Verzeichnismarken und Verzeichnisbereiche
void* p = 0; void* p = 0;
String* pStr = 0;
sal_uInt16 nCnt = 0, nFormMax = GetTOXForm().GetFormMax(); sal_uInt16 nCnt = 0, nFormMax = GetTOXForm().GetFormMax();
SvStringsDtor aStrArr( (sal_uInt8)nFormMax );
SvPtrarr aCollArr( (sal_uInt8)nFormMax ); SvPtrarr aCollArr( (sal_uInt8)nFormMax );
for( ; nCnt < nFormMax; ++nCnt ) for( ; nCnt < nFormMax; ++nCnt )
{ {
aCollArr.Insert( p, nCnt ); aCollArr.Insert( p, nCnt );
aStrArr.Insert( pStr, nCnt );
} }
SwNodeIndex aInsPos( *pFirstEmptyNd, 1 ); SwNodeIndex aInsPos( *pFirstEmptyNd, 1 );
...@@ -1015,7 +1012,7 @@ sNm.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "_Head" )); ...@@ -1015,7 +1012,7 @@ sNm.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "_Head" ));
} }
// pass node index of table-of-content section and default page description // pass node index of table-of-content section and default page description
// to method <GenerateText(..)>. // to method <GenerateText(..)>.
GenerateText( nCnt, nRange, aStrArr, pSectNd->GetIndex(), pDefaultPageDesc ); GenerateText( nCnt, nRange, pSectNd->GetIndex(), pDefaultPageDesc );
nCnt += nRange - 1; nCnt += nRange - 1;
} }
...@@ -1592,7 +1589,6 @@ String lcl_GetNumString( const SwTOXSortTabBase& rBase, sal_Bool bUsePrefix, sal ...@@ -1592,7 +1589,6 @@ String lcl_GetNumString( const SwTOXSortTabBase& rBase, sal_Bool bUsePrefix, sal
// which page description is used, no appropriate one is found. // which page description is used, no appropriate one is found.
void SwTOXBaseSection::GenerateText( sal_uInt16 nArrayIdx, void SwTOXBaseSection::GenerateText( sal_uInt16 nArrayIdx,
sal_uInt16 nCount, sal_uInt16 nCount,
SvStringsDtor& ,
const sal_uInt32 _nTOXSectNdIdx, const sal_uInt32 _nTOXSectNdIdx,
const SwPageDesc* _pDefaultPageDesc ) const SwPageDesc* _pDefaultPageDesc )
{ {
......
...@@ -28,14 +28,12 @@ ...@@ -28,14 +28,12 @@
#ifndef _DOCTXM_HXX #ifndef _DOCTXM_HXX
#define _DOCTXM_HXX #define _DOCTXM_HXX
#include <svl/svarray.hxx> #include <svl/svarray.hxx>
#include <tools/gen.hxx> #include <tools/gen.hxx>
#include <tox.hxx> #include <tox.hxx>
#include <section.hxx> #include <section.hxx>
class SwTOXInternational; class SwTOXInternational;
class SvStringsDtor;
class SvPtrarr; class SvPtrarr;
class SwPageDesc; class SwPageDesc;
class SwTxtNode; class SwTxtNode;
...@@ -76,7 +74,6 @@ class SwTOXBaseSection : public SwTOXBase, public SwSection ...@@ -76,7 +74,6 @@ class SwTOXBaseSection : public SwTOXBase, public SwSection
// add parameter <_TOXSectNdIdx> and <_pDefaultPageDesc> // add parameter <_TOXSectNdIdx> and <_pDefaultPageDesc>
void GenerateText( sal_uInt16 nArrayIdx, void GenerateText( sal_uInt16 nArrayIdx,
sal_uInt16 nCount, sal_uInt16 nCount,
SvStringsDtor&,
const sal_uInt32 _nTOXSectNdIdx, const sal_uInt32 _nTOXSectNdIdx,
const SwPageDesc* _pDefaultPageDesc ); const SwPageDesc* _pDefaultPageDesc );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment