[Libreoffice-commits] core.git: io/source

Stephan Bergmann sbergman at redhat.com
Mon Nov 2 23:48:35 PST 2015


 io/source/TextInputStream/TextInputStream.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 84eeebd75010a6263fc6aba0ebc16014013a3410
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 3 08:48:10 2015 +0100

    Fix create/destroy mismatch
    
    Change-Id: Ibff6caedae0c5ed84cf4864c7a52af56a7cea527

diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index 6a4d97b..98db657 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -129,8 +129,8 @@ OTextInputStream::~OTextInputStream()
 {
     if( mbEncodingInitialized )
     {
-        rtl_destroyUnicodeToTextContext( mConvText2Unicode, mContextText2Unicode );
-        rtl_destroyUnicodeToTextConverter( mConvText2Unicode );
+        rtl_destroyTextToUnicodeContext( mConvText2Unicode, mContextText2Unicode );
+        rtl_destroyTextToUnicodeConverter( mConvText2Unicode );
     }
 
     delete[] mpBuffer;


More information about the Libreoffice-commits mailing list