diff options
-rw-r--r-- | include/svx/ClassificationDialog.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/ClassificationDialog.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/ClassificationDialog.hxx b/include/svx/ClassificationDialog.hxx index 043272f68c03..a03f9cb550ab 100644 --- a/include/svx/ClassificationDialog.hxx +++ b/include/svx/ClassificationDialog.hxx @@ -51,7 +51,7 @@ private: DECL_LINK(SelectMarkingHdl, ListBox&, void); DECL_LINK(SelectIPPartNumbersHdl, ListBox&, void); DECL_LINK(SelectRecentlyUsedHdl, ListBox&, void); - DECL_LINK(DoubleClickIPPartHdl, ListBox&, void); + DECL_LINK(SelectIPPartHdl, ListBox&, void); void insertField(ClassificationType eType, OUString const & rString, OUString const & rFullString); diff --git a/svx/source/dialog/ClassificationDialog.cxx b/svx/source/dialog/ClassificationDialog.cxx index df271dd1c5f2..22fce44f1560 100644 --- a/svx/source/dialog/ClassificationDialog.cxx +++ b/svx/source/dialog/ClassificationDialog.cxx @@ -172,7 +172,7 @@ ClassificationDialog::ClassificationDialog(vcl::Window* pParent, const bool bPer m_pIntellectualPropertyPartNumberListBox->InsertEntry(rName); m_pIntellectualPropertyPartNumberListBox->EnableAutoSize(true); - m_pIntellectualPropertyPartListBox->SetDoubleClickHdl(LINK(this, ClassificationDialog, DoubleClickIPPartHdl)); + m_pIntellectualPropertyPartListBox->SetSelectHdl(LINK(this, ClassificationDialog, SelectIPPartHdl)); for (const OUString& rName : maHelper.GetIntellectualPropertyParts()) m_pIntellectualPropertyPartListBox->InsertEntry(rName); m_pIntellectualPropertyPartListBox->EnableAutoSize(true); @@ -551,7 +551,7 @@ IMPL_LINK(ClassificationDialog, SelectRecentlyUsedHdl, ListBox&, rBox, void) } } -IMPL_LINK(ClassificationDialog, DoubleClickIPPartHdl, ListBox&, rBox, void) +IMPL_LINK(ClassificationDialog, SelectIPPartHdl, ListBox&, rBox, void) { const sal_Int32 nSelected = rBox.GetSelectedEntryPos(); if (nSelected >= 0) |