From 533c6cb6bad6ef0432e8eebbfd4daf90ef71f3b4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Jun 2014 08:43:20 +0200 Subject: fixes for up-casting to Reference Fix regressions introduced with 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking Reference constructor to reduce code noise" Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687 Signed-off-by: Stephan Bergmann --- unotools/source/config/configitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unotools') diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index df0fa98194eb..854ad9ffcc90 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -382,7 +382,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Se } else { - xNode = xHierarchyAccess; + xNode = Reference( xHierarchyAccess, UNO_QUERY ); } xSet = Reference< XPropertySet >(xNode, UNO_QUERY); -- cgit