summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/cellform.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/cellform.cxx')
-rw-r--r--sc/source/core/tool/cellform.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/tool/cellform.cxx b/sc/source/core/tool/cellform.cxx
index 45d2c4a890bb..e7108d43824f 100644
--- a/sc/source/core/tool/cellform.cxx
+++ b/sc/source/core/tool/cellform.cxx
@@ -46,10 +46,10 @@ const ScFormulaCell* pLastFormulaTreeTop = 0;
// -----------------------------------------------------------------------
-void ScCellFormat::GetString( ScBaseCell* pCell, ULONG nFormat, String& rString,
+void ScCellFormat::GetString( ScBaseCell* pCell, sal_uLong nFormat, String& rString,
Color** ppColor, SvNumberFormatter& rFormatter,
- BOOL bNullVals,
- BOOL bFormula,
+ sal_Bool bNullVals,
+ sal_Bool bFormula,
ScForceTextFmt eForceTextFmt )
{
*ppColor = NULL;
@@ -120,7 +120,7 @@ void ScCellFormat::GetString( ScBaseCell* pCell, ULONG nFormat, String& rString,
}
else
{
- USHORT nErrCode = pFCell->GetErrCode();
+ sal_uInt16 nErrCode = pFCell->GetErrCode();
// erst nach dem Interpretieren (GetErrCode) das Zahlformat holen:
if ( (nFormat % SV_COUNTRY_LANGUAGE_OFFSET) == 0 )
@@ -155,7 +155,7 @@ void ScCellFormat::GetString( ScBaseCell* pCell, ULONG nFormat, String& rString,
}
}
-void ScCellFormat::GetInputString( ScBaseCell* pCell, ULONG nFormat, String& rString,
+void ScCellFormat::GetInputString( ScBaseCell* pCell, sal_uLong nFormat, String& rString,
SvNumberFormatter& rFormatter )
{
if (&rFormatter==NULL)
@@ -199,7 +199,7 @@ void ScCellFormat::GetInputString( ScBaseCell* pCell, ULONG nFormat, String& rSt
((ScFormulaCell*)pCell)->GetString( rString );
}
- USHORT nErrCode = ((ScFormulaCell*)pCell)->GetErrCode();
+ sal_uInt16 nErrCode = ((ScFormulaCell*)pCell)->GetErrCode();
if (nErrCode != 0)
{
rString.Erase();