summaryrefslogtreecommitdiff
path: root/oox/source/shape
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-19 16:55:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-19 16:55:06 +0200
commit8f30da6386fa414b9fe4c704b294a978df77347b (patch)
tree980e4018acff7a24a6399e33d7e1897fa6c9308c /oox/source/shape
parent9e310a4705ce956551059040696166aefb2388cb (diff)
Some clang-tidy misc-move-constructor-init
...by turning the relevant ctor parameters into "const &". Change-Id: Ia8d0aba5da10ad6b25f8689e2281e45b3d71c1fc
Diffstat (limited to 'oox/source/shape')
-rw-r--r--oox/source/shape/ShapeDrawingFragmentHandler.cxx2
-rw-r--r--oox/source/shape/ShapeDrawingFragmentHandler.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/shape/ShapeDrawingFragmentHandler.cxx b/oox/source/shape/ShapeDrawingFragmentHandler.cxx
index 9356bc2a01f9..32aa09c6d3b2 100644
--- a/oox/source/shape/ShapeDrawingFragmentHandler.cxx
+++ b/oox/source/shape/ShapeDrawingFragmentHandler.cxx
@@ -16,7 +16,7 @@ using namespace com::sun::star;
namespace oox { namespace shape {
-ShapeDrawingFragmentHandler::ShapeDrawingFragmentHandler(oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, oox::drawingml::ShapePtr pGroupShapePtr ) throw()
+ShapeDrawingFragmentHandler::ShapeDrawingFragmentHandler(oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, oox::drawingml::ShapePtr const & pGroupShapePtr ) throw()
: FragmentHandler2(rFilter, rFragmentPath),
mpGroupShapePtr(pGroupShapePtr)
{
diff --git a/oox/source/shape/ShapeDrawingFragmentHandler.hxx b/oox/source/shape/ShapeDrawingFragmentHandler.hxx
index 994a0e6fd9bc..a14dcac6f40a 100644
--- a/oox/source/shape/ShapeDrawingFragmentHandler.hxx
+++ b/oox/source/shape/ShapeDrawingFragmentHandler.hxx
@@ -19,7 +19,7 @@ namespace oox { namespace shape {
class ShapeDrawingFragmentHandler : public oox::core::FragmentHandler2
{
public:
- ShapeDrawingFragmentHandler( oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, oox::drawingml::ShapePtr pGroupShapePtr ) throw();
+ ShapeDrawingFragmentHandler( oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, oox::drawingml::ShapePtr const & pGroupShapePtr ) throw();
virtual ~ShapeDrawingFragmentHandler() throw();
virtual void SAL_CALL endDocument() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const AttributeList& rAttribs ) override;