summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/api/ReportDefinition.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/api/ReportDefinition.cxx
parentd3415256cf8f214e50f5106523437c323f15d453 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ieee84933a3067cada2e8105ac61db994f282c383
Diffstat (limited to 'reportdesign/source/core/api/ReportDefinition.cxx')
-rw-r--r--reportdesign/source/core/api/ReportDefinition.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx
index 3b151981fe14..006265f6f1da 100644
--- a/reportdesign/source/core/api/ReportDefinition.cxx
+++ b/reportdesign/source/core/api/ReportDefinition.cxx
@@ -287,8 +287,8 @@ OStyle::OStyle()
m_aSize.Width = aDefaultSize.Width();
const style::GraphicLocation eGraphicLocation = style::GraphicLocation_NONE;
- const sal_Bool bFalse = sal_False;
- const sal_Bool bTrue = sal_True;
+ const sal_Bool bFalse = false;
+ const sal_Bool bTrue = true;
const sal_Int32 nMargin = 2000;
//const sal_Int32 nColor = COL_WHITE;
const sal_Int32 nTransparent = COL_TRANSPARENT;
@@ -418,12 +418,12 @@ void OStyle::getPropertyDefaultByHandle( sal_Int32 /*_nHandle*/, uno::Any& /*_rD
// XStyle
sal_Bool SAL_CALL OStyle::isUserDefined( ) throw (uno::RuntimeException, std::exception)
{
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL OStyle::isInUse( ) throw (uno::RuntimeException, std::exception)
{
- return sal_True;
+ return true;
}
OUString SAL_CALL OStyle::getParentStyle( ) throw (uno::RuntimeException, std::exception)
@@ -1145,7 +1145,7 @@ sal_Bool SAL_CALL OReportDefinition::attachResource( const OUString& /*_rURL*/,
throw;
}
m_pImpl->m_pUndoManager->GetSfxUndoManager().EnableUndo( true );
- return sal_True;
+ return true;
}
void OReportDefinition::fillArgs(utl::MediaDescriptor& _aDescriptor)
@@ -1471,7 +1471,7 @@ void SAL_CALL OReportDefinition::storeToStorage( const uno::Reference< embed::XS
}
if ( _xStorageToSaveTo == m_pImpl->m_xStorage )
- setModified(sal_False);
+ setModified(false);
}
if ( xStatusIndicator.is() )
xStatusIndicator->end();
@@ -1616,8 +1616,8 @@ bool OReportDefinition::WriteThroughComponent(
// XLoadable
void SAL_CALL OReportDefinition::initNew( ) throw (frame::DoubleInitializationException, io::IOException, uno::Exception, uno::RuntimeException, std::exception)
{
- setPageHeaderOn( sal_True );
- setPageFooterOn( sal_True );
+ setPageHeaderOn( true );
+ setPageFooterOn( true );
}
void SAL_CALL OReportDefinition::load( const uno::Sequence< beans::PropertyValue >& _rArguments ) throw (frame::DoubleInitializationException, io::IOException, uno::Exception, uno::RuntimeException, std::exception)
@@ -1727,7 +1727,7 @@ void SAL_CALL OReportDefinition::setVisualAreaSize( ::sal_Int64 _nAspect, const
m_pImpl->m_aVisualAreaSize.Height != _aSize.Height);
m_pImpl->m_aVisualAreaSize = _aSize;
if( bChanged )
- setModified( sal_True );
+ setModified( true );
m_pImpl->m_nAspect = _nAspect;
}