diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 11:59:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 11:59:23 +0200 |
commit | 6e70103da07ec67b1c1f106a8fcd064e3df97271 (patch) | |
tree | 091834cdeb1358b9b3b0c3416f8672cc7cfb26d0 /starmath | |
parent | 019a0fbdd860994ba727f19eba0879136406d0f9 (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 'starmath')
-rw-r--r-- | starmath/source/unomodel.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 10cea81039c9..cda93d4b3995 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -770,10 +770,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu break; case HANDLE_IS_TEXT_MODE : - { - sal_Bool bVal = aFormat.IsTextmode(); - (*pValue).setValue(&bVal, cppu::UnoType<bool>::get()); - } + *pValue <<= aFormat.IsTextmode(); break; case HANDLE_GREEK_CHAR_STYLE : @@ -812,10 +809,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu *pValue <<= static_cast<sal_Int16>(aFormat.GetDistance((*ppEntries)->mnMemberId)); break; case HANDLE_IS_SCALE_ALL_BRACKETS : - { - sal_Bool bVal = aFormat.IsScaleNormalBrackets(); - (*pValue).setValue(&bVal, cppu::UnoType<bool>::get()); - } + *pValue <<= aFormat.IsScaleNormalBrackets(); break; case HANDLE_PRINTER_NAME: { |