Kaydet (Commit) 1707c47d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:defaultparams

Change-Id: I946e1970647d8005f54ac0362f5c2b04f867b22f
üst af9684f6
......@@ -217,7 +217,7 @@ void DataSourceDialog::setValidPage( TabPage * pTabPage )
if( m_bRangeChooserTabIsValid && m_bDataSourceTabIsValid )
{
m_pBtnOK->Enable( true );
m_pBtnOK->Enable();
OSL_ASSERT( m_pTabControl );
m_pTabControl->EnableTabToggling();
}
......
......@@ -549,7 +549,7 @@ void SplineResourceGroup::fillControls( const ChartTypeParameter& rParameter )
case CurveStyle_CUBIC_SPLINES:
case CurveStyle_B_SPLINES:
m_pLB_LineType->SelectEntryPos(POS_LINETYPE_SMOOTH);
m_pPB_DetailsDialog->Enable(true);
m_pPB_DetailsDialog->Enable();
m_pPB_DetailsDialog->SetClickHdl( LINK( this, SplineResourceGroup, SplineDetailsDialogHdl ) );
m_pPB_DetailsDialog->SetQuickHelpText( SCH_RESSTR(STR_DLG_SMOOTH_LINE_PROPERTIES) );
getSplinePropertiesDialog().fillControls( rParameter );
......@@ -559,7 +559,7 @@ void SplineResourceGroup::fillControls( const ChartTypeParameter& rParameter )
case CurveStyle_STEP_CENTER_X:
case CurveStyle_STEP_CENTER_Y:
m_pLB_LineType->SelectEntryPos(POS_LINETYPE_STEPPED);
m_pPB_DetailsDialog->Enable(true);
m_pPB_DetailsDialog->Enable();
m_pPB_DetailsDialog->SetClickHdl( LINK( this, SplineResourceGroup, SteppedDetailsDialogHdl ) );
m_pPB_DetailsDialog->SetQuickHelpText( SCH_RESSTR(STR_DLG_STEPPED_LINE_PROPERTIES) );
getSteppedPropertiesDialog().fillControls( rParameter );
......
......@@ -505,7 +505,7 @@ void DataSourceTabPage::updateControlState()
bHasValidRole = (pRoleEntry != 0);
}
m_pBTN_ADD->Enable( true );
m_pBTN_ADD->Enable();
m_pBTN_REMOVE->Enable( bHasSelectedSeries );
m_pBTN_UP->Enable( bHasSelectedSeries && (pSeriesEntry != m_pLB_SERIES->First()));
......
......@@ -203,11 +203,11 @@ void SchOptionTabPage::Reset(const SfxItemSet* rInAttrs)
{
sal_Int32 nVal = aMissingValueTreatments[nN];
if(nVal==::com::sun::star::chart::MissingValueTreatment::LEAVE_GAP)
m_pRB_DontPaint->Enable(true);
m_pRB_DontPaint->Enable();
else if(nVal==::com::sun::star::chart::MissingValueTreatment::USE_ZERO)
m_pRB_AssumeZero->Enable(true);
m_pRB_AssumeZero->Enable();
else if(nVal==::com::sun::star::chart::MissingValueTreatment::CONTINUE)
m_pRB_ContinueLine->Enable(true);
m_pRB_ContinueLine->Enable();
}
long nVal=static_cast<const SfxInt32Item*>(pPoolItem)->GetValue();
......
......@@ -1802,7 +1802,7 @@ void VCartesianAxis::createShapes()
if( apTickIter )
{
double fRotationAngleDegree = m_aAxisLabelProperties.fRotationAngleDegree;
B2DVector aLabelsDistance( lcl_getLabelsDistance( *apTickIter.get(), pTickFactory2D->getDistanceAxisTickToText( m_aAxisProperties, false ), fRotationAngleDegree ) );
B2DVector aLabelsDistance( lcl_getLabelsDistance( *apTickIter.get(), pTickFactory2D->getDistanceAxisTickToText( m_aAxisProperties ), fRotationAngleDegree ) );
sal_Int32 nCurrentLength = static_cast<sal_Int32>(aLabelsDistance.getLength());
aTickmarkPropertiesList.push_back( m_aAxisProperties.makeTickmarkPropertiesForComplexCategories( nOffset + nCurrentLength, 0, nTextLevel ) );
nOffset += nCurrentLength;
......
......@@ -624,7 +624,7 @@ void VDiagram::createShapes_3d()
uno::Reference< drawing::XShape > xShape =
m_pShapeFactory->createStripe(xOuterGroup_Shapes, aStripe
, xFloorProp, PropertyMapper::getPropertyNameMapForFillAndLineProperties(), bDoubleSided, 0 );
, xFloorProp, PropertyMapper::getPropertyNameMapForFillAndLineProperties(), bDoubleSided );
CuboidPlanePosition eBottomPos( ThreeDHelper::getAutomaticCuboidPlanePositionForStandardBottom( uno::Reference< beans::XPropertySet >( m_xDiagram, uno::UNO_QUERY ) ) );
if( !bAddFloorAndWall || (CuboidPlanePosition_Bottom!=eBottomPos) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment