diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-04-03 21:25:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-04-04 10:32:32 +0200 |
commit | c371d8ba8960e7830027d4d8d9155bab94722952 (patch) | |
tree | 0554c4e69348262e335be02cca2d5c0768f21c58 /include/svx | |
parent | b9c10ee923308f336a694bbc0212396ed5317b6a (diff) |
expand async to allow it to resize to optimal size
Change-Id: I87c413108a41f994c0e8d86f469fc361d4cd42e5
Reviewed-on: https://gerrit.libreoffice.org/70220
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/ClassificationDialog.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/ClassificationDialog.hxx b/include/svx/ClassificationDialog.hxx index 2aaed9d16fca..0c083d794d41 100644 --- a/include/svx/ClassificationDialog.hxx +++ b/include/svx/ClassificationDialog.hxx @@ -30,6 +30,7 @@ private: const bool m_bPerParagraph; const std::function<void()> m_aParagraphSignHandler; + ImplSVEvent* m_nAsyncExpandEvent; sal_Int32 m_nCurrentSelectedCategory; std::vector<std::vector<ClassificationResult>> m_aRecentlyUsedValuesCollection; @@ -61,6 +62,7 @@ private: DECL_LINK(EditWindowModifiedHdl, LinkParamNone*, void); DECL_STATIC_LINK(ClassificationDialog, ExpandedHdl, weld::Expander&, void); DECL_STATIC_LINK(ClassificationDialog, KeyInput, const KeyEvent&, bool); + DECL_LINK(OnAsyncExpandHdl, void*, void); void insertField(ClassificationType eType, OUString const & rString, OUString const & rFullString, OUString const & rIdentifier = OUString()); void insertCategoryField(sal_Int32 nID); |