summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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 'svx')
-rw-r--r--svx/source/tbxctrls/colorwindow.hxx2
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/colorwindow.hxx b/svx/source/tbxctrls/colorwindow.hxx
index c2ffb56846e4..185872e55c3c 100644
--- a/svx/source/tbxctrls/colorwindow.hxx
+++ b/svx/source/tbxctrls/colorwindow.hxx
@@ -70,7 +70,7 @@ public:
const css::uno::Reference< css::frame::XFrame >& rFrame,
const OUString& rWndTitle,
vcl::Window* pParentWindow,
- std::function<void(const OUString&, const Color&)> maColorSelectFunction);
+ std::function<void(const OUString&, const Color&)> const & maColorSelectFunction);
virtual ~SvxColorWindow_Impl();
virtual void dispose() override;
void StartSelection();
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 2dceb15814f4..b8a68b755021 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1253,7 +1253,7 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand,
const Reference< XFrame >& rFrame,
const OUString& rWndTitle,
vcl::Window* pParentWindow,
- std::function<void(const OUString&, const Color&)> aFunction):
+ std::function<void(const OUString&, const Color&)> const & aFunction):
SfxPopupWindow( nSlotId, pParentWindow,
"palette_popup_window", "svx/ui/colorwindow.ui",