summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen6.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/documen6.cxx')
-rw-r--r--sc/source/core/data/documen6.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sc/source/core/data/documen6.cxx b/sc/source/core/data/documen6.cxx
index de0105cb63af..3cfc6a27e03c 100644
--- a/sc/source/core/data/documen6.cxx
+++ b/sc/source/core/data/documen6.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,11 +47,11 @@
using namespace com::sun::star;
-#define SC_BREAKITER_SERVICE "com.sun.star.i18n.BreakIterator"
+#define SC_BREAKITER_SERVICE "com.sun.star.i18n.BreakIterator"
//
-// this file is compiled with exceptions enabled
-// put functions here that need exceptions!
+// this file is compiled with exceptions enabled
+// put functions here that need exceptions!
//
// -----------------------------------------------------------------------
@@ -85,7 +85,7 @@ BOOL ScDocument::HasStringWeakCharacters( const String& rString )
{
sal_Int16 nType = xBreakIter->getScriptType( aText, nPos );
if ( nType == i18n::ScriptType::WEAK )
- return TRUE; // found
+ return TRUE; // found
nPos = xBreakIter->endOfScript( aText, nPos, nType );
}
@@ -93,7 +93,7 @@ BOOL ScDocument::HasStringWeakCharacters( const String& rString )
}
}
- return FALSE; // none found
+ return FALSE; // none found
}
BYTE ScDocument::GetStringScriptType( const String& rString )
@@ -136,11 +136,11 @@ BYTE ScDocument::GetStringScriptType( const String& rString )
BYTE ScDocument::GetCellScriptType( ScBaseCell* pCell, ULONG nNumberFormat )
{
if ( !pCell )
- return 0; // empty
+ return 0; // empty
BYTE nStored = pCell->GetScriptType();
- if ( nStored != SC_SCRIPTTYPE_UNKNOWN ) // stored value valid?
- return nStored; // use stored value
+ if ( nStored != SC_SCRIPTTYPE_UNKNOWN ) // stored value valid?
+ return nStored; // use stored value
String aStr;
Color* pColor;
@@ -148,7 +148,7 @@ BYTE ScDocument::GetCellScriptType( ScBaseCell* pCell, ULONG nNumberFormat )
BYTE nRet = GetStringScriptType( aStr );
- pCell->SetScriptType( nRet ); // store for later calls
+ pCell->SetScriptType( nRet ); // store for later calls
return nRet;
}
@@ -161,14 +161,14 @@ BYTE ScDocument::GetScriptType( SCCOL nCol, SCROW nRow, SCTAB nTab, ScBaseCell*
{
pCell = GetCell( ScAddress( nCol, nRow, nTab ) );
if ( !pCell )
- return 0; // empty
+ return 0; // empty
}
// if script type is set, don't have to get number formats
BYTE nStored = pCell->GetScriptType();
- if ( nStored != SC_SCRIPTTYPE_UNKNOWN ) // stored value valid?
- return nStored; // use stored value
+ if ( nStored != SC_SCRIPTTYPE_UNKNOWN ) // stored value valid?
+ return nStored; // use stored value
// include number formats from conditional formatting