summaryrefslogtreecommitdiff
path: root/i18npool/source/characterclassification/cclass_unicode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/characterclassification/cclass_unicode.cxx')
-rw-r--r--i18npool/source/characterclassification/cclass_unicode.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/characterclassification/cclass_unicode.cxx b/i18npool/source/characterclassification/cclass_unicode.cxx
index 5b000060c49b..70727dea8cb1 100644
--- a/i18npool/source/characterclassification/cclass_unicode.cxx
+++ b/i18npool/source/characterclassification/cclass_unicode.cxx
@@ -39,7 +39,9 @@ namespace i18npool {
// class cclass_Unicode
// ----------------------------------------------------;
-cclass_Unicode::cclass_Unicode( const uno::Reference < XComponentContext >& rxContext ) : m_xContext( rxContext ),
+cclass_Unicode::cclass_Unicode( const uno::Reference < XComponentContext >& rxContext ) :
+ trans( new Transliteration_casemapping() ),
+ m_xContext( rxContext ),
pTable( nullptr ),
pStart( nullptr ),
pCont( nullptr ),
@@ -50,12 +52,10 @@ cclass_Unicode::cclass_Unicode( const uno::Reference < XComponentContext >& rxCo
cDecimalSep( '.' ),
cDecimalSepAlt( 0 )
{
- trans = new Transliteration_casemapping();
}
cclass_Unicode::~cclass_Unicode() {
destroyParserTable();
- delete trans;
}