diff options
Diffstat (limited to 'extensions/source/propctrlr/propertyeditor.cxx')
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx index daa9e8c965f6..73d8389a6b9d 100644 --- a/extensions/source/propctrlr/propertyeditor.cxx +++ b/extensions/source/propctrlr/propertyeditor.cxx @@ -516,19 +516,19 @@ namespace pcr } - IMPL_LINK_NOARG(OPropertyEditor, OnPageDeactivate) + IMPL_LINK_NOARG_TYPED(OPropertyEditor, OnPageDeactivate, TabControl *, bool) { // commit the data on the current (to-be-decativated) tab page // (79404) sal_Int32 nCurrentId = m_aTabControl->GetCurPageId(); OBrowserPage* pCurrentPage = static_cast<OBrowserPage*>(m_aTabControl->GetTabPage((sal_uInt16)nCurrentId)); if ( !pCurrentPage ) - return 1L; + return true; if ( pCurrentPage->getListBox().IsModified() ) pCurrentPage->getListBox().CommitModified(); - return 1L; + return true; } |