summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-25 11:33:20 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-25 12:29:28 +0200
commit7dbc196e1de895959fe3a2b9c4cdc89069f263e9 (patch)
treed6f42f43149505528a98ee820968d6eaec4f81e4 /sc/source/ui/docshell
parentbb00e570440b4f80013074a5f71f5caaf2b44000 (diff)
sal_Bool -> bool in ScTable
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/docfunc.cxx10
-rw-r--r--sc/source/ui/docshell/editable.cxx6
-rw-r--r--sc/source/ui/docshell/olinefun.cxx4
3 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 7fd656b41bc6..64c6cfcc5828 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -1228,10 +1228,10 @@ sal_Bool ScDocFunc::ApplyAttributes( const ScMarkData& rMark, const ScPatternAtt
if ( bRecord && !pDoc->IsUndoEnabled() )
bRecord = false;
- sal_Bool bImportingXML = pDoc->IsImportingXML();
+ bool bImportingXML = pDoc->IsImportingXML();
// Cell formats can still be set if the range isn't editable only because of matrix formulas.
// #i62483# When loading XML, the check can be skipped altogether.
- sal_Bool bOnlyNotBecauseOfMatrix;
+ bool bOnlyNotBecauseOfMatrix;
if ( !bImportingXML && !pDoc->IsSelectionEditable( rMark, &bOnlyNotBecauseOfMatrix )
&& !bOnlyNotBecauseOfMatrix )
{
@@ -1291,10 +1291,10 @@ sal_Bool ScDocFunc::ApplyStyle( const ScMarkData& rMark, const String& rStyleNam
if ( bRecord && !pDoc->IsUndoEnabled() )
bRecord = false;
- sal_Bool bImportingXML = pDoc->IsImportingXML();
+ bool bImportingXML = pDoc->IsImportingXML();
// Cell formats can still be set if the range isn't editable only because of matrix formulas.
// #i62483# When loading XML, the check can be skipped altogether.
- sal_Bool bOnlyNotBecauseOfMatrix;
+ bool bOnlyNotBecauseOfMatrix;
if ( !bImportingXML && !pDoc->IsSelectionEditable( rMark, &bOnlyNotBecauseOfMatrix )
&& !bOnlyNotBecauseOfMatrix )
{
@@ -2070,7 +2070,7 @@ sal_Bool ScDocFunc::DeleteCells( const ScRange& rRange, const ScMarkData* pTabMa
rDocShell.UpdatePaintExt( nExtFlags, nStartCol, nStartRow, *itr, nEndCol, nEndRow, *itr );
}
- sal_Bool bUndoOutline = false;
+ bool bUndoOutline = false;
switch (eCmd)
{
case DEL_CELLSUP:
diff --git a/sc/source/ui/docshell/editable.cxx b/sc/source/ui/docshell/editable.cxx
index ca4492b2ce15..b34cdab1d2b1 100644
--- a/sc/source/ui/docshell/editable.cxx
+++ b/sc/source/ui/docshell/editable.cxx
@@ -89,7 +89,7 @@ void ScEditableTester::TestBlock( ScDocument* pDoc, SCTAB nTab,
{
if ( bIsEditable || bOnlyMatrix )
{
- sal_Bool bThisMatrix;
+ bool bThisMatrix;
if ( !pDoc->IsBlockEditable( nTab, nStartCol, nStartRow, nEndCol, nEndRow, &bThisMatrix ) )
{
bIsEditable = false;
@@ -125,7 +125,7 @@ void ScEditableTester::TestSelection( ScDocument* pDoc, const ScMarkData& rMark
{
if ( bIsEditable || bOnlyMatrix )
{
- sal_Bool bThisMatrix;
+ bool bThisMatrix;
if ( !pDoc->IsSelectionEditable( rMark, &bThisMatrix ) )
{
bIsEditable = false;
@@ -139,7 +139,7 @@ void ScEditableTester::TestView( ScViewFunc* pView )
{
if ( bIsEditable || bOnlyMatrix )
{
- sal_Bool bThisMatrix;
+ bool bThisMatrix;
if ( !pView->SelectionEditable( &bThisMatrix ) )
{
bIsEditable = false;
diff --git a/sc/source/ui/docshell/olinefun.cxx b/sc/source/ui/docshell/olinefun.cxx
index 6d35207b78ce..b95c3dfb1543 100644
--- a/sc/source/ui/docshell/olinefun.cxx
+++ b/sc/source/ui/docshell/olinefun.cxx
@@ -118,8 +118,8 @@ sal_Bool ScOutlineDocFunc::MakeOutline( const ScRange& rRange, sal_Bool bColumns
ScOutlineArray* pArray = bColumns ? pTable->GetColArray() : pTable->GetRowArray();
- sal_Bool bRes;
- sal_Bool bSize = false;
+ bool bRes;
+ bool bSize = false;
if ( bColumns )
bRes = pArray->Insert( nStartCol, nEndCol, bSize );
else