summaryrefslogtreecommitdiff
path: root/scripting/source/vbaevents
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 16:14:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-09 11:28:02 +0200
commit383a4f883d4a2932167695c761611b998f773f0e (patch)
treea5aa8447adf1bce6252f3604cccb4a5b2e742fa7 /scripting/source/vbaevents
parent565746cf861c407ae222b2284d8525b4e9a62d94 (diff)
loplugin:constfields in scripting
Change-Id: I1484d920649817680f70de4ca00a3d46e1faf42a Reviewed-on: https://gerrit.libreoffice.org/61554 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting/source/vbaevents')
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index 3ac632e8c039..86d941df9e74 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -178,8 +178,8 @@ typedef std::unordered_map<
struct TranslatePropMap
{
- OUString sEventInfo; //OO event name
- TranslateInfo aTransInfo;
+ OUString const sEventInfo; //OO event name
+ TranslateInfo const aTransInfo;
};
static bool ApproveAll(const ScriptEvent& evt, void const * pPara); //allow all types of controls to execute the event
@@ -190,7 +190,7 @@ static bool DenyMouseDrag(const ScriptEvent& evt, void const * pPara); //used fo
struct TypeList
{
uno::Type const * pTypeList;
- int nListLength;
+ int const nListLength;
};
Type const typeXFixedText = cppu::UnoType<awt::XFixedText>::get();
@@ -296,7 +296,7 @@ public:
private:
Reference< XComponentContext > m_xCtx;
Reference< XInterface > m_xControl;
- bool m_bDispose;
+ bool const m_bDispose;
};
static bool