diff options
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtsh3.cxx')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh3.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh3.cxx b/sw/source/uibase/wrtsh/wrtsh3.cxx index a5a1bb4a6119..cb265a2725f3 100644 --- a/sw/source/uibase/wrtsh/wrtsh3.cxx +++ b/sw/source/uibase/wrtsh/wrtsh3.cxx @@ -38,7 +38,7 @@ using namespace ::com::sun::star; -extern bool bNoInterrupt; // in mainwn.cxx +extern bool g_bNoInterrupt; // in swmodule.cxx bool SwWrtShell::MoveBookMark( BookMarkMove eFuncId, const ::sw::mark::IMark* const pMark) { @@ -121,10 +121,10 @@ void SwWrtShell::DrawSelChanged( ) GetView().GetViewFrame()->GetBindings().Invalidate(aInval); - bool bOldVal = bNoInterrupt; - bNoInterrupt = true; // Trick to run AttrChangedNotify by timer. + bool bOldVal = g_bNoInterrupt; + g_bNoInterrupt = true; // Trick to run AttrChangedNotify by timer. GetView().AttrChangedNotify(this); - bNoInterrupt = bOldVal; + g_bNoInterrupt = bOldVal; } bool SwWrtShell::GotoMark( const OUString& rName ) |