diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-01-21 23:47:35 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-28 09:52:28 +0100 |
commit | 4e8a15ca224760e8f36952528b2b47def78fd865 (patch) | |
tree | 963bbbe22d03a82fa3a82bc3fa74d4ebf848a1fe /sax/source/expatwrap/xml2utf.cxx | |
parent | Fix typo (diff) | |
download | core-4e8a15ca224760e8f36952528b2b47def78fd865.tar.gz core-4e8a15ca224760e8f36952528b2b47def78fd865.zip |
o3tl::make_unique -> std::make_unique in sax...svtools (except sc)
Since it is now possible to use C++14, it's time to replace
the temporary solution with the standard one
Change-Id: I6eea0877eaa1886b64c0cce06a43b8088cbccd8e
Reviewed-on: https://gerrit.libreoffice.org/66751
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sax/source/expatwrap/xml2utf.cxx')
-rw-r--r-- | sax/source/expatwrap/xml2utf.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx index 6b240ae8b3f0..535075e1f7e2 100644 --- a/sax/source/expatwrap/xml2utf.cxx +++ b/sax/source/expatwrap/xml2utf.cxx @@ -22,7 +22,6 @@ #include <sal/types.h> -#include <o3tl/make_unique.hxx> #include <rtl/textenc.h> #include <rtl/tencinfo.h> #include <com/sun/star/io/NotConnectedException.hpp> @@ -324,8 +323,8 @@ void XMLFile2UTFConverter::initializeDecoding() rtl_TextEncoding encoding = rtl_getTextEncodingFromMimeCharset( m_sEncoding.getStr() ); if( encoding != RTL_TEXTENCODING_UTF8 ) { - m_pText2Unicode = o3tl::make_unique<Text2UnicodeConverter>( m_sEncoding ); - m_pUnicode2Text = o3tl::make_unique<Unicode2TextConverter>( RTL_TEXTENCODING_UTF8 ); + m_pText2Unicode = std::make_unique<Text2UnicodeConverter>( m_sEncoding ); + m_pUnicode2Text = std::make_unique<Unicode2TextConverter>( RTL_TEXTENCODING_UTF8 ); } } } |