diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-04 15:42:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-04 20:20:41 +0200 |
commit | 924341e2c73e28b92fb927f2a4b5494ded5f257a (patch) | |
tree | b3259d4d66ca2cdac17383475472b22c72b67624 /vcl/win/gdi | |
parent | 56223a535d9c1da3ebf36dac9ee09e62b6de242a (diff) |
Improved loplugin:staticanonymous -> redundantstatic redux, clang-cl
Change-Id: Ie6dc22edbcfdf05ab8d7d668cb7cc33b5b747995
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100100
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/win/gdi')
-rw-r--r-- | vcl/win/gdi/salfont.cxx | 4 | ||||
-rw-r--r-- | vcl/win/gdi/salprn.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index ce1a8bd610a0..be4af132db1d 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -65,7 +65,7 @@ using namespace vcl; -static const int MAXFONTHEIGHT = 2048; +const int MAXFONTHEIGHT = 2048; static FIXED FixedFromDouble( double d ) { @@ -254,7 +254,7 @@ namespace // with a font that is supported and always available. // Based on: // https://dxr.mozilla.org/mozilla-esr10/source/gfx/thebes/gfxDWriteFontList.cpp#1057 -static const std::map<OUString, OUString> aBitmapFontSubs = +const std::map<OUString, OUString> aBitmapFontSubs = { { "MS Sans Serif", "Microsoft Sans Serif" }, { "MS Serif", "Times New Roman" }, diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx index 7947cd9a6406..053c503b1671 100644 --- a/vcl/win/gdi/salprn.cxx +++ b/vcl/win/gdi/salprn.cxx @@ -87,8 +87,8 @@ using namespace com::sun::star::uno; using namespace com::sun::star::lang; using namespace com::sun::star::ui::dialogs; -static const wchar_t aImplWindows[] = L"windows"; -static const wchar_t aImplDevice[] = L"device"; +const wchar_t aImplWindows[] = L"windows"; +const wchar_t aImplDevice[] = L"device"; static DEVMODEW const * SAL_DEVMODE_W( const ImplJobSetup* pSetupData ) { |