summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox/editbrowsebox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/brwbox/editbrowsebox.cxx')
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx
index f250efebfde9..31424b38570b 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -651,7 +651,7 @@ namespace svt
case KEY_RETURN:
// save the cell content (if necessary)
- if (IsEditing() && aController->IsModified() && !((EditBrowseBox *) this)->SaveModified())
+ if (IsEditing() && aController->IsModified() && !SaveModified())
{
// maybe we're not visible ...
EnableAndShow();
@@ -712,7 +712,7 @@ namespace svt
if (nId == BROWSER_SELECT || BROWSER_SELECTCOLUMN == nId )
{
// save the cell content (if necessary)
- if (IsEditing() && aController->IsModified() && !((EditBrowseBox *) this)->SaveModified())
+ if (IsEditing() && aController->IsModified() && !SaveModified())
{
// maybe we're not visible ...
EnableAndShow();
@@ -977,7 +977,7 @@ namespace svt
bool EditBrowseBox::CursorMoving(long, sal_uInt16)
{
- ((EditBrowseBox *) this)->DeactivateCell(false);
+ DeactivateCell(false);
return true;
}