https://issues.apache.org/ooo/show_bug.cgi?id=121139

--- Comment #34 from Ariel Constenla-Haile <[email protected]> ---
(In reply to comment #33)
> @Regina, @Ariel:
> Can you please give it a try by just reverting change of revision 1350317 in
> your environment?

yes, it fixes the crash:

diff --git a/main/i18npool/source/nativenumber/nativenumbersupplier.cxx
b/main/i18npool/source/nativenumber/nativenumbersupplier.cxx
index 8bdc86e..f9bae90 100644
--- a/main/i18npool/source/nativenumber/nativenumbersupplier.cxx
+++ b/main/i18npool/source/nativenumber/nativenumbersupplier.cxx
@@ -93,7 +93,7 @@ OUString SAL_CALL AsciiToNativeChar( const OUString& inStr,
sal_Int32 startPos,
             if (useOffset)
                 offset[i] = startPos + i;
         }
-        return OUString( newStr, SAL_NO_ACQUIRE);
+        return OUString( newStr->buffer, nCount);
 }

 sal_Bool SAL_CALL AsciiToNative_numberMaker(const sal_Unicode *str, sal_Int32
begin, sal_Int32 len,

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to