summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev/xattr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-04 11:59:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-04 11:59:23 +0200
commit6e70103da07ec67b1c1f106a8fcd064e3df97271 (patch)
tree091834cdeb1358b9b3b0c3416f8672cc7cfb26d0 /svx/source/xoutdev/xattr.cxx
parent019a0fbdd860994ba727f19eba0879136406d0f9 (diff)
While at it, delete Any functions on sal_Bool*
(at least for LIBO_INTERNAL_ONLY), to help further reduce the occurrences of sal_Bool across the code base Change-Id: I70654a0cb56655984c717b7b894f26c9ab47536e
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;
}