summaryrefslogtreecommitdiff
path: root/io/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-03 08:48:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-03 08:48:10 +0100
commit84eeebd75010a6263fc6aba0ebc16014013a3410 (patch)
treef4077efa182a7423662d7d6b153780a37cb76395 /io/source
parentf72ddbb44280cf93ac348f39a75bdb29587180de (diff)
Fix create/destroy mismatch
Change-Id: Ibff6caedae0c5ed84cf4864c7a52af56a7cea527
Diffstat (limited to 'io/source')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index 6a4d97ba1a53..98db657aa55f 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;