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

Tor Lillqvist tml at collabora.com
Wed Feb 22 08:04:27 UTC 2017


 oox/inc/drawingml/chart/chartdrawingfragment.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 65c43905c3396412b08eb09c58830d0acd9ad72c
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Feb 21 16:06:48 2017 +0200

    Bin pointless once used typedef
    
    Change-Id: I12f51748dd190f6d50ed7ae738d7eedeb32f0af8

diff --git a/oox/inc/drawingml/chart/chartdrawingfragment.hxx b/oox/inc/drawingml/chart/chartdrawingfragment.hxx
index 3d7ce5c..cb52046 100644
--- a/oox/inc/drawingml/chart/chartdrawingfragment.hxx
+++ b/oox/inc/drawingml/chart/chartdrawingfragment.hxx
@@ -70,9 +70,6 @@ private:
     bool                mbRelSize;          /// True = relative size, false = absolute size.
 };
 
-typedef std::shared_ptr< ShapeAnchor > ShapeAnchorRef;
-
-
 /** Handler for a chart drawing fragment (c:userShapes root element).
  */
 class ChartDrawingFragment : public ::oox::core::FragmentHandler2
@@ -95,7 +92,7 @@ private:
     css::uno::Reference< css::drawing::XShapes >
                         mxDrawPage;             /// Drawing page of this sheet.
     ::oox::drawingml::ShapePtr mxShape;         /// Current top-level shape.
-    ShapeAnchorRef      mxAnchor;               /// Current anchor of top-level shape.
+    std::shared_ptr< ShapeAnchor > mxAnchor;    /// Current anchor of top-level shape.
     EmuRectangle        maChartRectEmu;         /// Position and size of the chart object for embedded shapes (in EMUs).
     bool                mbOleSupport;           /// True = allow to insert OLE objects into the drawing page.
 };


More information about the Libreoffice-commits mailing list