summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:21:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:31 +0200
commitd81c4d2af9415fcf02541e7efb1df587f5654784 (patch)
tree8114f016b151231bed9437a6063d6e053bcf651b /vcl/source/gdi
parentd0a271e9ea476d627de7e4d15dc490574d3afeba (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Iee861bbf1c7a8bf02ec5f04f0ff936e54cfec7b7
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
-rw-r--r--vcl/source/gdi/print3.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 8f82437f4c64..ee9b0dfd467e 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -3975,7 +3975,7 @@ bool PDFWriterImpl::emitFonts()
// copy font file
beginCompression();
checkAndEnableStreamEncryption( nFontStream );
- sal_Bool bEOF = sal_False;
+ sal_Bool bEOF = false;
do
{
char buf[8192];
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 76e358fb0ebf..f20da6825f54 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1413,7 +1413,7 @@ css::uno::Sequence< css::beans::PropertyValue > PrinterController::getJobPropert
{
css::beans::PropertyValue aVal;
aVal.Name = "IsPrinter";
- aVal.Value <<= sal_True;
+ aVal.Value <<= true;
aResult[nCur++] = aVal;
}
aResult.realloc( nCur );
@@ -1899,12 +1899,12 @@ css::uno::Any PrinterOptionsHelper::setUIControlOpt(const css::uno::Sequence< OU
if( i_rControlOptions.mbInternalOnly )
{
aCtrl[nUsed ].Name = "InternalUIOnly";
- aCtrl[nUsed++].Value <<= sal_True;
+ aCtrl[nUsed++].Value <<= true;
}
if( ! i_rControlOptions.mbEnabled )
{
aCtrl[nUsed ].Name = "Enabled";
- aCtrl[nUsed++].Value <<= sal_False;
+ aCtrl[nUsed++].Value <<= false;
}
sal_Int32 nAddProps = i_rControlOptions.maAddProps.size();