summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-01-08 10:09:22 +0900
committerLuboš Luňák <l.lunak@suse.cz>2013-01-18 10:22:31 +0100
commit86623057d0b6e5c06c6137ca5bc5f49b833e87a6 (patch)
tree60013bc5c2355c0b97597f3d7c46985794d430e5
parent2b9edadd637ea52293473e63062d334371bc83af (diff)
sal_Bool to bool
Backport needed to fix build after backport of 2b9edadd637ea52293473e63062d334371bc83af . Change-Id: I4e4063321da69d45d14a2fc870c33ea8ae46e4ef Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
-rw-r--r--sw/source/core/frmedt/feshview.cxx4
-rw-r--r--sw/source/ui/app/swmodul1.cxx16
-rw-r--r--sw/source/ui/app/swmodule.cxx2
-rw-r--r--sw/source/ui/cctrl/actctrl.cxx4
-rw-r--r--sw/source/ui/chrdlg/drpcps.cxx12
-rw-r--r--sw/source/ui/chrdlg/numpara.cxx4
-rw-r--r--sw/source/ui/chrdlg/pardlg.cxx2
-rw-r--r--sw/source/ui/docvw/edtdd.cxx4
-rw-r--r--sw/source/ui/docvw/edtwin.cxx34
-rw-r--r--sw/source/ui/ribbar/conform.cxx4
-rw-r--r--sw/source/ui/ribbar/drawbase.cxx16
-rw-r--r--sw/source/ui/shells/textfld.cxx6
-rw-r--r--sw/source/ui/uiview/view.cxx6
-rw-r--r--sw/source/ui/wrtsh/wrtsh3.cxx6
14 files changed, 61 insertions, 59 deletions
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 01c295629b73..e9c493eba1fb 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -110,13 +110,13 @@ static void lcl_GrabCursor( SwFEShell* pSh, SwFlyFrm* pOldSelFly)
{
// now call set macro if applicable
pSh->GetFlyMacroLnk().Call( (void*)pFlyFmt );
-extern sal_Bool bNoInterrupt; // in swapp.cxx
+extern bool bNoInterrupt; // in swapp.cxx
// if a dialog was started inside a macro, then
// MouseButtonUp arrives at macro and not to us. Therefore
// flag is always set here and will never be switched to
// respective Shell !!!!!!!
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
}
else if( !pFlyFmt || RES_DRAWFRMFMT == pFlyFmt->Which() )
{
diff --git a/sw/source/ui/app/swmodul1.cxx b/sw/source/ui/app/swmodul1.cxx
index b0621bdb2681..a40f44a4768a 100644
--- a/sw/source/ui/app/swmodul1.cxx
+++ b/sw/source/ui/app/swmodul1.cxx
@@ -74,9 +74,9 @@ using namespace ::com::sun::star::lang;
static void lcl_SetUIPrefs(const SwViewOption &rPref, SwView* pView, ViewShell* pSh )
{
// in FrameSets the actual visibility can differ from the ViewOption's setting
- sal_Bool bVScrollChanged = rPref.IsViewVScrollBar() != pSh->GetViewOptions()->IsViewVScrollBar();
- sal_Bool bHScrollChanged = rPref.IsViewHScrollBar() != pSh->GetViewOptions()->IsViewHScrollBar();
- sal_Bool bVAlignChanged = rPref.IsVRulerRight() != pSh->GetViewOptions()->IsVRulerRight();
+ bool bVScrollChanged = rPref.IsViewVScrollBar() != pSh->GetViewOptions()->IsViewVScrollBar();
+ bool bHScrollChanged = rPref.IsViewHScrollBar() != pSh->GetViewOptions()->IsViewHScrollBar();
+ bool bVAlignChanged = rPref.IsVRulerRight() != pSh->GetViewOptions()->IsVRulerRight();
pSh->SetUIOptions(rPref);
const SwViewOption* pNewPref = pSh->GetViewOptions();
@@ -156,7 +156,7 @@ void SwModule::ApplyUsrPref(const SwViewOption &rUsrPref, SwView* pActView,
pCurrView && pCurrView->ISA(SwWebView) ));
// with Uno, only sdbcx::View, but not the Module should be changed
- sal_Bool bViewOnly = VIEWOPT_DEST_VIEW_ONLY == nDest;
+ bool bViewOnly = VIEWOPT_DEST_VIEW_ONLY == nDest;
// fob PreView off
SwPagePreView* pPPView;
if( !pCurrView && 0 != (pPPView = PTR_CAST( SwPagePreView, SfxViewShell::Current())) )
@@ -303,11 +303,11 @@ void SwModule::ApplyUserCharUnit(sal_Bool bApplyChar, sal_Bool bWeb)
pPref = pUsrPref;
}
sal_Bool bOldApplyCharUnit = pPref->IsApplyCharUnit();
- sal_Bool bHasChanged = sal_False;
+ bool bHasChanged = false;
if(bOldApplyCharUnit != bApplyChar)
{
pPref->SetApplyCharUnit(bApplyChar);
- bHasChanged = sal_True;
+ bHasChanged = true;
}
if( !bHasChanged )
@@ -460,7 +460,7 @@ static void lcl_FillAuthorAttr( sal_uInt16 nAuthor, SfxItemSet &rSet,
sizeof( aColArr[0] )) ] );
}
- sal_Bool bBackGr = COL_NONE == rAttr.nColor;
+ bool bBackGr = COL_NONE == rAttr.nColor;
switch (rAttr.nItemId)
{
@@ -503,7 +503,7 @@ static void lcl_FillAuthorAttr( sal_uInt16 nAuthor, SfxItemSet &rSet,
case SID_ATTR_BRUSH:
rSet.Put( SvxBrushItem( aCol, RES_CHRATR_BACKGROUND ));
- bBackGr = sal_True;
+ bBackGr = true;
break;
}
diff --git a/sw/source/ui/app/swmodule.cxx b/sw/source/ui/app/swmodule.cxx
index 0add2ed9217b..3c61ac7403e0 100644
--- a/sw/source/ui/app/swmodule.cxx
+++ b/sw/source/ui/app/swmodule.cxx
@@ -128,7 +128,7 @@
#include <app.hrc>
#include <svx/xmlsecctrl.hxx>
ResMgr *pSwResMgr = 0;
-sal_Bool bNoInterrupt = sal_False;
+bool bNoInterrupt = false;
#include <sfx2/app.hxx>
diff --git a/sw/source/ui/cctrl/actctrl.cxx b/sw/source/ui/cctrl/actctrl.cxx
index d930a46a6a55..d4a8d0eeb7bf 100644
--- a/sw/source/ui/cctrl/actctrl.cxx
+++ b/sw/source/ui/cctrl/actctrl.cxx
@@ -68,12 +68,12 @@ NoSpaceEdit::~NoSpaceEdit()
void NoSpaceEdit::KeyInput(const KeyEvent& rEvt)
{
- sal_Bool bCallParent = sal_True;
+ bool bCallParent = true;
if(rEvt.GetCharCode())
{
rtl::OUString sKey(rEvt.GetCharCode());
if( STRING_NOTFOUND != sForbiddenChars.Search(sKey))
- bCallParent = sal_False;
+ bCallParent = false;
}
if(bCallParent)
Edit::KeyInput(rEvt);
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx
index 566161e5db7b..5672ac4cfe0b 100644
--- a/sw/source/ui/chrdlg/drpcps.cxx
+++ b/sw/source/ui/chrdlg/drpcps.cxx
@@ -78,7 +78,7 @@ class SwDropCapsPict : public Control
sal_uInt16 mnDistance;
sal_Int32 mnLeading;
Printer* mpPrinter;
- sal_Bool mbDelPrinter;
+ bool mbDelPrinter;
/// The _ScriptInfo structure holds information on where we change from one
/// script to another.
struct _ScriptInfo
@@ -113,7 +113,7 @@ public:
, mnLineH(0)
, mnTextH(0)
, mpPrinter( NULL )
- , mbDelPrinter( sal_False )
+ , mbDelPrinter( false )
{}
~SwDropCapsPict();
@@ -496,7 +496,7 @@ void SwDropCapsPict::_InitPrinter()
if ( !mpPrinter )
{
mpPrinter = new Printer;
- mbDelPrinter = sal_True;
+ mbDelPrinter = true;
}
}
@@ -716,7 +716,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
if (pEdit == &aDropCapsField)
{
sal_uInt16 nVal;
- sal_Bool bSetText = sal_False;
+ bool bSetText = false;
if (!aWholeWordCB.IsChecked())
nVal = (sal_uInt16)aDropCapsField.GetValue();
@@ -727,7 +727,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
sPreview = GetDefaultString(nVal);
else
{
- bSetText = sal_True;
+ bSetText = true;
sPreview = rSh.GetDropTxt(nVal);
}
@@ -736,7 +736,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
if (sEdit.Len() && sPreview.CompareTo(sEdit, sEdit.Len()) != COMPARE_EQUAL)
{
sPreview = sEdit.Copy(0, sPreview.Len());
- bSetText = sal_False;
+ bSetText = false;
}
if (bSetText)
diff --git a/sw/source/ui/chrdlg/numpara.cxx b/sw/source/ui/chrdlg/numpara.cxx
index 0fc749f0dbab..4482edd3e235 100644
--- a/sw/source/ui/chrdlg/numpara.cxx
+++ b/sw/source/ui/chrdlg/numpara.cxx
@@ -160,7 +160,7 @@ sal_Bool SwParagraphNumTabPage::FillItemSet( SfxItemSet& rSet )
void SwParagraphNumTabPage::Reset( const SfxItemSet& rSet )
{
- sal_Bool bHasNumberStyle = sal_False;
+ bool bHasNumberStyle = false;
SfxItemState eItemState = rSet.GetItemState( GetWhich(SID_ATTR_PARA_OUTLINE_LEVEL) );
@@ -195,7 +195,7 @@ void SwParagraphNumTabPage::Reset( const SfxItemSet& rSet )
else
aNumberStyleLB.SelectEntry( aStyle );
- bHasNumberStyle = sal_True;
+ bHasNumberStyle = true;
}
else
{
diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx
index 7c04aab26782..e083812a624d 100644
--- a/sw/source/ui/chrdlg/pardlg.cxx
+++ b/sw/source/ui/chrdlg/pardlg.cxx
@@ -104,7 +104,7 @@ SwParaDlg::SwParaDlg(Window *pParent,
RemoveTabPage(TP_PARA_ASIAN);
sal_uInt16 nWhich(rCoreSet.GetPool()->GetWhich(SID_ATTR_LRSPACE));
- sal_Bool bLRValid = SFX_ITEM_AVAILABLE <= rCoreSet.GetItemState(nWhich);
+ bool bLRValid = SFX_ITEM_AVAILABLE <= rCoreSet.GetItemState(nWhich);
if(bHtmlMode || !bLRValid)
RemoveTabPage(TP_TABULATOR);
else
diff --git a/sw/source/ui/docvw/edtdd.cxx b/sw/source/ui/docvw/edtdd.cxx
index 0cdafc1426e1..e60787850944 100644
--- a/sw/source/ui/docvw/edtdd.cxx
+++ b/sw/source/ui/docvw/edtdd.cxx
@@ -44,7 +44,7 @@ using namespace ::com::sun::star;
// no include "dbgoutsw.hxx" here!!!!!!
-extern sal_Bool bNoInterrupt;
+extern bool bNoInterrupt;
extern sal_Bool bFrmDrag;
extern sal_Bool bDDTimerStarted;
@@ -160,7 +160,7 @@ void SwEditWin::DropCleanup()
SwWrtShell &rSh = rView.GetWrtShell();
// reset statuses
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
if ( bOldIdleSet )
{
((SwViewOption*)rSh.GetViewOptions())->SetIdle( bOldIdle );
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index e47b40412be7..af64e0fd8789 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -150,7 +150,7 @@ using namespace ::com::sun::star;
--------------------------------------------------------------------*/
static bool bInputLanguageSwitched = false;
-extern sal_Bool bNoInterrupt; // in mainwn.cxx
+extern bool bNoInterrupt; // in mainwn.cxx
// Usually in MouseButtonUp a selection is revoked when the selection is
// not currently being pulled open. Unfortunately in MouseButtonDown there
@@ -2711,7 +2711,8 @@ void SwEditWin::RstMBDownFlags()
// of the modal dialog (like on WINDOWS).
// So reset the statuses here and release the mouse
// for the dialog.
- bMBPressed = bNoInterrupt = sal_False;
+ bMBPressed = sal_False;
+ bNoInterrupt = false;
EnterArea();
ReleaseMouse();
}
@@ -2984,7 +2985,8 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
if ( MOUSE_LEFT == rMEvt.GetButtons() )
{
sal_Bool bOnlyText = sal_False;
- bMBPressed = bNoInterrupt = sal_True;
+ bMBPressed = sal_True;
+ bNoInterrupt = true;
nKS_NUMDOWN_Count = 0;
CaptureMouse();
@@ -3013,7 +3015,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
}
if ( EnterDrawMode( rMEvt, aDocPos ) )
{
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
return;
}
else if ( rView.GetDrawFuncPtr() && bInsFrm )
@@ -3046,7 +3048,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
}
bFrmDrag = sal_True;
}
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
return;
}
}
@@ -3399,7 +3401,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
rSh.GetDrawView()->PickHandle( aDocPos ))
{
bFrmDrag = sal_True;
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
return;
}
}
@@ -3428,7 +3430,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
rSh.GetDrawView()->PickHandle( aDocPos ))
{
bFrmDrag = sal_True;
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
return;
}
else
@@ -3571,8 +3573,8 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
if ( !bOverSelect )
{
- const sal_Bool bTmpNoInterrupt = bNoInterrupt;
- bNoInterrupt = sal_False;
+ const bool bTmpNoInterrupt = bNoInterrupt;
+ bNoInterrupt = false;
if( !rSh.IsViewLocked() && bLockView )
rSh.LockView( sal_True );
@@ -4171,7 +4173,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
rSh.EndDrag( &aDocPt, false );
bFrmDrag = sal_False;
}
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
ReleaseMouse();
return;
}
@@ -4223,7 +4225,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
else if (rMEvt.GetButtons() == MOUSE_RIGHT && rSh.IsDrawCreate())
rView.GetDrawFuncPtr()->BreakCreate(); // abort drawing
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
ReleaseMouse();
return;
}
@@ -4355,8 +4357,8 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
SwContentAtPos aFieldAtPos ( SwContentAtPos::SW_FIELD );
if ( !rSh.IsInSelect() && rSh.ChgCurrPam( aDocPt ) && !rSh.GetContentAtPos( aDocPt, aFieldAtPos ) )
{
- const sal_Bool bTmpNoInterrupt = bNoInterrupt;
- bNoInterrupt = sal_False;
+ const bool bTmpNoInterrupt = bNoInterrupt;
+ bNoInterrupt = false;
{ // create only temporary move context because otherwise
// the query to the content form doesn't work!!!
SwMvContext aMvContext( &rSh );
@@ -4680,7 +4682,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
//sicherheitshalber aufrufen, da jetzt das Selektieren bestimmt zu Ende ist.
//Andernfalls koennte der Timeout des Timers Kummer machen.
EnterArea();
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
if (bCallBase)
Window::MouseButtonUp(rMEvt);
@@ -4972,10 +4974,10 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
SET_CURR_SHELL( &rSh );
if (!pApplyTempl)
{
- if (bNoInterrupt == sal_True)
+ if (bNoInterrupt)
{
ReleaseMouse();
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
bMBPressed = sal_False;
}
if ( rCEvt.IsMouseEvent() )
diff --git a/sw/source/ui/ribbar/conform.cxx b/sw/source/ui/ribbar/conform.cxx
index ca2e22a29db7..2a0d494de79c 100644
--- a/sw/source/ui/ribbar/conform.cxx
+++ b/sw/source/ui/ribbar/conform.cxx
@@ -27,7 +27,7 @@
#include "drawbase.hxx"
#include "conform.hxx"
-extern sal_Bool bNoInterrupt; // in mainwn.cxx
+extern bool bNoInterrupt; // in mainwn.cxx
/*************************************************************************
|*
@@ -76,7 +76,7 @@ sal_Bool ConstFormControl::MouseButtonDown(const MouseEvent& rMEvt)
if (rMEvt.IsLeft() && !m_pWin->IsDrawAction() &&
(eHit == SDRHIT_UNMARKEDOBJECT || eHit == SDRHIT_NONE || m_pSh->IsDrawCreate()))
{
- bNoInterrupt = sal_True;
+ bNoInterrupt = true;
m_pWin->CaptureMouse();
m_pWin->SetPointer(Pointer(POINTER_DRAW_RECT));
diff --git a/sw/source/ui/ribbar/drawbase.cxx b/sw/source/ui/ribbar/drawbase.cxx
index 4f68558a6da4..78fe5d5a3290 100644
--- a/sw/source/ui/ribbar/drawbase.cxx
+++ b/sw/source/ui/ribbar/drawbase.cxx
@@ -40,7 +40,7 @@
using namespace ::com::sun::star;
-extern sal_Bool bNoInterrupt; // in mainwn.cxx
+extern bool bNoInterrupt; // in mainwn.cxx
#define MINMOVE ((sal_uInt16)m_pSh->GetOut()->PixelToLogic(Size(m_pSh->GetDrawView()->GetMarkHdlSizePixel()/2,0)).Width())
@@ -112,7 +112,7 @@ sal_Bool SwDrawBase::MouseButtonDown(const MouseEvent& rMEvt)
{
if (IsCreateObj() && (eHit == SDRHIT_UNMARKEDOBJECT || eHit == SDRHIT_NONE || m_pSh->IsDrawCreate()))
{
- bNoInterrupt = sal_True;
+ bNoInterrupt = true;
m_pWin->CaptureMouse();
m_aStartPos = m_pWin->PixelToLogic(rMEvt.GetPosPixel());
@@ -138,7 +138,7 @@ sal_Bool SwDrawBase::MouseButtonDown(const MouseEvent& rMEvt)
/******************************************************************
* Handle draggen
******************************************************************/
- bNoInterrupt = sal_True;
+ bNoInterrupt = true;
bReturn = pSdrView->BegDragObj(m_aStartPos, (OutputDevice*) NULL, aVEvt.pHdl);
m_pWin->SetDrawAction(sal_True);
}
@@ -147,7 +147,7 @@ sal_Bool SwDrawBase::MouseButtonDown(const MouseEvent& rMEvt)
/******************************************************************
* Klebepunkt einfuegen
******************************************************************/
- bNoInterrupt = sal_True;
+ bNoInterrupt = true;
bReturn = pSdrView->BegInsObjPoint(m_aStartPos, rMEvt.IsMod1());
m_pWin->SetDrawAction(sal_True);
}
@@ -198,7 +198,7 @@ sal_Bool SwDrawBase::MouseButtonDown(const MouseEvent& rMEvt)
if (pHdl)
{
- bNoInterrupt = sal_True;
+ bNoInterrupt = true;
pSdrView->MarkPoint(*pHdl);
}
}
@@ -213,12 +213,12 @@ sal_Bool SwDrawBase::MouseButtonDown(const MouseEvent& rMEvt)
if (pSdrView->HasMarkablePoints())
pSdrView->UnmarkAllPoints();
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
// Drag im edtwin verwenden
return sal_False;
}
- bNoInterrupt = sal_True;
+ bNoInterrupt = true;
if (m_pSh->IsObjSelected())
{
@@ -514,7 +514,7 @@ void SwDrawBase::Deactivate()
m_pWin->SetDrawAction(sal_False);
m_pWin->ReleaseMouse();
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
if(m_pWin->GetApplyTemplate())
m_pWin->SetApplyTemplate(SwApplyTemplate());
diff --git a/sw/source/ui/shells/textfld.cxx b/sw/source/ui/shells/textfld.cxx
index 9c0a61b15848..124be9b31240 100644
--- a/sw/source/ui/shells/textfld.cxx
+++ b/sw/source/ui/shells/textfld.cxx
@@ -72,7 +72,7 @@
using namespace nsSwDocInfoSubType;
-extern sal_Bool bNoInterrupt; // in mainwn.cxx
+extern bool bNoInterrupt; // in mainwn.cxx
static String& lcl_AppendRedlineStr( String& rStr, sal_uInt16 nRedlId )
{
@@ -470,7 +470,7 @@ void SwTextShell::ExecField(SfxRequest &rReq)
}
rSh.SetCareWin(pDlg->GetWindow());
- bNoInterrupt = sal_True;
+ bNoInterrupt = true;
if ( pDlg->Execute() == RET_OK )
{
@@ -483,7 +483,7 @@ void SwTextShell::ExecField(SfxRequest &rReq)
delete pDlg;
rSh.SetCareWin(NULL);
- bNoInterrupt = sal_False;
+ bNoInterrupt = false;
rSh.ClearMark();
GetView().AttrChangedNotify(GetShellPtr());
}
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx
index 96623d950fd5..44fa0439bcdf 100644
--- a/sw/source/ui/uiview/view.cxx
+++ b/sw/source/ui/uiview/view.cxx
@@ -113,7 +113,7 @@ using namespace ::com::sun::star::scanner;
using ::rtl::OUString;
using ::rtl::OUStringBuffer;
-extern sal_Bool bNoInterrupt; // in mainwn.cxx
+extern bool bNoInterrupt; // in mainwn.cxx
#define SWVIEWFLAGS ( SFX_VIEW_CAN_PRINT| \
SFX_VIEW_HAS_PRINTOPTIONS)
@@ -886,8 +886,8 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
// Im CTOR duerfen keine Shell wechsel erfolgen, die muessen ueber
// den Timer "zwischen gespeichert" werden. Sonst raeumt der SFX
// sie wieder vom Stack!
- sal_Bool bOld = bNoInterrupt;
- bNoInterrupt = sal_True;
+ bool bOld = bNoInterrupt;
+ bNoInterrupt = true;
pHRuler->SetActive( sal_True );
pVRuler->SetActive( sal_True );
diff --git a/sw/source/ui/wrtsh/wrtsh3.cxx b/sw/source/ui/wrtsh/wrtsh3.cxx
index 8a8d2309b043..03f645a8792e 100644
--- a/sw/source/ui/wrtsh/wrtsh3.cxx
+++ b/sw/source/ui/wrtsh/wrtsh3.cxx
@@ -40,7 +40,7 @@
using namespace ::com::sun::star;
using ::rtl::OUString;
-extern sal_Bool bNoInterrupt; // in mainwn.cxx
+extern bool bNoInterrupt; // in mainwn.cxx
sal_Bool SwWrtShell::MoveBookMark( BookMarkMove eFuncId, const ::sw::mark::IMark* const pMark)
{
@@ -121,8 +121,8 @@ void SwWrtShell::DrawSelChanged( )
GetView().GetViewFrame()->GetBindings().Invalidate(aInval);
- sal_Bool bOldVal = bNoInterrupt;
- bNoInterrupt = sal_True; // Trick, um AttrChangedNotify ueber Timer auszufuehren
+ bool bOldVal = bNoInterrupt;
+ bNoInterrupt = true; // Trick, um AttrChangedNotify ueber Timer auszufuehren
GetView().AttrChangedNotify(this);
bNoInterrupt = bOldVal;
}