diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-18 00:18:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-18 00:37:49 +0100 |
commit | 602c87b4259d118e5db6d8a990c4695103f916dd (patch) | |
tree | 1cbc6cf8309b680476f5116cd5320f8f6a99c32a /dbaccess/source/ui/relationdesign | |
parent | 849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff) |
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-rw-r--r-- | dbaccess/source/ui/relationdesign/RelationDesignView.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx b/dbaccess/source/ui/relationdesign/RelationDesignView.cxx index 9f72313c1a98..b97fe50eb370 100644 --- a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx +++ b/dbaccess/source/ui/relationdesign/RelationDesignView.cxx @@ -71,15 +71,15 @@ void ORelationDesignView::initialize() OJoinDesignView::initialize(); } -long ORelationDesignView::PreNotify( NotifyEvent& rNEvt ) +bool ORelationDesignView::PreNotify( NotifyEvent& rNEvt ) { - long nDone = 0L; + bool nDone = false; if(rNEvt.GetType() == EVENT_GETFOCUS) { if(!m_pTableView->HasChildPathFocus()) { m_pTableView->GrabTabWinFocus(); - nDone = 1L; + nDone = true; } } if(!nDone) |