summaryrefslogtreecommitdiffstats
path: root/editeng/source/items/paraitem.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 /editeng/source/items/paraitem.cxx
parentunderline popup control possible to use outside sidebar (diff)
downloadcore-6e70103da07ec67b1c1f106a8fcd064e3df97271.tar.gz
core-6e70103da07ec67b1c1f106a8fcd064e3df97271.zip
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 'editeng/source/items/paraitem.cxx')
-rw-r--r--editeng/source/items/paraitem.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index ff9315d8a0d0..52cdbc3f6d95 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -350,8 +350,7 @@ bool SvxAdjustItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
case MID_LAST_LINE_ADJUST : rVal <<= (sal_Int16)GetLastBlock(); break;
case MID_EXPAND_SINGLE :
{
- sal_Bool bValue = bOneBlock;
- rVal.setValue( &bValue, cppu::UnoType<bool>::get() );
+ rVal <<= bOneBlock;
break;
}
default: ;//prevent warning