summaryrefslogtreecommitdiff
path: root/sc/source/filter/html
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-12 15:14:27 +0200
committerNoel Grandin <noel@peralex.com>2014-02-14 14:15:09 +0200
commitcd96c954bf766eec6524109a0f0fecde8918d778 (patch)
treefa483d9f33b69cc09608103693fe28acc6611ad6 /sc/source/filter/html
parent536033fa025ec843960d62c597f751086b7fd35c (diff)
sal_Bool->bool
Change-Id: I7009519bdf68459f53423720d411c3e6d0ac3d73
Diffstat (limited to 'sc/source/filter/html')
-rw-r--r--sc/source/filter/html/htmlexp.cxx20
-rw-r--r--sc/source/filter/html/htmlexp2.cxx8
2 files changed, 14 insertions, 14 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index fe372e480921..8d242755f9ed 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -210,7 +210,7 @@ static OString lcl_makeHTMLColorTriplet(const Color& rColor)
ScHTMLExport::ScHTMLExport( SvStream& rStrmP, const OUString& rBaseURL, ScDocument* pDocP,
const ScRange& rRangeP,
- sal_Bool bAllP, const OUString& rStreamPathP ) :
+ bool bAllP, const OUString& rStreamPathP ) :
ScExportBase( rStrmP, pDocP, rRangeP ),
aBaseURL( rBaseURL ),
aStreamPath( rStreamPathP ),
@@ -221,8 +221,8 @@ ScHTMLExport::ScHTMLExport( SvStream& rStrmP, const OUString& rBaseURL, ScDocume
bTabHasGraphics( false ),
bTabAlignedLeft( false ),
bCalcAsShown( pDocP->GetDocOptions().IsCalcAsShown() ),
- bTableDataWidth( sal_True ),
- bTableDataHeight( sal_True )
+ bTableDataWidth( true ),
+ bTableDataHeight( true )
{
strcpy( sIndent, sIndentSource );
sIndent[0] = 0;
@@ -478,7 +478,7 @@ const SfxItemSet& ScHTMLExport::PageDefaults( SCTAB nTab )
{
const SvxBrushItem* pBrushItem = (const SvxBrushItem*)&rSet.Get( ATTR_BACKGROUND );
aHTMLStyle.aBackgroundColor = pBrushItem->GetColor();
- aHTMLStyle.bInitialized = sal_True;
+ aHTMLStyle.bInitialized = true;
}
return rSet;
}
@@ -770,7 +770,7 @@ void ScHTMLExport::WriteTables()
// IncIndent(1); TAG_ON_LF( OOO_STRING_SVTOOLS_HTML_tbody );
// At least old (3.x, 4.x?) Netscape doesn't follow <TABLE COLS=n> and
// <COL WIDTH=x> specified, but needs a width at every column.
- bTableDataWidth = sal_True; // widths in first row
+ bTableDataWidth = true; // widths in first row
bool bHasHiddenRows = pDoc->HasHiddenRows(nStartRow, nEndRow, nTab);
for ( SCROW nRow=nStartRow; nRow<=nEndRow; nRow++ )
{
@@ -782,7 +782,7 @@ void ScHTMLExport::WriteTables()
}
IncIndent(1); TAG_ON_LF( OOO_STRING_SVTOOLS_HTML_tablerow );
- bTableDataHeight = sal_True; // height at every first cell of each row
+ bTableDataHeight = true; // height at every first cell of each row
for ( SCCOL nCol2=nStartCol; nCol2<=nEndCol; nCol2++ )
{
if ( pDoc->ColHidden(nCol2, nTab) )
@@ -1235,10 +1235,10 @@ bool ScHTMLExport::WriteFieldText( const EditTextObject* pData )
}
-sal_Bool ScHTMLExport::CopyLocalFileToINet( OUString& rFileNm,
- const OUString& rTargetNm, sal_Bool bFileToFile )
+bool ScHTMLExport::CopyLocalFileToINet( OUString& rFileNm,
+ const OUString& rTargetNm, bool bFileToFile )
{
- sal_Bool bRet = false;
+ bool bRet = false;
INetURLObject aFileUrl, aTargetUrl;
aFileUrl.SetSmartURL( rFileNm );
aTargetUrl.SetSmartURL( rTargetNm );
@@ -1255,7 +1255,7 @@ sal_Bool ScHTMLExport::CopyLocalFileToINet( OUString& rFileNm,
if( it != pFileNameMap->end() )
{
rFileNm = it->second;
- return sal_True;
+ return true;
}
}
else
diff --git a/sc/source/filter/html/htmlexp2.cxx b/sc/source/filter/html/htmlexp2.cxx
index 896d417a34d1..93c6e1e43c02 100644
--- a/sc/source/filter/html/htmlexp2.cxx
+++ b/sc/source/filter/html/htmlexp2.cxx
@@ -58,7 +58,7 @@ void ScHTMLExport::PrepareGraphics( ScDrawLayer* pDrawLayer, SCTAB nTab,
ScHTMLGraphEntry* pE = &aGraphList[ i ];
if ( !pE->bInCell )
{ // not all cells: table next to some
- bTabAlignedLeft = sal_True;
+ bTabAlignedLeft = true;
break;
}
}
@@ -155,7 +155,7 @@ void ScHTMLExport::WriteGraphEntry( ScHTMLGraphEntry* pE )
if ( pSGO->IsLinkedGraphic() )
aLinkName = pSGO->GetFileName();
WriteImage( aLinkName, pSGO->GetGraphic(), aOpt, nXOutFlags );
- pE->bWritten = sal_True;
+ pE->bWritten = true;
}
break;
case OBJ_OLE2:
@@ -165,7 +165,7 @@ void ScHTMLExport::WriteGraphEntry( ScHTMLGraphEntry* pE )
{
OUString aLinkName;
WriteImage( aLinkName, *pGraphic, aOpt );
- pE->bWritten = sal_True;
+ pE->bWritten = true;
}
}
break;
@@ -175,7 +175,7 @@ void ScHTMLExport::WriteGraphEntry( ScHTMLGraphEntry* pE )
pDoc->GetDrawLayer(), pObject ) );
OUString aLinkName;
WriteImage( aLinkName, aGraph, aOpt );
- pE->bWritten = sal_True;
+ pE->bWritten = true;
}
}
}