summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/RptObject.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:18:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:47 +0200
commitcb30036c3c9723e75c4b0ca73db6acdea4b66adb (patch)
tree47662115e6e394ab99a9e22a98bbf44781b177b6 /reportdesign/source/core/sdr/RptObject.cxx
parentd3415256cf8f214e50f5106523437c323f15d453 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ieee84933a3067cada2e8105ac61db994f282c383
Diffstat (limited to 'reportdesign/source/core/sdr/RptObject.cxx')
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index 00c6d9898c28..d099b5c1cdc1 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -126,7 +126,7 @@ SdrObject* OObjectBase::createObject(const uno::Reference< report::XReportCompon
uno::Reference<beans::XPropertySet> xControlModel(pUnoObj->GetUnoControlModel(),uno::UNO_QUERY);
if ( xControlModel.is() )
- xControlModel->setPropertyValue( PROPERTY_MULTILINE,uno::makeAny(sal_True));
+ xControlModel->setPropertyValue( PROPERTY_MULTILINE,uno::makeAny(true));
}
break;
case OBJ_DLG_IMAGECONTROL:
@@ -614,7 +614,7 @@ void OUnoObject::impl_initializeModel_nothrow()
{
const Reference< XPropertySet > xModelProps( GetUnoControlModel(), UNO_QUERY_THROW );
const OUString sTreatAsNumberProperty = "TreatAsNumber";
- xModelProps->setPropertyValue( sTreatAsNumberProperty, makeAny( sal_False ) );
+ xModelProps->setPropertyValue( sTreatAsNumberProperty, makeAny( false ) );
xModelProps->setPropertyValue( PROPERTY_VERTICALALIGN,m_xReportComponent->getPropertyValue(PROPERTY_VERTICALALIGN));
}
}
@@ -1168,8 +1168,8 @@ void OOle2Obj::initializeChart( const uno::Reference< frame::XModel>& _xModel)
::comphelper::NamedValueCollection aArgs;
aArgs.put( "CellRangeRepresentation", uno::makeAny( OUString( "all" ) ) );
- aArgs.put( "HasCategories", uno::makeAny( sal_True ) );
- aArgs.put( "FirstCellAsLabel", uno::makeAny( sal_True ) );
+ aArgs.put( "HasCategories", uno::makeAny( true ) );
+ aArgs.put( "FirstCellAsLabel", uno::makeAny( true ) );
aArgs.put( "DataRowSource", uno::makeAny( chart::ChartDataRowSource_COLUMNS ) );
xReceiver->setArguments( aArgs.getPropertyValues() );