You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2022/10/22 11:32:06 UTC
[openoffice] branch AOO42X updated: Free the rtl_UnicodeToTextContext with rtl_destroyTextToUnicodeContext() instead of rtl_destroyTextToUnicodeConverter().
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new 80d1657bcd Free the rtl_UnicodeToTextContext with rtl_destroyTextToUnicodeContext() instead of rtl_destroyTextToUnicodeConverter().
80d1657bcd is described below
commit 80d1657bcd1fa694bb38adc62ae72a65f1df0500
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Fri Oct 21 03:23:20 2022 +0200
Free the rtl_UnicodeToTextContext with rtl_destroyTextToUnicodeContext() instead of rtl_destroyTextToUnicodeConverter().
This fixes
https://bz.apache.org/ooo/show_bug.cgi?id=128539
Patch by: me
(cherry picked from commit fb3d7646562a8e2f3f690b2fdbc7faaa1b30aa42)
---
main/vcl/source/gdi/impfont.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main/vcl/source/gdi/impfont.cxx b/main/vcl/source/gdi/impfont.cxx
index a1ae47ebac..af32eef36a 100644
--- a/main/vcl/source/gdi/impfont.cxx
+++ b/main/vcl/source/gdi/impfont.cxx
@@ -550,7 +550,7 @@ bool ParseCMAP( const unsigned char* pCmap, int nLength, CmapResult& rResult )
}
}
- rtl_destroyTextToUnicodeConverter( aCvtContext );
+ rtl_destroyTextToUnicodeContext( aConverter, aCvtContext );
rtl_destroyTextToUnicodeConverter( aConverter );
// convert the set of supported unicodes to ranges