diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-29 16:08:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-30 10:58:56 +0200 |
commit | 008199ee75ed4edc250270628f6e6cb1677dbbc9 (patch) | |
tree | dc2c46faa050fee4c74a1a7ec2a398273f54c7c1 /sd | |
parent | da8cf43b4f2af008df231f5e0629c71bd7f2b762 (diff) |
loplugin:constparam in various
Change-Id: I6821a3946f2e8fabf26558a84370c16ac8827fed
Reviewed-on: https://gerrit.libreoffice.org/41721
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/HtmlExportTest.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsSlotManager.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sd/qa/unit/HtmlExportTest.cxx b/sd/qa/unit/HtmlExportTest.cxx index 70407bc60ec6..343461f493bd 100644 --- a/sd/qa/unit/HtmlExportTest.cxx +++ b/sd/qa/unit/HtmlExportTest.cxx @@ -17,7 +17,7 @@ using namespace css; class SdHTMLFilterTest : public SdModelTestBase, public XmlTestTools, public HtmlTestTools { private: - htmlDocPtr exportAndParseHtml(sd::DrawDocShellRef& xDocShRef) + htmlDocPtr exportAndParseHtml(sd::DrawDocShellRef const & xDocShRef) { FileFormat* pFormat = getFormat(HTML); OUString aExt = "." + OUString::createFromAscii(pFormat->pName); diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx index 9cf3a557e4a0..cd32300cef74 100644 --- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx @@ -851,7 +851,7 @@ void SlotManager::GetStatusBarState (SfxItemSet& rSet) } } -void SlotManager::RenameSlide(SfxRequest& rRequest) +void SlotManager::RenameSlide(const SfxRequest& rRequest) { View* pDrView = &mrSlideSorter.GetView(); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx index 1ca42fcd6cb6..9c8b950c8391 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx @@ -81,7 +81,7 @@ private: /** The implementation is a copy of the code for SID_RENAMEPAGE in drviews2.cxx. */ - void RenameSlide( SfxRequest& rRequest ); + void RenameSlide( const SfxRequest& rRequest ); DECL_LINK(RenameSlideHdl, AbstractSvxNameDialog&, bool); bool RenameSlideFromDrawViewShell( sal_uInt16 nPageId, const OUString& rName); |