summaryrefslogtreecommitdiff
path: root/include/toolkit
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2017-05-21 15:19:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-21 21:00:39 +0200
commitfd26c3199d6e0f537ecad21ac2ef465c80bc8b90 (patch)
tree6ace7a6c3160a4c44dc2e8c35e84b795494ac62f /include/toolkit
parentee79b9875ce4914c950c349c61f39e6dfdd0cc6b (diff)
accessibility: avoid useless allocation of a VCLExternalLock
Change-Id: I4f95d38e0f3d139eded37dac10946084cfd11acd Reviewed-on: https://gerrit.libreoffice.org/37874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/toolkit')
-rw-r--r--include/toolkit/helper/externallock.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/toolkit/helper/externallock.hxx b/include/toolkit/helper/externallock.hxx
index 6299395077ae..ddac625e73bf 100644
--- a/include/toolkit/helper/externallock.hxx
+++ b/include/toolkit/helper/externallock.hxx
@@ -33,6 +33,12 @@ public:
virtual void release() override;
};
+class BaseVCLExternalSolarLock
+{
+protected:
+ mutable VCLExternalSolarLock m_aLock;
+};
+
#endif // INCLUDED_TOOLKIT_HELPER_EXTERNALLOCK_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */