diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-25 08:43:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-25 17:10:43 +0200 |
commit | 533c6cb6bad6ef0432e8eebbfd4daf90ef71f3b4 (patch) | |
tree | 0575fd7acded0e19664352f44633cff93c3ab6b6 /unotools | |
parent | 96ff10449464ae9d869fe21dccf193a6eef670c1 (diff) |
fixes for up-casting to Reference<XInterface>
Fix regressions introduced with
6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking
Reference constructor to reduce code noise"
Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/configitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<XInterface>( xHierarchyAccess, UNO_QUERY ); } xSet = Reference< XPropertySet >(xNode, UNO_QUERY); |