unusedcode.easy: SwProtocol::GetVar

This commit is contained in:
Thomas Arnhold 2012-02-20 13:19:34 +01:00
parent f4fbdf7f9c
commit 3ab04ef552
3 changed files with 0 additions and 12 deletions

View file

@ -84,7 +84,6 @@ public:
static void Record( const SwFrm* pFrm, sal_uLong nFunction, sal_uLong nAction, void* pParam );
static void Init();
static void Stop();
static void GetVar( const sal_uInt16 nNo, long& rVar );
};
class SwEnterLeave
@ -103,7 +102,6 @@ public:
#define PROTOCOL_INIT SwProtocol::Init();
#define PROTOCOL_STOP SwProtocol::Stop();
#define PROTOCOL_ENTER( pFrm, nFunc, nAct, pPar ) SwEnterLeave aEnter( pFrm, nFunc, nAct, pPar );
#define GET_VARIABLE( nNo, nVar ) SwProtocol::GetVar( nNo, nVar );
#else
@ -111,7 +109,6 @@ public:
#define PROTOCOL_INIT
#define PROTOCOL_STOP
#define PROTOCOL_ENTER( pFrm, nFunc, nAct, pPar )
#define GET_VARIABLE( nNo, nVar )
#endif

View file

@ -161,8 +161,6 @@ public:
sal_Bool DeleteFrm( sal_uInt16 nFrmId ); // FrmId entfernen, diesen nicht mehr Aufzeichnen
void FileInit(); // Auslesen der INI-Datei
void ChkStream() { if( !pStream ) NewStream(); }
void GetVar( const sal_uInt16 nNo, long& rVar )
{ if( nNo < aVars.size() ) rVar = aVars[ nNo ]; }
};
/* --------------------------------------------------
@ -273,12 +271,6 @@ void SwProtocol::Stop()
nRecord = 0;
}
void SwProtocol::GetVar( const sal_uInt16 nNo, long& rVar )
{
if( pImpl )
pImpl->GetVar( nNo, rVar );
}
SwImplProtocol::SwImplProtocol()
: pStream( NULL ), pFrmIds( NULL ), nTypes( 0xffff ),
nLineCount( 0 ), nMaxLines( USHRT_MAX ), nTestMode( 0 )

View file

@ -375,7 +375,6 @@ SwPosFlyFrms::Insert(SwPosFlyFrm* const*, unsigned short)
SwPosFlyFrms::Insert(SwPosFlyFrms const*, unsigned short, unsigned short)
SwPosFlyFrms::Remove(SwPosFlyFrm* const&, unsigned short)
SwPosFlyFrms::Remove(unsigned short, unsigned short)
SwProtocol::GetVar(unsigned short, long&)
SwRects::Replace(SwRect const&, unsigned short)
SwRects::Replace(SwRect const*, unsigned short, unsigned short)
SwRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwRect const&, void*), void*)