diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-11 13:38:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-11 13:42:40 +0100 |
commit | 2597a2f1ada7738efc539b68b1ba164c342a72eb (patch) | |
tree | 355fd329b476d935e1b0a2e56564b11316e92854 /embedserv | |
parent | 691bc3e15d517a7ca5d45906f3aa4912597a7f3e (diff) |
loplugin:externvar (clang-cl)
Change-Id: Ic7e4ba1ada97a0fff1ae6d209b22e372431cc6e7
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/servprov.cxx | 2 | ||||
-rw-r--r-- | embedserv/source/embed/tracker.cxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx index b380e4cad860..5afe6d33cf56 100644 --- a/embedserv/source/embed/servprov.cxx +++ b/embedserv/source/embed/servprov.cxx @@ -31,7 +31,7 @@ using namespace com::sun::star; -const GUID* guidList[ SUPPORTED_FACTORIES_NUM ] = { +const GUID* const guidList[ SUPPORTED_FACTORIES_NUM ] = { &OID_WriterTextServer, &OID_WriterOASISTextServer, &OID_CalcServer, diff --git a/embedserv/source/embed/tracker.cxx b/embedserv/source/embed/tracker.cxx index acd0e32b7d9c..cc10886d98d1 100644 --- a/embedserv/source/embed/tracker.cxx +++ b/embedserv/source/embed/tracker.cxx @@ -30,8 +30,8 @@ #include "syswinwrapper.hxx" -HCURSOR afxCursors[10] = { nullptr, }; -HBRUSH afxHalftoneBrush = nullptr; +static HCURSOR afxCursors[10] = { nullptr, }; +static HBRUSH afxHalftoneBrush = nullptr; // the struct below is used to determine the qualities of a particular handle @@ -218,9 +218,9 @@ Tracker::Tracker(LPCRECT lpSrcRect, UINT nStyle) m_nStyle = nStyle; } -HBRUSH afxHatchBrush = nullptr; -HPEN afxBlackDottedPen = nullptr; -int afxHandleSize = 0; +static HBRUSH afxHatchBrush = nullptr; +static HPEN afxBlackDottedPen = nullptr; +static int afxHandleSize = 0; void Tracker::Construct() |