Kaydet (Commit) dd5a736a authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: Ieb1f4d55dec800d053f41f906280e172eefa3b6e
üst 759bbba7
......@@ -42,14 +42,14 @@ ScVbaAxis::getChartPtr() throw( uno::RuntimeException )
return pChart;
}
sal_Bool
bool
ScVbaAxis::isValueAxis() throw( script::BasicErrorException )
{
if ( getType() == xlCategory )
{
DebugHelper::exception(SbERR_METHOD_FAILED, OUString());
}
return sal_True;
return true;
}
ScVbaAxis::ScVbaAxis( const uno::Reference< XHelperInterface >& xParent,const uno::Reference< uno::XComponentContext > & xContext, const uno::Reference< beans::XPropertySet >& _xPropertySet, sal_Int32 _nType, sal_Int32 _nGroup ) : ScVbaAxis_BASE( xParent, xContext ), mxPropertySet( _xPropertySet ), mnType( _nType ), mnGroup( _nGroup ), bCrossesAreCustomized( false )
......@@ -136,7 +136,7 @@ ScVbaAxis::setCrosses( ::sal_Int32 _nCrosses ) throw (script::BasicErrorExceptio
bCrossesAreCustomized = false;
break;
default: //xlAxisCrossesCustom
bCrossesAreCustomized = sal_True;
bCrossesAreCustomized = true;
break;
}
mxPropertySet->setPropertyValue(AUTOORIGIN, uno::makeAny(false) );
......
......@@ -31,9 +31,9 @@ class ScVbaAxis : public ScVbaAxis_BASE
css::uno::Reference< css::beans::XPropertySet > mxPropertySet;
sal_Int32 mnType;
sal_Int32 mnGroup;
sal_Bool bCrossesAreCustomized;
bool bCrossesAreCustomized;
ScVbaChart* getChartPtr() throw( css::uno::RuntimeException );
sal_Bool isValueAxis() throw( css::script::BasicErrorException );
bool isValueAxis() throw( css::script::BasicErrorException );
SAL_WNODEPRECATED_DECLARATIONS_PUSH
std::auto_ptr<ov::ShapeHelper> oShapeHelper;
SAL_WNODEPRECATED_DECLARATIONS_POP
......
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