vcl/win/gdi/salgdi.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit 6ad0a96a460551389808fa96e0992938540c5b72 Author: Dmitriy Shilin <ds...@fastmail.com> AuthorDate: Thu Dec 6 07:52:37 2018 +0300 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Dec 6 07:21:27 2018 +0100 vcl: move SysColorEntry to anonymous namespace Change-Id: Ib483decf4cd7d8ec5cb73a23c36181bd3e1d49c0 Relates: tdf#107792 Reviewed-on: https://gerrit.libreoffice.org/64661 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/win/gdi/salgdi.cxx b/vcl/win/gdi/salgdi.cxx index da06dc999e4c..363476a7107f 100644 --- a/vcl/win/gdi/salgdi.cxx +++ b/vcl/win/gdi/salgdi.cxx @@ -45,17 +45,17 @@ #define DITHER_MAX_SYSCOLOR 16 #define DITHER_EXTRA_COLORS 1 +namespace +{ + struct SysColorEntry { DWORD nRGB; SysColorEntry* pNext; }; -static SysColorEntry* pFirstSysColor = nullptr; -static SysColorEntry* pActSysColor = nullptr; - -namespace -{ +SysColorEntry* pFirstSysColor = nullptr; +SysColorEntry* pActSysColor = nullptr; void DeleteSysColorList() { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits