diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-04-12 23:06:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-04-13 07:48:15 +0200 |
commit | d8249389f791177464b0b74fc873384433d08947 (patch) | |
tree | b1779c828a1dc619617da1f38176a6ae348da79c /svx/qa | |
parent | 396f3fd0ab1cdabf0b4800b5c45a418534f83e5c (diff) |
-Werror,-Wunused-variable
Unused ever since it got introduced in 6de8d3109dffa7d4d0cc06f319cca70134f0a8f3
"tdf#103474 handle edge cases in ARCANGLETO".
(Found with an experimental Clang build supporting __attribute__((warn_unused))
on individual ctors rather than just whole class types, and the corresponding
css::uno::Reference ctor marked accordingly.)
Change-Id: I40342955feedad25435c03f16a31b9585281c1f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150306
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/qa')
-rw-r--r-- | svx/qa/unit/customshapes.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/svx/qa/unit/customshapes.cxx b/svx/qa/unit/customshapes.cxx index 52667c326f3c..464a6b542e84 100644 --- a/svx/qa/unit/customshapes.cxx +++ b/svx/qa/unit/customshapes.cxx @@ -1081,7 +1081,6 @@ CPPUNIT_TEST_FIXTURE(CustomshapesTest, testTdf122323_largeSwingAngle) // the end angle and used it modulo 360, no full ellipse was drawn. loadFromURL(u"tdf122323_swingAngle_larger360deg.pptx"); uno::Reference<drawing::XShape> xShape(getShape(0)); - uno::Reference<beans::XPropertySet> xShapeProps(xShape, uno::UNO_QUERY); SdrObjCustomShape& rSdrObjCustomShape( static_cast<SdrObjCustomShape&>(*SdrObject::getSdrObjectFromXShape(xShape))); EnhancedCustomShape2d aCustomShape2d(rSdrObjCustomShape); |