summaryrefslogtreecommitdiff
path: root/filter
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 /filter
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 'filter')
-rw-r--r--filter/source/graphicfilter/icgm/actimpr.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/filter/source/graphicfilter/icgm/actimpr.cxx b/filter/source/graphicfilter/icgm/actimpr.cxx
index 3d055095fa7d..1a2dd6f36d81 100644
--- a/filter/source/graphicfilter/icgm/actimpr.cxx
+++ b/filter/source/graphicfilter/icgm/actimpr.cxx
@@ -788,8 +788,7 @@ void CGMImpressOutAct::DrawText( awt::Point& rTextPos, awt::Size& rTextSize, cha
}
if ( nWidth == -1 )
{
- sal_Bool bTrue( true );
- aAny.setValue( &bTrue, cppu::UnoType<sal_Bool>::get());
+ aAny <<= true;
maXPropSet->setPropertyValue( "TextAutoGrowWidth", aAny );
drawing::TextAdjust eTextAdjust;
@@ -812,8 +811,7 @@ void CGMImpressOutAct::DrawText( awt::Point& rTextPos, awt::Size& rTextSize, cha
}
if ( nHeight == -1 )
{
- sal_Bool bTrue = true;
- aAny.setValue( &bTrue, cppu::UnoType<sal_Bool>::get());
+ aAny <<= true;
maXPropSet->setPropertyValue( "TextAutoGrowHeight", aAny );
}
uno::Reference< text::XText > xText;
@@ -854,8 +852,7 @@ void CGMImpressOutAct::DrawText( awt::Point& rTextPos, awt::Size& rTextSize, cha
}
if ( nWidth > 0 && nHeight > 0 ) // restricted text
{
- sal_Bool bTrue = true;
- aAny.setValue( &bTrue, cppu::UnoType<sal_Bool>::get());
+ aAny <<= true;
maXPropSet->setPropertyValue( "TextFitToSize", aAny );
}
aCursorText->setString( aStr );