[Libreoffice-commits] .: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Dec 10 06:02:57 PST 2012
sw/source/core/inc/txtfrm.hxx | 5 -----
sw/source/core/text/txtio.cxx | 18 +++---------------
2 files changed, 3 insertions(+), 20 deletions(-)
New commits:
commit 9d09dcfd23e70adb4834253f697c479dab4cf673
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Sun Dec 9 20:08:29 2012 +0900
IsDbg() is no longer called
Change-Id: Id1860de882a4999eaa7fc253e1332f1c298f287f
Reviewed-on: https://gerrit.libreoffice.org/1277
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index 8081724..9a28e02 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 01a9099..8ff53f1 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()
More information about the Libreoffice-commits
mailing list