diff options
-rw-r--r-- | sal/textenc/tcvtutf8.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/tcvtutf8.cxx b/sal/textenc/tcvtutf8.cxx index 4943f6987a29..d9c3c134a83a 100644 --- a/sal/textenc/tcvtutf8.cxx +++ b/sal/textenc/tcvtutf8.cxx @@ -68,7 +68,7 @@ sal_Size ImplConvertUtf8ToUnicode( { bool bJavaUtf8 = pData != nullptr; sal_uInt32 nUtf32 = 0; - int nBytes; + int nBytes = int(); int nShift = -1; bool bCheckBom = true; sal_uInt32 nInfo = 0; |