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>
This commit is contained in:
parent
e4cd570780
commit
d47aa694d0
1 changed files with 1 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue