summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-23 10:57:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-23 10:57:32 +0200
commitff28315af105b1ec934a9b7181fadda8face3697 (patch)
tree6f6241d3a1ce7339daa1e353f65dcf6f46269e70 /writerfilter
parent690a1aa9dcf8ce98ec7f96a5980b571566152865 (diff)
Remaining clang-tidy misc-move-constructor-init
...by turning the relevant ctor parameters into "const &" (following 8f30da6386fa414b9fe4c704b294a978df77347b "Some clang-tidy misc-move-constructor-init"). Change-Id: I6686dabe2f05156d6ecd49aa76a3a1166ccac045
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/FormControlHelper.cxx2
-rw-r--r--writerfilter/source/dmapper/FormControlHelper.hxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLDocumentImpl.cxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLDocumentImpl.hxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySet.cxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySet.hxx2
8 files changed, 8 insertions, 8 deletions
diff --git a/writerfilter/source/dmapper/FormControlHelper.cxx b/writerfilter/source/dmapper/FormControlHelper.cxx
index 38899b0175aa..93c3ae0e9360 100644
--- a/writerfilter/source/dmapper/FormControlHelper.cxx
+++ b/writerfilter/source/dmapper/FormControlHelper.cxx
@@ -130,7 +130,7 @@ uno::Reference<container::XIndexContainer> FormControlHelper::FormControlHelper_
FormControlHelper::FormControlHelper(FieldId eFieldId,
uno::Reference<text::XTextDocument> const& xTextDocument,
- FFDataHandler::Pointer_t pFFData)
+ FFDataHandler::Pointer_t const & pFFData)
: m_pFFData(pFFData), m_pImpl(new FormControlHelper_Impl)
{
m_pImpl->m_eFieldId = eFieldId;
diff --git a/writerfilter/source/dmapper/FormControlHelper.hxx b/writerfilter/source/dmapper/FormControlHelper.hxx
index 1e6b85877097..89e0a1dba6f1 100644
--- a/writerfilter/source/dmapper/FormControlHelper.hxx
+++ b/writerfilter/source/dmapper/FormControlHelper.hxx
@@ -34,7 +34,7 @@ public:
typedef std::shared_ptr<FormControlHelper> Pointer_t;
FormControlHelper(FieldId eFieldId,
css::uno::Reference<css::text::XTextDocument> const& rTextDocument,
- FFDataHandler::Pointer_t pFFData);
+ FFDataHandler::Pointer_t const & pFFData);
~FormControlHelper();
void insertControl(css::uno::Reference<css::text::XTextRange> const& xTextRange);
diff --git a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
index 2df5a17b0ca9..6bcab2d41d62 100644
--- a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
+++ b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
@@ -26,7 +26,7 @@ namespace ooxml
using namespace ::com::sun::star;
OOXMLBinaryObjectReference::OOXMLBinaryObjectReference
-(OOXMLStream::Pointer_t pStream)
+(OOXMLStream::Pointer_t const & pStream)
: mpStream(pStream), mbRead(false)
{
}
diff --git a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
index d77de2673871..794d700fdc73 100644
--- a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
+++ b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
@@ -36,7 +36,7 @@ class OOXMLBinaryObjectReference :
void read();
public:
- explicit OOXMLBinaryObjectReference(OOXMLStream::Pointer_t pStream);
+ explicit OOXMLBinaryObjectReference(OOXMLStream::Pointer_t const & pStream);
virtual ~OOXMLBinaryObjectReference();
virtual void resolve(BinaryObj & rHandler) override;
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
index 9ede7431bf6c..6503fbdc3d83 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
@@ -50,7 +50,7 @@ namespace writerfilter {
namespace ooxml
{
-OOXMLDocumentImpl::OOXMLDocumentImpl(OOXMLStream::Pointer_t pStream, const uno::Reference<task::XStatusIndicator>& xStatusIndicator, bool bSkipImages, const uno::Sequence<beans::PropertyValue>& rDescriptor)
+OOXMLDocumentImpl::OOXMLDocumentImpl(OOXMLStream::Pointer_t const & pStream, const uno::Reference<task::XStatusIndicator>& xStatusIndicator, bool bSkipImages, const uno::Sequence<beans::PropertyValue>& rDescriptor)
: mpStream(pStream)
, mxStatusIndicator(xStatusIndicator)
, mnXNoteId(0)
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
index a0f1fc5b8050..f16be42be8f8 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
@@ -93,7 +93,7 @@ protected:
void resolveGlossaryStream(Stream & rStream);
void resolveEmbeddingsStream(const OOXMLStream::Pointer_t& pStream);
public:
- OOXMLDocumentImpl(OOXMLStream::Pointer_t pStream, const css::uno::Reference<css::task::XStatusIndicator>& xStatusIndicator, bool bSkipImages, const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor);
+ OOXMLDocumentImpl(OOXMLStream::Pointer_t const & pStream, const css::uno::Reference<css::task::XStatusIndicator>& xStatusIndicator, bool bSkipImages, const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor);
virtual ~OOXMLDocumentImpl();
virtual void resolve(Stream & rStream) override;
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.cxx b/writerfilter/source/ooxml/OOXMLPropertySet.cxx
index 8dde53290eef..9a095913e082 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.cxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.cxx
@@ -181,7 +181,7 @@ OOXMLValue * OOXMLValue::clone() const
class OOXMLBinaryValue
*/
-OOXMLBinaryValue::OOXMLBinaryValue(OOXMLBinaryObjectReference::Pointer_t
+OOXMLBinaryValue::OOXMLBinaryValue(OOXMLBinaryObjectReference::Pointer_t const &
pBinaryObj)
: mpBinaryObj(pBinaryObj)
{
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.hxx b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
index f79cb680ff3c..8cc37729a096 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.hxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
@@ -77,7 +77,7 @@ class OOXMLBinaryValue : public OOXMLValue
protected:
mutable OOXMLBinaryObjectReference::Pointer_t mpBinaryObj;
public:
- explicit OOXMLBinaryValue(OOXMLBinaryObjectReference::Pointer_t pBinaryObj);
+ explicit OOXMLBinaryValue(OOXMLBinaryObjectReference::Pointer_t const & pBinaryObj);
virtual ~OOXMLBinaryValue();
virtual writerfilter::Reference<BinaryObj>::Pointer_t getBinary() override;