summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-11-17 10:30:41 +0900
committerTomaž Vajngerl <quikee@gmail.com>2017-11-17 05:11:13 +0100
commit85f2a1e3eb21228ba932b27dbe375aa241e242bf (patch)
treef33e1ad5584c04f189bb63c64cf28a4848f530eb /sw
parent9da4b3ee827e83b816514e4eb071e5322cb5ad01 (diff)
TSCP: disable toolbar pop-up if category was set with dialog
In addition move reading of origin to classificationhelper as we need to read it there. Change-Id: I472b073587e68e6896f915477603a25db9b310d3 Reviewed-on: https://gerrit.libreoffice.org/44848 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/edit/edfcol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx
index 35a470a5bcad..d713d1ddca4f 100644
--- a/sw/source/core/edit/edfcol.cxx
+++ b/sw/source/core/edit/edfcol.cxx
@@ -2075,7 +2075,7 @@ void SwEditShell::ClassifyDocPerHighestParagraphClass()
// Check the origin, if "manual" (created via advanced classification dialog),
// then we just need to set the category name.
- if (svx::classification::getCreationOriginProperty(xPropertyContainer, aKeyCreator) == sfx::ClassificationCreationOrigin::MANUAL)
+ if (sfx::getCreationOriginProperty(xPropertyContainer, aKeyCreator) == sfx::ClassificationCreationOrigin::MANUAL)
{
aHelper.SetBACName(sHighestClass, eHighestClassType);
}