[Libreoffice-commits] core.git: vcl/osx
Stephan Bergmann
sbergman at redhat.com
Mon Jan 9 21:09:22 UTC 2017
vcl/osx/HtmlFmtFlt.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a0a42ade2137348a83c05f01fe25ebadab69a9e2
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 9 22:08:52 2017 +0100
loplugin:externvar
Change-Id: Ie6834e7cb1e65a2e24c6250126c24463e6e49354
diff --git a/vcl/osx/HtmlFmtFlt.cxx b/vcl/osx/HtmlFmtFlt.cxx
index 9804dbd..e068a45 100644
--- a/vcl/osx/HtmlFmtFlt.cxx
+++ b/vcl/osx/HtmlFmtFlt.cxx
@@ -115,7 +115,7 @@ Sequence<sal_Int8> SAL_CALL TextHtmlToHTMLFormat(Sequence<sal_Int8>& aTextHtml)
return byteSequence;
}
-const char* HtmlStartTag = "<html";
+const char* const HtmlStartTag = "<html";
Sequence<sal_Int8> HTMLFormatToTextHtml(const Sequence<sal_Int8>& aHTMLFormat)
{
@@ -149,7 +149,7 @@ Sequence<sal_Int8> HTMLFormatToTextHtml(const Sequence<sal_Int8>& aHTMLFormat)
can improve this
*/
const char HtmlFormatStart[] = "Version:";
-int HtmlFormatStartLen = (sizeof(HtmlFormatStart) - 1);
+int const HtmlFormatStartLen = (sizeof(HtmlFormatStart) - 1);
bool isHTMLFormat(const Sequence<sal_Int8>& aHtmlSequence)
{
More information about the Libreoffice-commits
mailing list