diff options
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 10 | ||||
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 59219d998e34..f9323edbaa06 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -6380,7 +6380,7 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport DffRecordHeader aExtParaHd; aExtParaHd.nRecType = 0; // set empty - sal_uInt32 bStatus = sal_True; + bool bStatus = true; DffRecordHeader aShapeContainerHd; rIn >> aShapeContainerHd; @@ -6446,13 +6446,13 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport case PPT_SLIDEPAGE : break; default : - bStatus = sal_False; + bStatus = false; } if ( bStatus ) { sal_uInt32 nSlideId = rSdrPowerPointImport.GetAktPageId(); if ( !nSlideId ) - bStatus = sal_False; + bStatus = false; else { if ( !aExtParaHd.nRecType ) @@ -6496,7 +6496,7 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport if ( pPageList && ( rSdrPowerPointImport.nAktPageNum < pPageList->size() ) ) pE = (*pPageList)[ rSdrPowerPointImport.nAktPageNum ]; if ( (!pE) || (!pE->nSlidePersistStartOffset) || ( pE->aPersistAtom.nSlideId != nSlideId ) ) - bStatus = sal_False; + bStatus = false; else { rIn.Seek( pE->nSlidePersistStartOffset ); @@ -6516,7 +6516,7 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport aClientTextBoxHd.SeekToEndOfRecord( rIn ); } if ( rIn.Tell() > pE->nSlidePersistEndOffset ) - bStatus = sal_False; + bStatus = false; else { // patching the RecordHeader aClientTextBoxHd.nFilePos -= DFF_COMMON_RECORD_HEADER_SIZE; diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index cdb13abebaf3..eef36dd24bd8 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -790,7 +790,7 @@ throw ( NoSuchElementException, RuntimeException ) // Search for first occure of "$(...". sal_Int32 nDepth = 0; - sal_Int32 bSubstitutionCompleted = sal_False; + bool bSubstitutionCompleted = false; sal_Int32 nPosition = aWorkText.indexOf( m_aVarStart ); // = first position of "$(" in string sal_Int32 nLength = 0; // = count of letters from "$(" to ")" in string bool bVarNotSubstituted = false; @@ -907,7 +907,7 @@ throw ( NoSuchElementException, RuntimeException ) nPosition = aWorkText.indexOf( m_aVarStart ); if ( nPosition == -1 ) { - bSubstitutionCompleted = sal_True; + bSubstitutionCompleted = true; break; // All variables are substituted } else diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 20e6a5b8474e..937eb8467811 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -4622,7 +4622,7 @@ we check in the following sequence: { if( m_aContext.ConvertOOoTargetToPDFTarget ) { - sal_Int32 bChangeFileExtensionToPDF = false; + bool bChangeFileExtensionToPDF = false; //examine the file type (.odm .odt. .odp, odg, ods) if( aFileExtension.equalsIgnoreAsciiCase(OUString( "odm" ) ) ) bChangeFileExtensionToPDF = true; |