diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2017-11-20 17:53:34 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2017-11-24 00:09:50 +0100 |
commit | d47aa694d0c6d10d52b7474b15e75a9462e991ff (patch) | |
tree | b597bdfb58f481c13be111d262024d67faa6a497 /svx/source/dialog/ClassificationDialog.cxx | |
parent | e4cd5707809042eec435fd24be8729e87e350d1a (diff) |
TSCP: remove character limitation of recently used pop-up
Change-Id: I886fe180e73aea9685e647aaa3283f707344f69f
Reviewed-on: https://gerrit.libreoffice.org/44947
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/source/dialog/ClassificationDialog.cxx')
-rw-r--r-- | svx/source/dialog/ClassificationDialog.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/svx/source/dialog/ClassificationDialog.cxx b/svx/source/dialog/ClassificationDialog.cxx index 55dc11c86a50..6ff28786ea50 100644 --- a/svx/source/dialog/ClassificationDialog.cxx +++ b/svx/source/dialog/ClassificationDialog.cxx @@ -276,14 +276,9 @@ short ClassificationDialog::Execute() for (std::vector<ClassificationResult> const & rResults : m_aRecentlyUsedValuesCollection) { OUString rContentRepresentation = svx::classification::convertClassificationResultToString(rResults); - OUString rDescription = OUString::number(nNumber) + ": "; + OUString rDescription = OUString::number(nNumber) + ": " + rContentRepresentation; nNumber++; - if (rContentRepresentation.getLength() >= 18) - rDescription += rContentRepresentation.copy(0, 17) + "..."; - else - rDescription += rContentRepresentation; - m_pRecentlyUsedListBox->InsertEntry(rDescription); } } |