summaryrefslogtreecommitdiff
path: root/include/comphelper/configuration.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/configuration.hxx')
-rw-r--r--include/comphelper/configuration.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/configuration.hxx b/include/comphelper/configuration.hxx
index 237ad3e317c9..cb2ad5675660 100644
--- a/include/comphelper/configuration.hxx
+++ b/include/comphelper/configuration.hxx
@@ -162,7 +162,7 @@ template< typename T > struct Convert< boost::optional< T > >
{
static css::uno::Any toAny(boost::optional< T > const & value) {
return value
- ? css::uno::makeAny(value.get())
+ ? css::uno::makeAny(*value)
: css::uno::Any();
}