[Libreoffice-commits] core.git: oox/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 9 07:26:46 UTC 2020


 oox/source/drawingml/diagram/diagramlayoutatoms.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit e7ec5cf807fd65dd260e0466a79607edb7675346
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Dec 9 07:41:29 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Dec 9 08:26:03 2020 +0100

    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 at redhat.com>

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


More information about the Libreoffice-commits mailing list