diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-05 07:00:32 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-07 03:26:31 +0100 |
commit | 128947050b4506bf1fd57d93fe249c476a184f61 (patch) | |
tree | 01a99cb5a13e7361212afc10d6f5bdacefae765a /sc/source/ui | |
parent | b23b004b18b52a20454b235533b24fe7baf63518 (diff) |
sal_Bool->bool in ScDocument
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/docshell/impex.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/undodat.hxx | 14 | ||||
-rw-r--r-- | sc/source/ui/undo/undodat.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/view/dbfunc4.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 2 |
5 files changed, 16 insertions, 16 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index 830d832399c0..f8b0a9cf51b7 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -1630,7 +1630,7 @@ sal_Bool ScImportExport::Sylk2Doc( SvStream& rStrm ) { pDoc->PutCell( nCol, nRow, aRange.aStart.Tab(), ScBaseCell::CreateTextCell( aText, pDoc), - (sal_Bool) sal_True); + true); } else { diff --git a/sc/source/ui/inc/undodat.hxx b/sc/source/ui/inc/undodat.hxx index 64410c340a2c..3dee48fd6e38 100644 --- a/sc/source/ui/inc/undodat.hxx +++ b/sc/source/ui/inc/undodat.hxx @@ -470,10 +470,10 @@ public: TYPEINFO(); ScUndoChartData( ScDocShell* pNewDocShell, const String& rName, const ScRange& rNew, - sal_Bool bColHdr, sal_Bool bRowHdr, sal_Bool bAdd ); + bool bColHdr, bool bRowHdr, bool bAdd ); ScUndoChartData( ScDocShell* pNewDocShell, const String& rName, const ScRangeListRef& rNew, - sal_Bool bColHdr, sal_Bool bRowHdr, sal_Bool bAdd ); + bool bColHdr, bool bRowHdr, bool bAdd ); virtual ~ScUndoChartData(); virtual void Undo(); @@ -486,13 +486,13 @@ public: private: String aChartName; ScRangeListRef aOldRangeListRef; - sal_Bool bOldColHeaders; - sal_Bool bOldRowHeaders; + bool bOldColHeaders; + bool bOldRowHeaders; // ScRange aNewRange; ScRangeListRef aNewRangeListRef; - sal_Bool bNewColHeaders; - sal_Bool bNewRowHeaders; - sal_Bool bAddRange; + bool bNewColHeaders; + bool bNewRowHeaders; + bool bAddRange; void Init(); }; diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx index 9295418a2f38..2f3edf7e927c 100644 --- a/sc/source/ui/undo/undodat.cxx +++ b/sc/source/ui/undo/undodat.cxx @@ -1954,8 +1954,8 @@ void ScUndoChartData::Init() } ScUndoChartData::ScUndoChartData( ScDocShell* pNewDocShell, const String& rName, - const ScRange& rNew, sal_Bool bColHdr, sal_Bool bRowHdr, - sal_Bool bAdd ) : + const ScRange& rNew, bool bColHdr, bool bRowHdr, + bool bAdd ) : ScSimpleUndo( pNewDocShell ), aChartName( rName ), bNewColHeaders( bColHdr ), @@ -1969,8 +1969,8 @@ ScUndoChartData::ScUndoChartData( ScDocShell* pNewDocShell, const String& rName, } ScUndoChartData::ScUndoChartData( ScDocShell* pNewDocShell, const String& rName, - const ScRangeListRef& rNew, sal_Bool bColHdr, sal_Bool bRowHdr, - sal_Bool bAdd ) : + const ScRangeListRef& rNew, bool bColHdr, bool bRowHdr, + bool bAdd ) : ScSimpleUndo( pNewDocShell ), aChartName( rName ), aNewRangeListRef( rNew ), diff --git a/sc/source/ui/view/dbfunc4.cxx b/sc/source/ui/view/dbfunc4.cxx index dd4ff54344d8..e57a372a543a 100644 --- a/sc/source/ui/view/dbfunc4.cxx +++ b/sc/source/ui/view/dbfunc4.cxx @@ -74,12 +74,12 @@ sal_uInt16 ScDBFunc::DoUpdateCharts( const ScAddress& rPos, ScDocument* pDoc, sa if ( pObject->GetObjIdentifier() == OBJ_OLE2 && pDoc->IsChart( pObject ) ) { String aName = ((SdrOle2Obj*)pObject)->GetPersistName(); - sal_Bool bHit = sal_True; + bool bHit = true; if ( !bAllCharts ) { ScRangeList aRanges; - sal_Bool bColHeaders = false; - sal_Bool bRowHeaders = false; + bool bColHeaders = false; + bool bRowHeaders = false; pDoc->GetOldChartParameters( aName, aRanges, bColHeaders, bRowHeaders ); bHit = aRanges.In( rPos ); } diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index d4cc64f7af9a..a4193f9d1b25 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -808,7 +808,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq ) if ( SFX_STYLE_FAMILY_PARA == eFam ) { SfxItemSet& rNewSet = pStyleSheet->GetItemSet(); - sal_Bool bNumFormatChanged; + bool bNumFormatChanged; if ( ScGlobal::CheckWidthInvalidate( bNumFormatChanged, aOldSet, rNewSet ) ) pDoc->InvalidateTextWidth( NULL, NULL, bNumFormatChanged ); |