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 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); } }