summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-09 07:41:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-09 08:26:03 +0100
commite7ec5cf807fd65dd260e0466a79607edb7675346 (patch)
treee90795aa69562443c2e905898c9981273c1882d6 /oox
parente4dc69b2b97dbd56bd55e514a5abcbd3c2a2f2fb (diff)
Simplify construction of OUString containing "•"
Change-Id: Ic57a07a738e5cc3eaf4998c97bf810868ef518cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107448 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/diagram/diagramlayoutatoms.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
index 20b7a2df4233..cc2d176a4020 100644
--- a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
+++ b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
@@ -1776,8 +1776,7 @@ void AlgAtom::layoutShape(const ShapePtr& rShape, const std::vector<Constraint>&
aParagraph->getProperties().getFirstLineIndentation() = -285750 / EMU_PER_HMM;
// It is not possible to change the bullet style for text.
- OUString aBulletChar = OUString::fromUtf8(u8"•");
- aParagraph->getProperties().getBulletList().setBulletChar(aBulletChar);
+ aParagraph->getProperties().getBulletList().setBulletChar(u"•");
aParagraph->getProperties().getBulletList().setSuffixNone();
isBulletList = true;
}