summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev/xattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/xoutdev/xattr.cxx')
-rw-r--r--svx/source/xoutdev/xattr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 486a3f60be7f..bd44214921a5 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -2038,8 +2038,8 @@ bool XLineStartCenterItem::GetPresentation
bool XLineStartCenterItem::QueryValue( css::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
{
- sal_Bool bValue = GetValue();
- rVal.setValue( &bValue, cppu::UnoType<bool>::get() );
+ bool bValue = GetValue();
+ rVal <<= bValue;
return true;
}
@@ -2089,8 +2089,8 @@ bool XLineEndCenterItem::GetPresentation
bool XLineEndCenterItem::QueryValue( css::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
{
- sal_Bool bValue = GetValue();
- rVal.setValue( &bValue, cppu::UnoType<bool>::get() );
+ bool bValue = GetValue();
+ rVal <<= bValue;
return true;
}