summaryrefslogtreecommitdiffstats
path: root/sc/inc/formularesult.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/formularesult.hxx')
-rw-r--r--sc/inc/formularesult.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/formularesult.hxx b/sc/inc/formularesult.hxx
index bd99cca8f5d9..b89f3da543ca 100644
--- a/sc/inc/formularesult.hxx
+++ b/sc/inc/formularesult.hxx
@@ -45,7 +45,7 @@ class ScFormulaResult
double mfValue; // double result direct for performance and memory consumption
const formula::FormulaToken* mpToken; // if not, result token obtained from interpreter
};
- USHORT mnError; // error code
+ sal_uInt16 mnError; // error code
bool mbToken :1; // whether content of union is a token
bool mbEmpty :1; // empty cell result
bool mbEmptyDisplayedAsString :1; // only if mbEmpty
@@ -165,10 +165,10 @@ public:
/** Get error code if set or GetCellResultType() is formula::svError or svUnknown,
else 0. */
- inline USHORT GetResultError() const;
+ inline sal_uInt16 GetResultError() const;
/** Set error code, don't touch token or double. */
- inline void SetResultError( USHORT nErr );
+ inline void SetResultError( sal_uInt16 nErr );
/** Set direct double. Shouldn't be used externally except in
ScFormulaCell for rounded CalcAsShown or SetErrCode(). If
@@ -434,7 +434,7 @@ inline bool ScFormulaResult::IsMultiline() const
}
-inline USHORT ScFormulaResult::GetResultError() const
+inline sal_uInt16 ScFormulaResult::GetResultError() const
{
if (mnError)
return mnError;
@@ -452,7 +452,7 @@ inline USHORT ScFormulaResult::GetResultError() const
}
-inline void ScFormulaResult::SetResultError( USHORT nErr )
+inline void ScFormulaResult::SetResultError( sal_uInt16 nErr )
{
mnError = nErr;
}