summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/ChildrenManagerImpl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 12:36:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 18:17:58 +0200
commit83a962578f616ae4ff215fa782763f2045a20bcc (patch)
tree4286476b26081960248ea63752822d9589db6d0f /svx/source/accessibility/ChildrenManagerImpl.cxx
parent591db0f97b6084723c138a01d5f336b1f1a3a639 (diff)
loplugin:simplifyconstruct in svtools..svx
Change-Id: Ia20fac7cec01ac658a903f8b001807b2e72dbf3e Reviewed-on: https://gerrit.libreoffice.org/60316 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/accessibility/ChildrenManagerImpl.cxx')
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index 0ddbd77670a2..a62587ddfc47 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -1009,7 +1009,6 @@ void ChildrenManagerImpl::UnregisterAsDisposeListener (
// AccessibleChildDescriptor
ChildDescriptor::ChildDescriptor (const Reference<drawing::XShape>& xShape)
: mxShape (xShape),
- mxAccessibleShape (nullptr),
mbCreateEventPending (true)
{
// Empty.
@@ -1017,8 +1016,7 @@ ChildDescriptor::ChildDescriptor (const Reference<drawing::XShape>& xShape)
ChildDescriptor::ChildDescriptor (const Reference<XAccessible>& rxAccessibleShape)
- : mxShape (nullptr),
- mxAccessibleShape (rxAccessibleShape),
+ : mxAccessibleShape (rxAccessibleShape),
mbCreateEventPending (true)
{
// Make sure that the accessible object has the <const>VISIBLE</const>