summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/bookmark.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/misc/bookmark.cxx')
-rw-r--r--sw/source/ui/misc/bookmark.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx
index 353f2e9a1357..40a7e6b2db66 100644
--- a/sw/source/ui/misc/bookmark.cxx
+++ b/sw/source/ui/misc/bookmark.cxx
@@ -225,17 +225,17 @@ sal_Int32 BookmarkCombo::GetSelectEntryPos( sal_Int32 nSelIndex ) const
bool BookmarkCombo::PreNotify( NotifyEvent& rNEvt )
{
- bool nHandled = false;
+ bool bHandled = false;
if( MouseNotifyEvent::KEYINPUT == rNEvt.GetType() &&
rNEvt.GetKeyEvent()->GetCharCode() )
{
OUString sKey( rNEvt.GetKeyEvent()->GetCharCode() );
if(-1 != aForbiddenChars.indexOf(sKey))
- nHandled = true;
+ bHandled = true;
}
- if(!nHandled)
- nHandled = SwComboBox::PreNotify( rNEvt );
- return nHandled;
+ if(!bHandled)
+ bHandled = SwComboBox::PreNotify( rNEvt );
+ return bHandled;
}
VCL_BUILDER_FACTORY_ARGS(BookmarkCombo, 0)