summaryrefslogtreecommitdiff
path: root/svtools/source/table/tabledatawindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/table/tabledatawindow.cxx')
-rw-r--r--svtools/source/table/tabledatawindow.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/table/tabledatawindow.cxx b/svtools/source/table/tabledatawindow.cxx
index 65703e5d45c5..9970338ddfc2 100644
--- a/svtools/source/table/tabledatawindow.cxx
+++ b/svtools/source/table/tabledatawindow.cxx
@@ -209,9 +209,9 @@ namespace svt { namespace table
}
//------------------------------------------------------------------------------------------------------------------
- long TableDataWindow::Notify(NotifyEvent& rNEvt )
+ bool TableDataWindow::Notify(NotifyEvent& rNEvt )
{
- long nDone = 0;
+ bool nDone = false;
if ( rNEvt.GetType() == EVENT_COMMAND )
{
const CommandEvent& rCEvt = *rNEvt.GetCommandEvent();
@@ -224,7 +224,7 @@ namespace svt { namespace table
}
}
}
- return nDone ? nDone : Window::Notify( rNEvt );
+ return nDone || Window::Notify( rNEvt );
}
//......................................................................................................................
} } // namespace svt::table