[Libreoffice-commits] core.git: writerfilter/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 2 14:07:20 UTC 2020
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 6 ++---
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 20 +++++++++---------
2 files changed, 13 insertions(+), 13 deletions(-)
New commits:
commit da1a875b5cc3753485535fdf92c8f6a9cfc66f3e
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 2 13:47:58 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 2 16:06:24 2020 +0200
Upcoming improved loplugin:staticanonymous -> redundantstatic: writerfilter
Change-Id: I7e5759158ac171db249f1f6a2f12f61ade2aaafc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97757
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 95b8e5e46647..c474d596766b 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -1070,9 +1070,9 @@ static void lcl_AddRangeAndStyle(
//define some default frame width - 0cm ATM: this allow the frame to be wrapped around the text
-static constexpr sal_Int32 DEFAULT_FRAME_MIN_WIDTH = 0;
-static constexpr sal_Int32 DEFAULT_FRAME_MIN_HEIGHT = 0;
-static constexpr sal_Int32 DEFAULT_VALUE = 0;
+constexpr sal_Int32 DEFAULT_FRAME_MIN_WIDTH = 0;
+constexpr sal_Int32 DEFAULT_FRAME_MIN_HEIGHT = 0;
+constexpr sal_Int32 DEFAULT_VALUE = 0;
void DomainMapper_Impl::CheckUnregisteredFrameConversion( )
{
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index ffcf4ca20b4a..38d81ec25a8e 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -38,16 +38,16 @@
#include <comphelper/propertysequence.hxx>
#include <comphelper/sequenceashashmap.hxx>
-static const sal_Unicode uCR = 0xd;
-static const sal_Unicode uFtnEdnRef = 0x2;
-static const sal_Unicode uFtnEdnSep = 0x3;
-static const sal_Unicode uTab = 0x9;
-static const sal_Unicode uPgNum = 0x0;
-static const sal_Unicode uNoBreakHyphen = 0x2011;
-static const sal_Unicode uSoftHyphen = 0xAD;
-
-static const sal_uInt8 cFtnEdnCont = 0x4;
-static const sal_uInt8 cFieldLock = 0x8;
+const sal_Unicode uCR = 0xd;
+const sal_Unicode uFtnEdnRef = 0x2;
+const sal_Unicode uFtnEdnSep = 0x3;
+const sal_Unicode uTab = 0x9;
+const sal_Unicode uPgNum = 0x0;
+const sal_Unicode uNoBreakHyphen = 0x2011;
+const sal_Unicode uSoftHyphen = 0xAD;
+
+const sal_uInt8 cFtnEdnCont = 0x4;
+const sal_uInt8 cFieldLock = 0x8;
namespace writerfilter::ooxml
{
More information about the Libreoffice-commits
mailing list