summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-11-27 17:07:33 +0900
committerTomaž Vajngerl <quikee@gmail.com>2017-12-18 14:12:01 +0100
commit59b62c9af6961300555e4f2a170fd70c76b83a72 (patch)
treeceeed18202edcad7348e7ed7cae6acf08c514768 /svx/source
parent2b02335dd53975ccea164709e42c0605291e61ea (diff)
TSCP: don't put a non-existing name into doc. props
We combined the abbr. name with the name and put that as a value into doc. properties. This is not correct as such a name doesn't exist in the BAPolicy and con't be identified anymore, so removing this. Also use the values that were put into the ClassificationField instead of the extracted text. Change-Id: I3037bc90a7a394d430f7c0cca4d326473eff3147 Reviewed-on: https://gerrit.libreoffice.org/45316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit ec9b555e8094f4552c068820cab633307fcf520f) Reviewed-on: https://gerrit.libreoffice.org/46720 Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/ClassificationDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/ClassificationDialog.cxx b/svx/source/dialog/ClassificationDialog.cxx
index aa7f2e778be9..fa5be8da164d 100644
--- a/svx/source/dialog/ClassificationDialog.cxx
+++ b/svx/source/dialog/ClassificationDialog.cxx
@@ -568,7 +568,7 @@ std::vector<ClassificationResult> ClassificationDialog::getResult()
if (pClassificationField)
{
aClassificationResults.push_back({ pClassificationField->meType, pClassificationField->msFullClassName,
- sDisplayString, pClassificationField->msIdentifier });
+ pClassificationField->msDescription, pClassificationField->msIdentifier });
}
else
{