diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 13:17:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 17:24:09 +0200 |
commit | 441af1f1ca53ca03736e0417414bbcf067aaaefa (patch) | |
tree | 33eb111d8ae28feb9290882298438fcc08bdcb05 /vcl/source/edit | |
parent | f0d4f96a0c7c84ea6f81e14f9df1ca37be54db04 (diff) |
Upcoming improved loplugin:staticanonymous -> redundantstatic: vcl
Change-Id: I7559ab5c98a22e315549b5dfc651e937697cac22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97742
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/source/edit')
-rw-r--r-- | vcl/source/edit/texteng.cxx | 6 | ||||
-rw-r--r-- | vcl/source/edit/xtextedt.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index 8e0f7a1616b9..e5465c52c402 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -223,9 +223,9 @@ void TextEngine::SetMaxTextWidth( long nMaxWidth ) } } -static const sal_Unicode static_aLFText[] = { '\n', 0 }; -static const sal_Unicode static_aCRText[] = { '\r', 0 }; -static const sal_Unicode static_aCRLFText[] = { '\r', '\n', 0 }; +const sal_Unicode static_aLFText[] = { '\n', 0 }; +const sal_Unicode static_aCRText[] = { '\r', 0 }; +const sal_Unicode static_aCRLFText[] = { '\r', '\n', 0 }; static const sal_Unicode* static_getLineEndText( LineEnd aLineEnd ) { diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx index 4d11f275b361..ae9335232679 100644 --- a/vcl/source/edit/xtextedt.cxx +++ b/vcl/source/edit/xtextedt.cxx @@ -28,7 +28,7 @@ using namespace ::com::sun::star; -static const std::wstring gaGroupChars = L"(){}[]"; +const std::wstring gaGroupChars = L"(){}[]"; ExtTextEngine::ExtTextEngine() { |