summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/source/flash/swfwriter.cxx2
-rw-r--r--filter/source/flash/swfwriter1.cxx2
-rw-r--r--filter/source/graphic/GraphicExportFilter.cxx2
-rw-r--r--filter/source/graphicfilter/epict/epict.cxx4
-rw-r--r--filter/source/graphicfilter/eps/eps.cxx2
-rw-r--r--filter/source/graphicfilter/idxf/dxf2mtf.cxx4
-rw-r--r--filter/source/graphicfilter/ieps/ieps.cxx8
-rw-r--r--filter/source/graphicfilter/ios2met/ios2met.cxx4
-rw-r--r--filter/source/graphicfilter/ipict/ipict.cxx12
-rw-r--r--filter/source/msfilter/msdffimp.cxx4
-rw-r--r--filter/source/pdf/impdialog.cxx62
-rw-r--r--filter/source/pdf/pdfexport.cxx2
-rw-r--r--filter/source/pdf/pdffilter.cxx44
-rw-r--r--filter/source/svg/impsvgdialog.cxx8
-rw-r--r--filter/source/svg/svgfontexport.cxx2
-rw-r--r--filter/source/svg/svgwriter.cxx2
16 files changed, 82 insertions, 82 deletions
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index 673717622492..a6c3fbf511db 100644
--- a/filter/source/flash/swfwriter.cxx
+++ b/filter/source/flash/swfwriter.cxx
@@ -50,7 +50,7 @@ Writer::Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int
mnJPEGCompressMode(nJPEGcompressMode)
{
mpVDev = new VirtualDevice;
- mpVDev->EnableOutput( sal_False );
+ mpVDev->EnableOutput( false );
maMovieTempFile.EnableKillingFile();
maFontsTempFile.EnableKillingFile();
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index d5c07a6e0f2c..0448fe447974 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -521,7 +521,7 @@ void Writer::Impl_writeText( const Point& rPos, const OUString& rText, const sal
{
// todo: optimize me as this will generate a huge amount of duplicate polygons
PolyPolygon aPolyPoygon;
- mpVDev->GetTextOutline( aPolyPoygon, rText, 0, 0, (sal_uInt16)nLen, sal_True, nWidth, pDXArray );
+ mpVDev->GetTextOutline( aPolyPoygon, rText, 0, 0, (sal_uInt16)nLen, true, nWidth, pDXArray );
aPolyPoygon.Translate( rPos );
Impl_writePolyPolygon( aPolyPoygon, sal_True, aTextColor, aTextColor );
}
diff --git a/filter/source/graphic/GraphicExportFilter.cxx b/filter/source/graphic/GraphicExportFilter.cxx
index 18db6b63810e..6cc22f91e2cb 100644
--- a/filter/source/graphic/GraphicExportFilter.cxx
+++ b/filter/source/graphic/GraphicExportFilter.cxx
@@ -84,7 +84,7 @@ void GraphicExportFilter::gatherProperties( const Sequence<PropertyValue>& rProp
if ( !aInternalFilterName.isEmpty() )
{
- GraphicFilter aGraphicFilter( sal_True );
+ GraphicFilter aGraphicFilter( true );
sal_uInt16 nFilterCount = aGraphicFilter.GetExportFormatCount();
sal_uInt16 nFormat;
diff --git a/filter/source/graphicfilter/epict/epict.cxx b/filter/source/graphicfilter/epict/epict.cxx
index 54a02a99f233..5a6e8df4aece 100644
--- a/filter/source/graphicfilter/epict/epict.cxx
+++ b/filter/source/graphicfilter/epict/epict.cxx
@@ -464,8 +464,8 @@ void PictWriter::WriteOpcode_TxFace(const Font & rFont)
eWeight==WEIGHT_BLACK) nFace|=0x01;
if (rFont.GetItalic()!=ITALIC_NONE) nFace|=0x02;
if (rFont.GetUnderline()!=UNDERLINE_NONE) nFace|=0x04;
- if (rFont.IsOutline()==sal_True) nFace|=0x08;
- if (rFont.IsShadow()==sal_True) nFace|=0x10;
+ if (rFont.IsOutline()) nFace|=0x08;
+ if (rFont.IsShadow()) nFace|=0x10;
if (bDstTxFaceValid==sal_False || nDstTxFace!=nFace) {
pPict->WriteUInt16( (sal_uInt16)0x0004 ).WriteUChar( nFace ).WriteUChar( (sal_uInt8)0 );
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx
index 5793c9174d62..14731e1c46bc 100644
--- a/filter/source/graphicfilter/eps/eps.cxx
+++ b/filter/source/graphicfilter/eps/eps.cxx
@@ -2163,7 +2163,7 @@ void PSWriter::ImplText( const OUString& rUniString, const Point& rPos, const sa
sal_Bool bOldLineColor = bLineColor;
bLineColor = sal_False;
std::vector<PolyPolygon> aPolyPolyVec;
- if ( aVirDev.GetTextOutlines( aPolyPolyVec, rUniString, 0, 0, -1, sal_True, nWidth, pDXArry ) )
+ if ( aVirDev.GetTextOutlines( aPolyPolyVec, rUniString, 0, 0, -1, true, nWidth, pDXArry ) )
{
// always adjust text position to match baseline alignment
ImplWriteLine( "pum" );
diff --git a/filter/source/graphicfilter/idxf/dxf2mtf.cxx b/filter/source/graphicfilter/idxf/dxf2mtf.cxx
index 2ee26ebce408..592eef5333f6 100644
--- a/filter/source/graphicfilter/idxf/dxf2mtf.cxx
+++ b/filter/source/graphicfilter/idxf/dxf2mtf.cxx
@@ -201,7 +201,7 @@ sal_Bool DXF2GDIMetaFile::SetFontAttribute(const DXFBasicEntity & rE, short nAng
aColor=ConvertColor((sal_uInt8)nColor);
aFont.SetColor(aColor);
- aFont.SetTransparent(sal_True);
+ aFont.SetTransparent(true);
aFont.SetFamily(FAMILY_SWISS);
aFont.SetSize(Size(0,nHeight));
aFont.SetAlign(ALIGN_BASELINE);
@@ -805,7 +805,7 @@ sal_Bool DXF2GDIMetaFile::Convert(const DXFRepresentation & rDXF, GDIMetaFile &
aParentLayerDXFLineInfo.fDistance = 0;
}
- pVirDev->EnableOutput(sal_False);
+ pVirDev->EnableOutput(false);
rMTF.Record(pVirDev);
aActLineColor = pVirDev->GetLineColor();
diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx
index 18896b063a79..a5f8b1455af2 100644
--- a/filter/source/graphicfilter/ieps/ieps.cxx
+++ b/filter/source/graphicfilter/ieps/ieps.cxx
@@ -135,7 +135,7 @@ static void MakeAsMeta(Graphic &rGraphic)
aSize = Application::GetDefaultDevice()->LogicToLogic( aSize,
aBmp.GetPrefMapMode(), MAP_100TH_MM );
- aVDev.EnableOutput( sal_False );
+ aVDev.EnableOutput( false );
aMtf.Record( &aVDev );
aVDev.DrawBitmap( Point(), aSize, rGraphic.GetBitmap() );
aMtf.Stop();
@@ -395,7 +395,7 @@ void MakePreview(sal_uInt8* pBuf, sal_uInt32 nBytesRead,
VirtualDevice aVDev;
Font aFont;
- aVDev.EnableOutput( sal_False );
+ aVDev.EnableOutput( false );
aMtf.Record( &aVDev );
aVDev.SetLineColor( Color( COL_RED ) );
aVDev.SetFillColor();
@@ -633,7 +633,7 @@ GraphicImport(SvStream & rStream, Graphic & rGraphic, FilterConfigItem*, sal_Boo
VirtualDevice aVDev;
GDIMetaFile aMtf;
Size aSize;
- aVDev.EnableOutput( sal_False );
+ aVDev.EnableOutput( false );
aMtf.Record( &aVDev );
aSize = aBitmap.GetPrefSize();
if( !aSize.Width() || !aSize.Height() )
@@ -668,7 +668,7 @@ GraphicImport(SvStream & rStream, Graphic & rGraphic, FilterConfigItem*, sal_Boo
if ( nSecurityCount)
{
bGraphicLinkCreated = sal_True;
- GfxLink aGfxLink( pBuf, nPSSize, GFX_LINK_TYPE_EPS_BUFFER, sal_True ) ;
+ GfxLink aGfxLink( pBuf, nPSSize, GFX_LINK_TYPE_EPS_BUFFER, true ) ;
GDIMetaFile aMtf;
long nWidth = nNumb[2] - nNumb[0] + 1;
diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx
index 9aa722c6f256..bb265fb1fcb4 100644
--- a/filter/source/graphicfilter/ios2met/ios2met.cxx
+++ b/filter/source/graphicfilter/ios2met/ios2met.cxx
@@ -2229,7 +2229,7 @@ void OS2METReader::ReadFont(sal_uInt16 nFieldSize)
OSFont * pF=new OSFont;
pF->pSucc=pFontList; pFontList=pF;
pF->nID=0;
- pF->aFont.SetTransparent(sal_True);
+ pF->aFont.SetTransparent(true);
pF->aFont.SetAlign(ALIGN_BASELINE);
nPos=pOS2MET->Tell();
@@ -2584,7 +2584,7 @@ void OS2METReader::ReadOS2MET( SvStream & rStreamOS2MET, GDIMetaFile & rGDIMetaF
pOrdFile=NULL;
pVirDev = new VirtualDevice();
- pVirDev->EnableOutput(sal_False);
+ pVirDev->EnableOutput(false);
rGDIMetaFile.Record(pVirDev);
pOS2MET->SetNumberFormatInt(NUMBERFORMAT_INT_LITTLEENDIAN);
diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx
index 920248ddb5a6..9cb8cf877fed 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -659,7 +659,7 @@ void PictReader::DrawingMethod(PictDrawingMethod eMethod)
case PDM_TEXT:
aActFont.SetColor(aActForeColor);
aActFont.SetFillColor(aActBackColor);
- aActFont.SetTransparent(sal_True);
+ aActFont.SetTransparent(true);
pVirDev->SetFont(aActFont);
pVirDev->SetRasterOp(ROP_OVERPAINT);
break;
@@ -1252,10 +1252,10 @@ sal_uLong PictReader::ReadData(sal_uInt16 nOpcode)
else aActFont.SetItalic(ITALIC_NONE);
if ( (nFace & 0x04)!=0 ) aActFont.SetUnderline(UNDERLINE_SINGLE);
else aActFont.SetUnderline(UNDERLINE_NONE);
- if ( (nFace & 0x08)!=0 ) aActFont.SetOutline(sal_True);
- else aActFont.SetOutline(sal_False);
- if ( (nFace & 0x10)!=0 ) aActFont.SetShadow(sal_True);
- else aActFont.SetShadow(sal_False);
+ if ( (nFace & 0x08)!=0 ) aActFont.SetOutline(true);
+ else aActFont.SetOutline(false);
+ if ( (nFace & 0x10)!=0 ) aActFont.SetShadow(true);
+ else aActFont.SetShadow(false);
eActMethod=PDM_UNDEFINED;
nDataSize=1;
break;
@@ -1791,7 +1791,7 @@ void PictReader::ReadPict( SvStream & rStreamPict, GDIMetaFile & rGDIMetaFile )
aHRes = aVRes = Fraction( 1, 1 );
pVirDev = new VirtualDevice();
- pVirDev->EnableOutput(sal_False);
+ pVirDev->EnableOutput(false);
rGDIMetaFile.Record(pVirDev);
pPict->SetNumberFormatInt(NUMBERFORMAT_INT_BIGENDIAN);
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index cf255a83f134..8340f844b700 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -3837,7 +3837,7 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons
{
BitmapEx aBitmapEx( aGraf.GetBitmapEx() );
if ( nBrightness || nContrast || ( nGamma != 0x10000 ) )
- aBitmapEx.Adjust( nBrightness, (sal_Int16)nContrast, 0, 0, 0, (double)nGamma / 0x10000, sal_False );
+ aBitmapEx.Adjust( nBrightness, (sal_Int16)nContrast, 0, 0, 0, (double)nGamma / 0x10000, false );
if ( eDrawMode == GRAPHICDRAWMODE_GREYS )
aBitmapEx.Convert( BMP_CONVERSION_8BIT_GREYS );
else if ( eDrawMode == GRAPHICDRAWMODE_MONO )
@@ -3851,7 +3851,7 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons
{
GDIMetaFile aGdiMetaFile( aGraf.GetGDIMetaFile() );
if ( nBrightness || nContrast || ( nGamma != 0x10000 ) )
- aGdiMetaFile.Adjust( nBrightness, (sal_Int16)nContrast, 0, 0, 0, (double)nGamma / 0x10000, sal_False );
+ aGdiMetaFile.Adjust( nBrightness, (sal_Int16)nContrast, 0, 0, 0, (double)nGamma / 0x10000, false );
if ( eDrawMode == GRAPHICDRAWMODE_GREYS )
aGdiMetaFile.Convert( MTF_CONVERSION_8BIT_GREYS );
else if ( eDrawMode == GRAPHICDRAWMODE_MONO )
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 9d968a0465dc..a98e170c9d1d 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -183,48 +183,48 @@ ImpPDFTabDialog::ImpPDFTabDialog(Window* pParent, Sequence< PropertyValue >& rFi
}
//get the CTL (Complex Text Layout) from general options, returns sal_True if we have a CTL font on our hands.
- mbUseCTLFont = maConfigI18N.ReadBool( "CTLFont", sal_False );
+ mbUseCTLFont = maConfigI18N.ReadBool( "CTLFont", false );
- mbUseLosslessCompression = maConfigItem.ReadBool( "UseLosslessCompression", sal_False );
+ mbUseLosslessCompression = maConfigItem.ReadBool( "UseLosslessCompression", false );
mnQuality = maConfigItem.ReadInt32( "Quality", 90 );
- mbReduceImageResolution = maConfigItem.ReadBool( "ReduceImageResolution", sal_False );
+ mbReduceImageResolution = maConfigItem.ReadBool( "ReduceImageResolution", false );
mnMaxImageResolution = maConfigItem.ReadInt32( "MaxImageResolution", 300 );
- mbUseTaggedPDF = maConfigItem.ReadBool( "UseTaggedPDF", sal_False );
+ mbUseTaggedPDF = maConfigItem.ReadBool( "UseTaggedPDF", false );
mnPDFTypeSelection = maConfigItem.ReadInt32( "SelectPdfVersion", 0 );
if ( mbIsPresentation )
- mbExportNotesPages = maConfigItem.ReadBool( "ExportNotesPages", sal_False );
- mbExportNotes = maConfigItem.ReadBool( "ExportNotes", sal_False );
- mbViewPDF = maConfigItem.ReadBool( "ViewPDFAfterExport", sal_False );
+ mbExportNotesPages = maConfigItem.ReadBool( "ExportNotesPages", false );
+ mbExportNotes = maConfigItem.ReadBool( "ExportNotes", false );
+ mbViewPDF = maConfigItem.ReadBool( "ViewPDFAfterExport", false );
- mbExportBookmarks = maConfigItem.ReadBool( "ExportBookmarks", sal_True );
+ mbExportBookmarks = maConfigItem.ReadBool( "ExportBookmarks", true );
if ( mbIsPresentation )
- mbExportHiddenSlides = maConfigItem.ReadBool( "ExportHiddenSlides", sal_False );
+ mbExportHiddenSlides = maConfigItem.ReadBool( "ExportHiddenSlides", false );
mnOpenBookmarkLevels = maConfigItem.ReadInt32( "OpenBookmarkLevels", -1 );
- mbUseTransitionEffects = maConfigItem.ReadBool( "UseTransitionEffects", sal_True );
- mbIsSkipEmptyPages = maConfigItem.ReadBool( "IsSkipEmptyPages", sal_False );
- mbAddStream = maConfigItem.ReadBool( "IsAddStream", sal_False );
+ mbUseTransitionEffects = maConfigItem.ReadBool( "UseTransitionEffects", true );
+ mbIsSkipEmptyPages = maConfigItem.ReadBool( "IsSkipEmptyPages", false );
+ mbAddStream = maConfigItem.ReadBool( "IsAddStream", false );
mnFormsType = maConfigItem.ReadInt32( "FormsType", 0 );
- mbExportFormFields = maConfigItem.ReadBool( "ExportFormFields", sal_True );
+ mbExportFormFields = maConfigItem.ReadBool( "ExportFormFields", true );
if ( ( mnFormsType < 0 ) || ( mnFormsType > 3 ) )
mnFormsType = 0;
- mbAllowDuplicateFieldNames = maConfigItem.ReadBool( "AllowDuplicateFieldNames", sal_False );
+ mbAllowDuplicateFieldNames = maConfigItem.ReadBool( "AllowDuplicateFieldNames", false );
//prepare values for the Viewer tab page
- mbHideViewerToolbar = maConfigItem.ReadBool( "HideViewerToolbar", sal_False );
- mbHideViewerMenubar = maConfigItem.ReadBool( "HideViewerMenubar", sal_False );
- mbHideViewerWindowControls = maConfigItem.ReadBool( "HideViewerWindowControls", sal_False );
- mbResizeWinToInit = maConfigItem.ReadBool( "ResizeWindowToInitialPage", sal_False );
- mbCenterWindow = maConfigItem.ReadBool( "CenterWindow", sal_False );
- mbOpenInFullScreenMode = maConfigItem.ReadBool( "OpenInFullScreenMode", sal_False );
- mbDisplayPDFDocumentTitle = maConfigItem.ReadBool( "DisplayPDFDocumentTitle", sal_True );
+ mbHideViewerToolbar = maConfigItem.ReadBool( "HideViewerToolbar", false );
+ mbHideViewerMenubar = maConfigItem.ReadBool( "HideViewerMenubar", false );
+ mbHideViewerWindowControls = maConfigItem.ReadBool( "HideViewerWindowControls", false );
+ mbResizeWinToInit = maConfigItem.ReadBool( "ResizeWindowToInitialPage", false );
+ mbCenterWindow = maConfigItem.ReadBool( "CenterWindow", false );
+ mbOpenInFullScreenMode = maConfigItem.ReadBool( "OpenInFullScreenMode", false );
+ mbDisplayPDFDocumentTitle = maConfigItem.ReadBool( "DisplayPDFDocumentTitle", true );
mnInitialView = maConfigItem.ReadInt32( "InitialView", 0 );
mnMagnification = maConfigItem.ReadInt32( "Magnification", 0 );
mnZoom = maConfigItem.ReadInt32( "Zoom", 100 );
mnPageLayout = maConfigItem.ReadInt32( "PageLayout", 0 );
- mbFirstPageLeft = maConfigItem.ReadBool( "FirstPageOnLeft", sal_False );
+ mbFirstPageLeft = maConfigItem.ReadBool( "FirstPageOnLeft", false );
mnInitialPage = maConfigItem.ReadInt32( "InitialPage", 1 );
if( mnInitialPage < 1 )
mnInitialPage = 1;
@@ -232,19 +232,19 @@ ImpPDFTabDialog::ImpPDFTabDialog(Window* pParent, Sequence< PropertyValue >& rFi
//prepare values for the security tab page
mnPrint = maConfigItem.ReadInt32( "Printing", 2 );
mnChangesAllowed = maConfigItem.ReadInt32( "Changes", 4 );
- mbCanCopyOrExtract = maConfigItem.ReadBool( "EnableCopyingOfContent", sal_True );
- mbCanExtractForAccessibility = maConfigItem.ReadBool( "EnableTextAccessForAccessibilityTools", sal_True );
+ mbCanCopyOrExtract = maConfigItem.ReadBool( "EnableCopyingOfContent", true );
+ mbCanExtractForAccessibility = maConfigItem.ReadBool( "EnableTextAccessForAccessibilityTools", true );
//prepare values for relative links
- mbExportRelativeFsysLinks = maConfigItem.ReadBool( "ExportLinksRelativeFsys", sal_False );
+ mbExportRelativeFsysLinks = maConfigItem.ReadBool( "ExportLinksRelativeFsys", false );
mnViewPDFMode = maConfigItem.ReadInt32( "PDFViewSelection", 0 );
- mbConvertOOoTargets = maConfigItem.ReadBool( "ConvertOOoTargetToPDFTarget", sal_False );
- mbExportBmkToPDFDestination = maConfigItem.ReadBool( "ExportBookmarksToPDFDestination", sal_False );
+ mbConvertOOoTargets = maConfigItem.ReadBool( "ConvertOOoTargetToPDFTarget", false );
+ mbExportBmkToPDFDestination = maConfigItem.ReadBool( "ExportBookmarksToPDFDestination", false );
//prepare values for digital signatures
- mbSignPDF = maConfigItem.ReadBool( "SignPDF", sal_False );
+ mbSignPDF = maConfigItem.ReadBool( "SignPDF", false );
//queue the tab pages for later creation (created when first shown)
mnSigningPageId = AddTabPage("digitalsignatures", ImpPDFTabSigningPage::Create, 0);
@@ -598,7 +598,7 @@ void ImpPDFTabGeneralPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent
switch( paParent->mnPDFTypeSelection )
{
default:
- case 0: mpCbPDFA1b->Check( sal_False ); // PDF 1.4
+ case 0: mpCbPDFA1b->Check( false ); // PDF 1.4
break;
case 1: mpCbPDFA1b->Check(); // PDF/A-1a
break;
@@ -1056,12 +1056,12 @@ void ImpPDFTabViewerPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent
m_pCbTransitionEffects->Enable( mbIsPresentation );
if( paParent->mnOpenBookmarkLevels < 0 )
{
- m_pRbAllBookmarkLevels->Check( sal_True );
+ m_pRbAllBookmarkLevels->Check( true );
m_pNumBookmarkLevels->Enable( false );
}
else
{
- m_pRbVisibleBookmarkLevels->Check( sal_True );
+ m_pRbVisibleBookmarkLevels->Check( true );
m_pNumBookmarkLevels->Enable( true );
m_pNumBookmarkLevels->SetValue( paParent->mnOpenBookmarkLevels );
}
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index 13f4f4f32724..1105b17b9dd5 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -211,7 +211,7 @@ sal_Bool PDFExport::ExportSelection( vcl::PDFWriter& rPDFWriter,
const Size aMtfSize( aPageSize.Width, aPageSize.Height );
pOut->Push();
- pOut->EnableOutput( sal_False );
+ pOut->EnableOutput( false );
pOut->SetMapMode( aMapMode );
aMtf.SetPrefSize( aMtfSize );
diff --git a/filter/source/pdf/pdffilter.cxx b/filter/source/pdf/pdffilter.cxx
index 77bd2a47e57e..b8406900d242 100644
--- a/filter/source/pdf/pdffilter.cxx
+++ b/filter/source/pdf/pdffilter.cxx
@@ -62,43 +62,43 @@ sal_Bool PDFFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
if ( !aFilterData.getLength() )
{
FilterConfigItem aCfgItem( "Office.Common/Filter/PDF/Export/" );
- aCfgItem.ReadBool( "UseLosslessCompression", sal_False );
+ aCfgItem.ReadBool( "UseLosslessCompression", false );
aCfgItem.ReadInt32( "Quality", 90 );
- aCfgItem.ReadBool( "ReduceImageResolution", sal_False );
+ aCfgItem.ReadBool( "ReduceImageResolution", false );
aCfgItem.ReadInt32( "MaxImageResolution", 300 );
- aCfgItem.ReadBool( "UseTaggedPDF", sal_False );
+ aCfgItem.ReadBool( "UseTaggedPDF", false );
aCfgItem.ReadInt32( "SelectPdfVersion", 0 );
- aCfgItem.ReadBool( "ExportNotes", sal_False );
- aCfgItem.ReadBool( "ExportNotesPages", sal_False );
- aCfgItem.ReadBool( "UseTransitionEffects", sal_True );
- aCfgItem.ReadBool( "IsSkipEmptyPages", sal_False );
- aCfgItem.ReadBool( "ExportFormFields", sal_True );
+ aCfgItem.ReadBool( "ExportNotes", false );
+ aCfgItem.ReadBool( "ExportNotesPages", false );
+ aCfgItem.ReadBool( "UseTransitionEffects", true );
+ aCfgItem.ReadBool( "IsSkipEmptyPages", false );
+ aCfgItem.ReadBool( "ExportFormFields", true );
aCfgItem.ReadInt32( "FormsType", 0 );
- aCfgItem.ReadBool( "HideViewerToolbar", sal_False );
- aCfgItem.ReadBool( "HideViewerMenubar", sal_False );
- aCfgItem.ReadBool( "HideViewerWindowControls", sal_False );
- aCfgItem.ReadBool( "ResizeWindowToInitialPage", sal_False );
- aCfgItem.ReadBool( "CenterWindow", sal_False );
- aCfgItem.ReadBool( "OpenInFullScreenMode", sal_False );
- aCfgItem.ReadBool( "DisplayPDFDocumentTitle", sal_True );
+ aCfgItem.ReadBool( "HideViewerToolbar", false );
+ aCfgItem.ReadBool( "HideViewerMenubar", false );
+ aCfgItem.ReadBool( "HideViewerWindowControls", false );
+ aCfgItem.ReadBool( "ResizeWindowToInitialPage", false );
+ aCfgItem.ReadBool( "CenterWindow", false );
+ aCfgItem.ReadBool( "OpenInFullScreenMode", false );
+ aCfgItem.ReadBool( "DisplayPDFDocumentTitle", true );
aCfgItem.ReadInt32( "InitialView", 0 );
aCfgItem.ReadInt32( "Magnification", 0 );
aCfgItem.ReadInt32( "PageLayout", 0 );
- aCfgItem.ReadBool( "FirstPageOnLeft", sal_False );
- aCfgItem.ReadBool( "IsAddStream", sal_False );
+ aCfgItem.ReadBool( "FirstPageOnLeft", false );
+ aCfgItem.ReadBool( "IsAddStream", false );
//
// the encryption is not available when exporting directly, since the encryption is off by default and the selection
// (encrypt or not) is not persistent; it's available through macro though,
// provided the correct property values are set, see help
//
// now, the relative link stuff
- aCfgItem.ReadBool( "ExportLinksRelativeFsys", sal_False );
+ aCfgItem.ReadBool( "ExportLinksRelativeFsys", false );
aCfgItem.ReadInt32("PDFViewSelection", 0 );
- aCfgItem.ReadBool( "ConvertOOoTargetToPDFTarget", sal_False );
- aCfgItem.ReadBool( "ExportBookmarksToPDFDestination", sal_False );
+ aCfgItem.ReadBool( "ConvertOOoTargetToPDFTarget", false );
+ aCfgItem.ReadBool( "ExportBookmarksToPDFDestination", false );
- aCfgItem.ReadBool( "ExportBookmarks", sal_True );
- aCfgItem.ReadBool( "ExportHiddenSlides", sal_False );
+ aCfgItem.ReadBool( "ExportBookmarks", true );
+ aCfgItem.ReadBool( "ExportHiddenSlides", false );
aCfgItem.ReadInt32( "OpenBookmarkLevels", -1 );
aFilterData = aCfgItem.GetFilterData();
}
diff --git a/filter/source/svg/impsvgdialog.cxx b/filter/source/svg/impsvgdialog.cxx
index efcb7635302e..c438cf5d6f00 100644
--- a/filter/source/svg/impsvgdialog.cxx
+++ b/filter/source/svg/impsvgdialog.cxx
@@ -66,9 +66,9 @@ ImpSVGDialog::ImpSVGDialog( Window* pParent, Sequence< PropertyValue >& rFilterD
maCBUseNativeDecoration.SetPosSizePixel( Point( implMap( *this, 12 ), implMap( *this, 41 ) ),
Size( implMap( *this, 142 ), implMap( *this, 10 ) ) );
- maCBTinyProfile.Check( maConfigItem.ReadBool( OUString( SVG_PROP_TINYPROFILE ), sal_False ) );
- maCBEmbedFonts.Check( maConfigItem.ReadBool( OUString( SVG_PROP_EMBEDFONTS ), sal_True ) );
- maCBUseNativeDecoration.Check( maConfigItem.ReadBool( OUString( SVG_PROP_NATIVEDECORATION ), sal_True ) );
+ maCBTinyProfile.Check( maConfigItem.ReadBool( OUString( SVG_PROP_TINYPROFILE ), false ) );
+ maCBEmbedFonts.Check( maConfigItem.ReadBool( OUString( SVG_PROP_EMBEDFONTS ), true ) );
+ maCBUseNativeDecoration.Check( maConfigItem.ReadBool( OUString( SVG_PROP_NATIVEDECORATION ), true ) );
maBTOK.SetPosSizePixel( Point( implMap( *this, 12 ), implMap( *this, 57 ) ),
Size( implMap( *this, 50 ), implMap( *this, 14 ) ) );
@@ -118,7 +118,7 @@ IMPL_LINK( ImpSVGDialog, OnToggleCheckbox, CheckBox*, pBox )
{
mbOldNativeDecoration = maCBUseNativeDecoration.IsChecked();
- maCBUseNativeDecoration.Check( sal_False );
+ maCBUseNativeDecoration.Check( false );
maCBUseNativeDecoration.Disable();
}
else
diff --git a/filter/source/svg/svgfontexport.cxx b/filter/source/svg/svgfontexport.cxx
index 39835a6f5d58..6dd28be6fcca 100644
--- a/filter/source/svg/svgfontexport.cxx
+++ b/filter/source/svg/svgfontexport.cxx
@@ -81,7 +81,7 @@ void SVGFontExport::implCollectGlyphs()
VirtualDevice aVDev;
ObjectVector::const_iterator aIter( maObjects.begin() );
- aVDev.EnableOutput( sal_False );
+ aVDev.EnableOutput( false );
while( aIter != maObjects.end() )
{
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index ffdfe689f27b..a252d1267caa 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -1644,7 +1644,7 @@ SVGActionWriter::SVGActionWriter( SVGExport& rExport, SVGFontExport& rFontExport
mbClipAttrChanged( sal_False )
{
mpVDev = new VirtualDevice;
- mpVDev->EnableOutput( sal_False );
+ mpVDev->EnableOutput( false );
maTargetMapMode = MAP_100TH_MM;
maTextWriter.setVirtualDevice( mpVDev, maTargetMapMode );
}