diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 13:47:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 16:06:24 +0200 |
commit | da1a875b5cc3753485535fdf92c8f6a9cfc66f3e (patch) | |
tree | e1e002d4263b03a14d1584a0a84c39465aa8b20f | |
parent | 52ccf06081d7aea3aefb7c582862987ec5380a45 (diff) |
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@redhat.com>
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 6 | ||||
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 20 |
2 files changed, 13 insertions, 13 deletions
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 { |