summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-28 11:08:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 13:44:14 +0200
commitc61b562dcfa25d2e07d39bf9c03438e462c6d142 (patch)
treef441f217fce150794e517ce08efe9efa03c50ac1
parent41b52249414ec8efe1042e2a1fe44e0e57a179da (diff)
nOK var wants to be of type bool
Change-Id: I9e4129270a3d0bb744d8fbaf1641fcbdf1e2b0a7
-rw-r--r--sd/source/ui/dlg/navigatr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index 21fa0d9998d6..3e77310d9af1 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -799,14 +799,14 @@ bool SdNavigatorWin::Notify(NotifyEvent& rNEvt)
*/
void SdNavigatorWin::KeyInput( const KeyEvent& rKEvt )
{
- long nOK = sal_False;
+ bool nOK = false;
if (rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE)
{
if( SdPageObjsTLB::IsInDrag() )
{
// during drag'n'drop we just stop the drag but do not close the navigator
- nOK = sal_True;
+ nOK = true;
}
else
{