summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctempl.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:19:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:24 +0200
commita8884ad99c491624d776a4a21f06e6453f71b25a (patch)
tree5f747acfdb24ac2faf6c0d1171ab925303bd1cfb /sfx2/source/doc/doctempl.cxx
parent259ece83e9b114ccc8403bbde97e5b11d4319865 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I3cb9226ef6bebb5062abfae312dce95f0ef74385
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r--sfx2/source/doc/doctempl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 07a852a298ba..50cdd58003a0 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -726,7 +726,7 @@ bool SfxDocumentTemplates::CopyTo
aTarget = Content( aParentURL, aCmdEnv, comphelper::getProcessComponentContext() );
TransferInfo aTransferInfo;
- aTransferInfo.MoveData = sal_False;
+ aTransferInfo.MoveData = false;
aTransferInfo.SourceURL = pSource->GetTargetURL();
aTransferInfo.NewTitle = aTitle;
aTransferInfo.NameClash = NameClash::OVERWRITE;
@@ -798,7 +798,7 @@ bool SfxDocumentTemplates::CopyFrom
Sequence< PropertyValue > aArgs( 1 );
aArgs[0].Name = "Hidden";
- aArgs[0].Value <<= sal_True;
+ aArgs[0].Value <<= true;
INetURLObject aTemplURL( rName );
uno::Reference< XDocumentPropertiesSupplier > xDocPropsSupplier;
@@ -1553,7 +1553,7 @@ void SfxDocTemplate_Impl::AddRegion( const OUString& rTitle,
ResultSetInclude eInclude = INCLUDE_DOCUMENTS_ONLY;
Sequence< NumberedSortingInfo > aSortingInfo(1);
aSortingInfo.getArray()->ColumnIndex = 1;
- aSortingInfo.getArray()->Ascending = sal_True;
+ aSortingInfo.getArray()->Ascending = true;
xResultSet = rContent.createSortedCursor( aProps, aSortingInfo, m_rCompareFactory, eInclude );
}
catch ( Exception& ) {}
@@ -1588,7 +1588,7 @@ void SfxDocTemplate_Impl::CreateFromHierarchy( Content &rTemplRoot )
ResultSetInclude eInclude = INCLUDE_FOLDERS_ONLY;
Sequence< NumberedSortingInfo > aSortingInfo(1);
aSortingInfo.getArray()->ColumnIndex = 1;
- aSortingInfo.getArray()->Ascending = sal_True;
+ aSortingInfo.getArray()->Ascending = true;
xResultSet = rTemplRoot.createSortedCursor( aProps, aSortingInfo, m_rCompareFactory, eInclude );
}
catch ( Exception& ) {}