You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2022/10/21 01:38:26 UTC
[openoffice] branch trunk updated: Free the rtl_UnicodeToTextContext with rtl_destroyTextToUnicodeContext() instead of rtl_destroyTextToUnicodeConverter().
This is an automated email from the ASF dual-hosted git repository.
damjan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new fb3d764656 Free the rtl_UnicodeToTextContext with rtl_destroyTextToUnicodeContext() instead of rtl_destroyTextToUnicodeConverter().
fb3d764656 is described below
commit fb3d7646562a8e2f3f690b2fdbc7faaa1b30aa42
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
---
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