summaryrefslogtreecommitdiff
path: root/unotools/source/config/configitem.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 18:26:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-21 08:49:56 +0200
commit7272951c121735a7350fa70840b255b7ef831f1a (patch)
tree52033c5b70c6c2c24ec5c507b7d38eca257356a5 /unotools/source/config/configitem.cxx
parentd943b42214321c630147176210733399c57e6f19 (diff)
loplugin:referencecasting in unotools..uui
Change-Id: Ia2c991591e65deb00710ab7a5b73bc42ae6b1b46 Reviewed-on: https://gerrit.libreoffice.org/76031 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/source/config/configitem.cxx')
-rw-r--r--unotools/source/config/configitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 36cc9b68ed6a..29097d32fd56 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -351,7 +351,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const css::uno::Sequence< OUS
}
else
{
- xNode.set( xHierarchyAccess, UNO_QUERY );
+ xNode = xHierarchyAccess;
}
xSet.set(xNode, UNO_QUERY);