summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-20 13:19:34 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-20 22:19:32 +0100
commit3ab04ef5528276682de8b8e91033bf81457d5a56 (patch)
tree874357ebcd69180a0de6aa62ce1b98d3b6d90262 /sw
parentunusedcode.easy: Remove SwProtocol::Snapshot() (diff)
downloadcore-3ab04ef5528276682de8b8e91033bf81457d5a56.tar.gz
core-3ab04ef5528276682de8b8e91033bf81457d5a56.zip
unusedcode.easy: SwProtocol::GetVar
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/inc/dbg_lay.hxx3
-rw-r--r--sw/source/core/layout/dbg_lay.cxx8
2 files changed, 0 insertions, 11 deletions
diff --git a/sw/source/core/inc/dbg_lay.hxx b/sw/source/core/inc/dbg_lay.hxx
index eaa104400c2a..cfeead2bff49 100644
--- a/sw/source/core/inc/dbg_lay.hxx
+++ b/sw/source/core/inc/dbg_lay.hxx
@@ -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
diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index f435a17da299..b3458ff0e116 100644
--- a/sw/source/core/layout/dbg_lay.cxx
+++ b/sw/source/core/layout/dbg_lay.cxx
@@ -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 )