diff options
author | Wastack <btomi96@gmail.com> | 2016-03-31 08:47:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 06:46:33 +0000 |
commit | 9af411abce1e22d55b73d5bbac3b7a6a8535eb3b (patch) | |
tree | 1f4ae767e429af067f97bd07c305b1f9ed35839f /sw/source/ui/envelp/envfmt.cxx | |
parent | cb495d71063d60da46215a2510736eccd910fa7a (diff) |
tdf#97966 Drop 'static' keywords
Including no keywords from extern "C" blocks
Change-Id: Ie3160af9decf04ceeda02dc20a6518afaa80f972
Reviewed-on: https://gerrit.libreoffice.org/23677
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/ui/envelp/envfmt.cxx')
-rw-r--r-- | sw/source/ui/envelp/envfmt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx index a7183f1299d0..7fb511a6f66d 100644 --- a/sw/source/ui/envelp/envfmt.cxx +++ b/sw/source/ui/envelp/envfmt.cxx @@ -60,7 +60,7 @@ namespace { /// @returns A vector containing one element for each item covered by the /// ranges. This is not guaranteed to be sorted and may contain /// duplicates if the original ranges contained overlaps. - static std::vector<sal_uInt16> lcl_convertRangesToList(const sal_uInt16 aRanges[]) { + std::vector<sal_uInt16> lcl_convertRangesToList(const sal_uInt16 aRanges[]) { std::vector<sal_uInt16> aVec; int i = 0; while (aRanges[i]) @@ -83,7 +83,7 @@ namespace { /// is two consecutive entries that specify the start and end /// points of the range. This list will be sorted and will not /// contain any overlapping ranges. - static sal_uInt16* lcl_convertListToRanges(std::vector<sal_uInt16> &rElements) { + sal_uInt16* lcl_convertListToRanges(std::vector<sal_uInt16> &rElements) { std::sort(rElements.begin(), rElements.end()); std::vector<sal_uInt16> aRanges; size_t i; |