diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-18 18:31:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-18 21:18:29 +0200 |
commit | 18f202011661397d10ca4c2fa28fcf57b62221b0 (patch) | |
tree | 5a867f5bee6205e13172bb5c61315552d5dc9870 /svx/source/tbxctrls/StylesPreviewWindow.cxx | |
parent | 2e74c1107bc8422ee7a819722f3f0a366127330f (diff) |
loplugin:constparams
Change-Id: Ic7410f836e584df45101e78e345c8b3c8d355e09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120680
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/tbxctrls/StylesPreviewWindow.cxx')
-rw-r--r-- | svx/source/tbxctrls/StylesPreviewWindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/StylesPreviewWindow.cxx b/svx/source/tbxctrls/StylesPreviewWindow.cxx index 2051e2479a84..4eed7e8352ba 100644 --- a/svx/source/tbxctrls/StylesPreviewWindow.cxx +++ b/svx/source/tbxctrls/StylesPreviewWindow.cxx @@ -353,7 +353,7 @@ void StyleItemController::DrawText(vcl::RenderContext& rRenderContext) } StylesPreviewWindow_Base::StylesPreviewWindow_Base( - weld::Builder& xBuilder, std::vector<std::pair<OUString, OUString>>& aDefaultStyles, + weld::Builder& xBuilder, const std::vector<std::pair<OUString, OUString>>& aDefaultStyles, const css::uno::Reference<css::frame::XDispatchProvider>& xDispatchProvider) : m_xDispatchProvider(xDispatchProvider) , m_xStylesView(xBuilder.weld_icon_view("stylesview")) @@ -477,7 +477,7 @@ void StylesPreviewWindow_Base::UpdateStylesList() } StylesPreviewWindow_Impl::StylesPreviewWindow_Impl( - vcl::Window* pParent, std::vector<std::pair<OUString, OUString>>& aDefaultStyles, + vcl::Window* pParent, const std::vector<std::pair<OUString, OUString>>& aDefaultStyles, const css::uno::Reference<css::frame::XDispatchProvider>& xDispatchProvider) : InterimItemWindow(pParent, "svx/ui/stylespreview.ui", "ApplyStyleBox", true, reinterpret_cast<sal_uInt64>(SfxViewShell::Current())) |