diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-12-09 20:08:29 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-10 14:02:38 +0000 |
commit | 9d09dcfd23e70adb4834253f697c479dab4cf673 (patch) | |
tree | 7ad8042cddf1a27b874a36195736f843ad873658 /sw | |
parent | 5abad485f0efa4e71f99d47e6d053298102eb2b3 (diff) |
IsDbg() is no longer called
Change-Id: Id1860de882a4999eaa7fc253e1332f1c298f287f
Reviewed-on: https://gerrit.libreoffice.org/1277
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 5 | ||||
-rw-r--r-- | sw/source/core/text/txtio.cxx | 18 |
2 files changed, 3 insertions, 20 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index 808172420f0f..9a28e020292e 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -646,11 +646,6 @@ inline SwTwips SwTxtFrm::GrowTst( const SwTwips nGrow ) return Grow( nGrow, sal_True ); } -#ifdef DBG_UTIL -// query WYSIWYG DBG -extern sal_Bool IsDbg( const SwTxtFrm *pFrm ); -#endif - inline sal_Bool SwTxtFrm::IsInside( const xub_StrLen nPos ) const { sal_Bool bRet = sal_True; diff --git a/sw/source/core/text/txtio.cxx b/sw/source/core/text/txtio.cxx index 01a9099e077c..8ff53f1d5d3d 100644 --- a/sw/source/core/text/txtio.cxx +++ b/sw/source/core/text/txtio.cxx @@ -20,10 +20,10 @@ #ifdef DBG_UTIL -#include "viewsh.hxx" // IsDbg() -#include "viewopt.hxx" // IsDbg() +#include "viewsh.hxx" +#include "viewopt.hxx" #include "txtatr.hxx" -#include "txtfrm.hxx" // IsDbg() +#include "txtfrm.hxx" #include "rootfrm.hxx" #include "flyfrms.hxx" #include "inftxt.hxx" @@ -53,18 +53,6 @@ SvStream &operator<<( SvStream &rOs, const SwpHints & ) //$ ostream return rOs; } -/************************************************************************* - * IsDbg() - *************************************************************************/ - -sal_Bool IsDbg( const SwTxtFrm *pFrm ) -{ - if( pFrm && pFrm->getRootFrm()->GetCurrShell() ) - return pFrm->getRootFrm()->GetCurrShell()->GetViewOptions()->IsTest4(); - else - return sal_False; -} - #if OSL_DEBUG_LEVEL < 2 static void Error() |