summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-11 13:40:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-11 13:42:41 +0100
commitf2cb396c8d999dc1a519511e504eca643528c3c4 (patch)
tree59fd49947124d1589b80e38cd8fde01dfc0e68a1 /fpicker
parent6ec5717e06007c540474d91ec99345fb5edc47a8 (diff)
loplugin:externvar (clang-cl)
Change-Id: Ie2a96299d8d3cc9c1ccad7cfb8fbee05c6734148
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/folderpicker/MtaFop.cxx4
-rw-r--r--fpicker/source/win32/misc/resourceprovider.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx
index 11b084f6e7a5..595711e9bb90 100644
--- a/fpicker/source/win32/folderpicker/MtaFop.cxx
+++ b/fpicker/source/win32/folderpicker/MtaFop.cxx
@@ -39,9 +39,9 @@ const bool INIT_NONSIGNALED = false;
namespace
{
- const char* FOLDERPICKER_SRV_DLL_NAME = "fps.dll";
+ const char* const FOLDERPICKER_SRV_DLL_NAME = "fps.dll";
const char g_szWndClsName[] = "FopStaReqWnd###";
- const char* CURRENT_INSTANCE = "CurrInst";
+ const char* const CURRENT_INSTANCE = "CurrInst";
struct RequestContext
{
diff --git a/fpicker/source/win32/misc/resourceprovider.cxx b/fpicker/source/win32/misc/resourceprovider.cxx
index ba47da275959..9360089c76ed 100644
--- a/fpicker/source/win32/misc/resourceprovider.cxx
+++ b/fpicker/source/win32/misc/resourceprovider.cxx
@@ -43,7 +43,7 @@ struct Entry
sal_Int16 resId;
};
-Entry CtrlIdToResIdTable[] = {
+Entry const CtrlIdToResIdTable[] = {
{ CHECKBOX_AUTOEXTENSION, STR_SVT_FILEPICKER_AUTO_EXTENSION },
{ CHECKBOX_PASSWORD, STR_SVT_FILEPICKER_PASSWORD },
{ CHECKBOX_FILTEROPTIONS, STR_SVT_FILEPICKER_FILTER_OPTIONS },