[Libreoffice-commits] core.git: include/svx svx/source
Tomaž Vajngerl
tomaz.vajngerl at collabora.co.uk
Thu Nov 2 06:35:32 UTC 2017
include/svx/ClassificationDialog.hxx | 2 +-
svx/source/dialog/ClassificationDialog.cxx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 270596b0e98ee32f1d4224751a8be51a4af9ac91
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date: Thu Nov 2 14:15:55 2017 +0900
TSCP: change double-click to single for IP part list box
Change-Id: I1ec96ddbb4bba76b82d32a09fd2f47e46c64fc16
Reviewed-on: https://gerrit.libreoffice.org/44185
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
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)
More information about the Libreoffice-commits
mailing list