summaryrefslogtreecommitdiff
path: root/include/formula/token.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/formula/token.hxx')
-rw-r--r--include/formula/token.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/formula/token.hxx b/include/formula/token.hxx
index 002cefbb8a21..b72897d8ad31 100644
--- a/include/formula/token.hxx
+++ b/include/formula/token.hxx
@@ -178,9 +178,9 @@ public:
struct PrivateAccess { friend class FormulaCompiler; private: PrivateAccess() { } };
inline void NewOpCode( OpCode e, const PrivateAccess& ) { eOp = e; }
- static size_t GetStrLenBytes( xub_StrLen nLen )
+ static sal_Int32 GetStrLenBytes( sal_Int32 nLen )
{ return nLen * sizeof(sal_Unicode); }
- static size_t GetStrLenBytes( const OUString& rStr )
+ static sal_Int32 GetStrLenBytes( const OUString& rStr )
{ return GetStrLenBytes( rStr.getLength() ); }
};