diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 11:13:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 11:13:42 +0100 |
commit | 146c7c5c89d9ce26c3de951ff049d36df1b5857b (patch) | |
tree | d66d72cb77002c96f528790f88012617243ccbf3 /toolkit/source/awt/vclxprinter.cxx | |
parent | 569756aaf4606313297eace88b3ad5a6f57d8329 (diff) |
toolkit: sal_Bool -> bool
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
Diffstat (limited to 'toolkit/source/awt/vclxprinter.cxx')
-rw-r--r-- | toolkit/source/awt/vclxprinter.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx index 7c5a627fb4be..427450abfc74 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -74,7 +74,7 @@ VCLXPrinterPropertySet::VCLXPrinterPropertySet( const OUString& rPrinterName ) SolarMutexGuard aSolarGuard; mnOrientation = 0; - mbHorizontal = sal_False; + mbHorizontal = false; } VCLXPrinterPropertySet::~VCLXPrinterPropertySet() @@ -120,7 +120,7 @@ sal_Bool VCLXPrinterPropertySet::convertFastPropertyValue( ::com::sun::star::uno { ::osl::MutexGuard aGuard( Mutex ); - sal_Bool bDifferent = sal_False; + bool bDifferent = false; switch ( nHandle ) { case PROPERTY_Orientation: @@ -130,18 +130,18 @@ sal_Bool VCLXPrinterPropertySet::convertFastPropertyValue( ::com::sun::star::uno { rConvertedValue <<= n; rOldValue <<= mnOrientation; - bDifferent = sal_True; + bDifferent = true; } } break; case PROPERTY_Horizontal: { - sal_Bool b; + bool b; if( ( rValue >>= b ) && ( b != mbHorizontal ) ) { rConvertedValue <<= b; rOldValue <<= mbHorizontal; - bDifferent = sal_True; + bDifferent = true; } } break; @@ -278,7 +278,7 @@ sal_Bool VCLXPrinter::start( const OUString& /*rJobName*/, sal_Int16 /*nCopies*/ { ::osl::MutexGuard aGuard( Mutex ); - sal_Bool bDone = sal_True; + bool bDone = true; if ( mpPrinter.get() ) { maInitJobSetup = mpPrinter->GetJobSetup(); |