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 /svtools/source/brwbox/editbrowsebox.cxx | |
parent | 849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff) |
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'svtools/source/brwbox/editbrowsebox.cxx')
-rw-r--r-- | svtools/source/brwbox/editbrowsebox.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index 79a98c2c2139..6488120b3b30 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -610,7 +610,7 @@ namespace svt } //------------------------------------------------------------------------------ - long EditBrowseBox::PreNotify(NotifyEvent& rEvt) + bool EditBrowseBox::PreNotify(NotifyEvent& rEvt) { switch (rEvt.GetType()) { @@ -652,7 +652,7 @@ namespace svt // maybe we're not visible ... EnableAndShow(); aController->GetWindow().GrabFocus(); - return 1; + return true; } // ask if traveling to the next cell is allowed if (IsTabAllowed(sal_True)) @@ -713,7 +713,7 @@ namespace svt // maybe we're not visible ... EnableAndShow(); aController->GetWindow().GrabFocus(); - return 1; + return true; } } @@ -721,7 +721,7 @@ namespace svt if (bLocalSelect && (GetSelectRowCount() || GetSelection() != NULL)) DeactivateCell(); - return 1; + return true; } } } |