diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 11:49:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 13:03:29 +0200 |
commit | 8bedbc3f567f3f6d567376ccf0830160df1d4bbb (patch) | |
tree | d3f4292a0529dbced8916abd3a6cef53ae6ad2b5 /include/xmloff/shapeimport.hxx | |
parent | f24b46c27243b88e4d367d7b105d1365e97dbd76 (diff) |
loplugin:constparams in xmloff
Change-Id: Iec9535b106c85e47ddb14eec4ef3db5b1c8d8fd7
Reviewed-on: https://gerrit.libreoffice.org/40219
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff/shapeimport.hxx')
-rw-r--r-- | include/xmloff/shapeimport.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx index efc00a289355..90a290215048 100644 --- a/include/xmloff/shapeimport.hxx +++ b/include/xmloff/shapeimport.hxx @@ -317,20 +317,20 @@ public: void pushGroupForSorting( css::uno::Reference< css::drawing::XShapes >& rShapes ); void popGroupAndSort(); - void shapeWithZIndexAdded( css::uno::Reference< css::drawing::XShape >& rShape, + void shapeWithZIndexAdded( css::uno::Reference< css::drawing::XShape > const & rShape, sal_Int32 nZIndex ); /// Updates the z-order of other shapes to be consistent again, needed due /// to the removal of rShape. void shapeRemoved(const css::uno::Reference<css::drawing::XShape>& rShape); - void addShapeConnection( css::uno::Reference< css::drawing::XShape >& rConnectorShape, + void addShapeConnection( css::uno::Reference< css::drawing::XShape > const & rConnectorShape, bool bStart, const OUString& rDestShapeId, sal_Int32 nDestGlueId ); /** adds a mapping for a glue point identifier from an xml file to the identifier created after inserting the new glue point into the core. The saved mappings can be retrieved by getGluePointId() */ - void addGluePointMapping( css::uno::Reference< css::drawing::XShape >& xShape, + void addGluePointMapping( css::uno::Reference< css::drawing::XShape > const & xShape, sal_Int32 nSourceId, sal_Int32 nDestinnationId ); /** moves all current DestinationId's for rXShape by n */ @@ -342,11 +342,11 @@ public: /** this method must be calling before the first shape is imported for the given page. Calls to this method can be nested */ - void startPage( css::uno::Reference< css::drawing::XShapes >& rShapes ); + void startPage( css::uno::Reference< css::drawing::XShapes > const & rShapes ); /** this method must be calling after the last shape is imported for the given page Calls to this method can be nested */ - void endPage( css::uno::Reference< css::drawing::XShapes >& rShapes ); + void endPage( css::uno::Reference< css::drawing::XShapes > const & rShapes ); void restoreConnections(); |