[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - include/oox
Sarper Akdemir (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 23 09:48:27 UTC 2021
include/oox/drawingml/shape.hxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 68eff384f6783fbae35c2e363fd4a17dda9c3772
Author: Sarper Akdemir <sarper.akdemir at collabora.com>
AuthorDate: Sun May 9 20:00:21 2021 +0300
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Jun 23 11:47:45 2021 +0200
tdf#59323: ooxml import: hasShapeStyleRefs
Helper function to determine whether the shape has style refs or not.
Change-Id: I57b244b4af5b9e3abba90f0e4e25a35da27e3409
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117002
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117619
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx
index 6484ae8530c5..1fbe533d3600 100644
--- a/include/oox/drawingml/shape.hxx
+++ b/include/oox/drawingml/shape.hxx
@@ -178,6 +178,7 @@ public:
ShapeStyleRefMap& getShapeStyleRefs() { return maShapeStyleRefs; }
const ShapeStyleRefMap& getShapeStyleRefs() const { return maShapeStyleRefs; }
const ShapeStyleRef* getShapeStyleRef( sal_Int32 nRefType ) const;
+ bool hasShapeStyleRefs() const { return !maShapeStyleRefs.empty(); }
// addShape is creating and inserting the corresponding XShape.
void addShape(
More information about the Libreoffice-commits
mailing list