diff options
Diffstat (limited to 'sw/source/ui/docvw/SidebarTxtControl.cxx')
-rw-r--r-- | sw/source/ui/docvw/SidebarTxtControl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/docvw/SidebarTxtControl.cxx b/sw/source/ui/docvw/SidebarTxtControl.cxx index 829c79373a61..5d71ca3696ce 100644 --- a/sw/source/ui/docvw/SidebarTxtControl.cxx +++ b/sw/source/ui/docvw/SidebarTxtControl.cxx @@ -116,7 +116,7 @@ void SidebarTxtControl::LoseFocus() void SidebarTxtControl::RequestHelp(const HelpEvent &rEvt) { - USHORT nResId = 0; + sal_uInt16 nResId = 0; switch( mrSidebarWin.GetLayoutStatus() ) { case SwPostItHelper::INSERTED: nResId = STR_REDLINE_INSERT; break; @@ -181,7 +181,7 @@ void SidebarTxtControl::Paint( const Rectangle& rRect) void SidebarTxtControl::KeyInput( const KeyEvent& rKeyEvt ) { const KeyCode& rKeyCode = rKeyEvt.GetKeyCode(); - USHORT nKey = rKeyCode.GetCode(); + sal_uInt16 nKey = rKeyCode.GetCode(); if ( ( rKeyCode.IsMod1() && rKeyCode.IsMod2() ) && ( (nKey == KEY_PAGEUP) || (nKey == KEY_PAGEDOWN) ) ) { @@ -236,7 +236,7 @@ void SidebarTxtControl::KeyInput( const KeyEvent& rKeyEvt ) } } - mrDocView.GetViewFrame()->GetBindings().InvalidateAll(FALSE); + mrDocView.GetViewFrame()->GetBindings().InvalidateAll(sal_False); } void SidebarTxtControl::MouseMove( const MouseEvent& rMEvt ) @@ -303,7 +303,7 @@ void SidebarTxtControl::MouseButtonDown( const MouseEvent& rMEvt ) { GetTextView()->MouseButtonDown( rMEvt ); } - mrDocView.GetViewFrame()->GetBindings().InvalidateAll(FALSE); + mrDocView.GetViewFrame()->GetBindings().InvalidateAll(sal_False); } void SidebarTxtControl::MouseButtonUp( const MouseEvent& rMEvt ) @@ -333,7 +333,7 @@ void SidebarTxtControl::Command( const CommandEvent& rCEvt ) { if ( !mrSidebarWin.IsProtected() && GetTextView() && - GetTextView()->IsWrongSpelledWordAtPos( rCEvt.GetMousePosPixel(),TRUE )) + GetTextView()->IsWrongSpelledWordAtPos( rCEvt.GetMousePosPixel(),sal_True )) { Link aLink = LINK(this, SidebarTxtControl, OnlineSpellCallback); GetTextView()->ExecuteSpellPopup(rCEvt.GetMousePosPixel(),&aLink); |