summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 15:32:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 18:36:28 +0200
commit9bf762769826a872e196051a9ec0540a598973de (patch)
tree95021dd9a95eb9099127fb5d77558d9776303e5d /sw/source/filter
parent2ac309188820036b1b99f983e8b793445e9b2ab2 (diff)
loplugin:const* make some params and methods const
Change-Id: I3c8ca72b2b41a4f82ee20cbe025b41425f32e715 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104028 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/html/htmlbas.cxx2
-rw-r--r--sw/source/filter/html/htmlreqifreader.cxx2
-rw-r--r--sw/source/filter/html/wrthtml.hxx2
3 files changed, 3 insertions, 3 deletions
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<SotStorage>& xStorage,
+OString InsertOLE1HeaderFromOle10NativeStream(const tools::SvRef<SotStorage>& xStorage,
SwOLENode& rOLENode, SvStream& rOle1)
{
tools::SvRef<SotStorageStream> 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 );