From 9bf762769826a872e196051a9ec0540a598973de Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 6 Oct 2020 15:32:05 +0200 Subject: loplugin:const* make some params and methods const Change-Id: I3c8ca72b2b41a4f82ee20cbe025b41425f32e715 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104028 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- sw/source/filter/html/htmlbas.cxx | 2 +- sw/source/filter/html/htmlreqifreader.cxx | 2 +- sw/source/filter/html/wrthtml.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/filter') diff --git a/sw/source/filter/html/htmlbas.cxx b/sw/source/filter/html/htmlbas.cxx index bd88e3ef843e..fecead1e542e 100644 --- a/sw/source/filter/html/htmlbas.cxx +++ b/sw/source/filter/html/htmlbas.cxx @@ -245,7 +245,7 @@ void SwHTMLParser::InsertBasicDocEvent( const OUString& aEvent, const OUString& pDocSh ); } -void SwHTMLWriter::OutBasic(SwHTMLWriter & rHTMLWrt) +void SwHTMLWriter::OutBasic(const SwHTMLWriter & rHTMLWrt) { #if !HAVE_FEATURE_SCRIPTING (void) rHTMLWrt; diff --git a/sw/source/filter/html/htmlreqifreader.cxx b/sw/source/filter/html/htmlreqifreader.cxx index 26119adfed46..2e20e84f06b8 100644 --- a/sw/source/filter/html/htmlreqifreader.cxx +++ b/sw/source/filter/html/htmlreqifreader.cxx @@ -147,7 +147,7 @@ bool ParseOLE2Presentation(SvStream& rOle2, sal_uInt32& nWidth, sal_uInt32& nHei * Inserts an OLE1 header before an OLE2 storage, assuming that the storage has an Ole10Native * stream. */ -OString InsertOLE1HeaderFromOle10NativeStream(tools::SvRef& xStorage, +OString InsertOLE1HeaderFromOle10NativeStream(const tools::SvRef& xStorage, SwOLENode& rOLENode, SvStream& rOle1) { tools::SvRef xOle1Stream diff --git a/sw/source/filter/html/wrthtml.hxx b/sw/source/filter/html/wrthtml.hxx index f3d9ec706149..8227668f8dde 100644 --- a/sw/source/filter/html/wrthtml.hxx +++ b/sw/source/filter/html/wrthtml.hxx @@ -445,7 +445,7 @@ public: void OutFootEndNoteSym( const SwFormatFootnote& rFormatFootnote, const OUString& rNum, sal_uInt16 nScript ); - void OutBasic(SwHTMLWriter& rHTMLWrt); + void OutBasic(const SwHTMLWriter& rHTMLWrt); void OutAndSetDefList( sal_uInt16 nNewLvl ); -- cgit