summaryrefslogtreecommitdiffstats
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 11:49:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 07:34:41 +0100
commit7fed35ff43d6e8c1e838c6fe582edd308692bab0 (patch)
tree57bc40dd19c70c36e5f3c9256e4a7b65af7926cc /include/svtools
parentReleaseYieldMutex is always called with true (diff)
downloadcore-7fed35ff43d6e8c1e838c6fe582edd308692bab0.tar.gz
core-7fed35ff43d6e8c1e838c6fe582edd308692bab0.zip
loplugin:constantparam in svl,svtools
Change-Id: I0d7c1dff2646e483c866f547224c60838b221c4b Reviewed-on: https://gerrit.libreoffice.org/44083 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/parhtml.hxx7
-rw-r--r--include/svtools/rtfout.hxx3
2 files changed, 4 insertions, 6 deletions
diff --git a/include/svtools/parhtml.hxx b/include/svtools/parhtml.hxx
index e8a94f896f1f..4e6725139239 100644
--- a/include/svtools/parhtml.hxx
+++ b/include/svtools/parhtml.hxx
@@ -254,10 +254,9 @@ public:
void ParseScriptOptions( OUString& rLangString, const OUString&, HTMLScriptLanguage& rLang,
OUString& rSrc, OUString& rLibrary, OUString& rModule );
- // remove a comment around the content of <SCRIPT> or <STYLE>
- // In case of 'bFull', the whole line behind a "<!--" might
- // be deleted (for JavaScript)
- static void RemoveSGMLComment( OUString &rString, bool bFull );
+ // Remove a comment around the content of <SCRIPT> or <STYLE>.
+ // The whole line behind a "<!--" might be deleted (for JavaScript).
+ static void RemoveSGMLComment( OUString &rString );
static bool InternalImgToPrivateURL( OUString& rURL );
static rtl_TextEncoding GetEncodingByHttpHeader( SvKeyValueIterator *pHTTPHeader );
diff --git a/include/svtools/rtfout.hxx b/include/svtools/rtfout.hxx
index 508414d9a5a5..d163abf33f87 100644
--- a/include/svtools/rtfout.hxx
+++ b/include/svtools/rtfout.hxx
@@ -34,8 +34,7 @@ namespace RTFOutFuncs {
SVT_DLLPUBLIC SvStream& Out_String(
SvStream&, const rtl::OUString&,
- rtl_TextEncoding eDestEnc = RTL_TEXTENCODING_MS_1252,
- bool bWriteHelpFile = false );
+ rtl_TextEncoding eDestEnc = RTL_TEXTENCODING_MS_1252 );
}