summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-03 20:02:30 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-04 10:48:59 +0100
commitd51640061809034006db6d7ba1205c1f1f8b5fad (patch)
tree7863e49a1be50f602fd0380fe3af95545c12ec92 /include
parent9ddca3616fc8b91973b9f261fd53797f9c84570f (diff)
cid#1546422 COPY_INSTEAD_OF_MOVE
and cid#1546416 COPY_INSTEAD_OF_MOVE cid#1546415 COPY_INSTEAD_OF_MOVE cid#1546391 COPY_INSTEAD_OF_MOVE cid#1546390 COPY_INSTEAD_OF_MOVE cid#1546317 COPY_INSTEAD_OF_MOVE cid#1546252 COPY_INSTEAD_OF_MOVE cid#1546251 COPY_INSTEAD_OF_MOVE cid#1546249 COPY_INSTEAD_OF_MOVE cid#1546243 COPY_INSTEAD_OF_MOVE cid#1546195 COPY_INSTEAD_OF_MOVE cid#1546193 COPY_INSTEAD_OF_MOVE cid#1546137 COPY_INSTEAD_OF_MOVE cid#1545738 COPY_INSTEAD_OF_MOVE cid#1545782 COPY_INSTEAD_OF_MOVE Change-Id: I10d5091aa72b682371764b8a18cc5062e272c031 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160285 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdograf.hxx2
-rw-r--r--include/vcl/uitest/logger.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx
index cb88b4c2a770..c920ac1de4ff 100644
--- a/include/svx/svdograf.hxx
+++ b/include/svx/svdograf.hxx
@@ -277,7 +277,7 @@ public:
return mpSignatureLineUnsignedGraphic;
}
- void setSignatureLineUnsignedGraphic(css::uno::Reference<css::graphic::XGraphic> rGraphic)
+ void setSignatureLineUnsignedGraphic(const css::uno::Reference<css::graphic::XGraphic>& rGraphic)
{
mpSignatureLineUnsignedGraphic = rGraphic;
}
diff --git a/include/vcl/uitest/logger.hxx b/include/vcl/uitest/logger.hxx
index c810b7eb7de7..bc353ad4ea11 100644
--- a/include/vcl/uitest/logger.hxx
+++ b/include/vcl/uitest/logger.hxx
@@ -58,7 +58,7 @@ public:
static UITestLogger& getInstance();
- void setAppName(OUString name) { app_name = name; }
+ void setAppName(const OUString& name) { app_name = name; }
const OUString& getAppName() const { return app_name; }
};