Kaydet (Commit) 3ab04ef5 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

unusedcode.easy: SwProtocol::GetVar

üst f4fbdf7f
...@@ -84,7 +84,6 @@ public: ...@@ -84,7 +84,6 @@ public:
static void Record( const SwFrm* pFrm, sal_uLong nFunction, sal_uLong nAction, void* pParam ); static void Record( const SwFrm* pFrm, sal_uLong nFunction, sal_uLong nAction, void* pParam );
static void Init(); static void Init();
static void Stop(); static void Stop();
static void GetVar( const sal_uInt16 nNo, long& rVar );
}; };
class SwEnterLeave class SwEnterLeave
...@@ -103,7 +102,6 @@ public: ...@@ -103,7 +102,6 @@ public:
#define PROTOCOL_INIT SwProtocol::Init(); #define PROTOCOL_INIT SwProtocol::Init();
#define PROTOCOL_STOP SwProtocol::Stop(); #define PROTOCOL_STOP SwProtocol::Stop();
#define PROTOCOL_ENTER( pFrm, nFunc, nAct, pPar ) SwEnterLeave aEnter( pFrm, nFunc, nAct, pPar ); #define PROTOCOL_ENTER( pFrm, nFunc, nAct, pPar ) SwEnterLeave aEnter( pFrm, nFunc, nAct, pPar );
#define GET_VARIABLE( nNo, nVar ) SwProtocol::GetVar( nNo, nVar );
#else #else
...@@ -111,7 +109,6 @@ public: ...@@ -111,7 +109,6 @@ public:
#define PROTOCOL_INIT #define PROTOCOL_INIT
#define PROTOCOL_STOP #define PROTOCOL_STOP
#define PROTOCOL_ENTER( pFrm, nFunc, nAct, pPar ) #define PROTOCOL_ENTER( pFrm, nFunc, nAct, pPar )
#define GET_VARIABLE( nNo, nVar )
#endif #endif
......
...@@ -161,8 +161,6 @@ public: ...@@ -161,8 +161,6 @@ public:
sal_Bool DeleteFrm( sal_uInt16 nFrmId ); // FrmId entfernen, diesen nicht mehr Aufzeichnen sal_Bool DeleteFrm( sal_uInt16 nFrmId ); // FrmId entfernen, diesen nicht mehr Aufzeichnen
void FileInit(); // Auslesen der INI-Datei void FileInit(); // Auslesen der INI-Datei
void ChkStream() { if( !pStream ) NewStream(); } 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() ...@@ -273,12 +271,6 @@ void SwProtocol::Stop()
nRecord = 0; nRecord = 0;
} }
void SwProtocol::GetVar( const sal_uInt16 nNo, long& rVar )
{
if( pImpl )
pImpl->GetVar( nNo, rVar );
}
SwImplProtocol::SwImplProtocol() SwImplProtocol::SwImplProtocol()
: pStream( NULL ), pFrmIds( NULL ), nTypes( 0xffff ), : pStream( NULL ), pFrmIds( NULL ), nTypes( 0xffff ),
nLineCount( 0 ), nMaxLines( USHRT_MAX ), nTestMode( 0 ) nLineCount( 0 ), nMaxLines( USHRT_MAX ), nTestMode( 0 )
......
...@@ -375,7 +375,6 @@ SwPosFlyFrms::Insert(SwPosFlyFrm* const*, unsigned short) ...@@ -375,7 +375,6 @@ SwPosFlyFrms::Insert(SwPosFlyFrm* const*, unsigned short)
SwPosFlyFrms::Insert(SwPosFlyFrms const*, unsigned short, unsigned short) SwPosFlyFrms::Insert(SwPosFlyFrms const*, unsigned short, unsigned short)
SwPosFlyFrms::Remove(SwPosFlyFrm* const&, unsigned short) SwPosFlyFrms::Remove(SwPosFlyFrm* const&, unsigned short)
SwPosFlyFrms::Remove(unsigned short, 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)
SwRects::Replace(SwRect const*, unsigned short, unsigned short) SwRects::Replace(SwRect const*, unsigned short, unsigned short)
SwRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwRect const&, void*), void*) SwRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwRect const&, void*), void*)
......
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