summaryrefslogtreecommitdiff
path: root/sal/textenc/tencinfo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/textenc/tencinfo.cxx')
-rw-r--r--sal/textenc/tencinfo.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/textenc/tencinfo.cxx b/sal/textenc/tencinfo.cxx
index 192619dbab41..af3898335943 100644
--- a/sal/textenc/tencinfo.cxx
+++ b/sal/textenc/tencinfo.cxx
@@ -26,7 +26,7 @@
#include "gettextencodingdata.hxx"
#include "tenchelp.hxx"
-#include <boost/scoped_array.hpp>
+#include <memory>
sal_Bool SAL_CALL rtl_isOctetTextEncoding(rtl_TextEncoding nEncoding)
{
@@ -414,7 +414,7 @@ rtl_TextEncoding SAL_CALL rtl_getTextEncodingFromUnixCharset( const char* pUnixC
const char* pSecondPart;
/* Alloc Buffer and map to lower case */
- boost::scoped_array<char> pBuf(new char[nBufLen]);
+ std::unique_ptr<char[]> pBuf(new char[nBufLen]);
Impl_toAsciiLower( pUnixCharset, pBuf.get() );
/* Search FirstPart */
@@ -742,7 +742,7 @@ rtl_TextEncoding SAL_CALL rtl_getTextEncodingFromMimeCharset( const char* pMimeC
sal_uInt32 nBufLen = strlen( pMimeCharset )+1;
/* Alloc Buffer and map to lower case and remove non alphanumeric chars */
- boost::scoped_array<char> pBuf(new char[nBufLen]);
+ std::unique_ptr<char[]> pBuf(new char[nBufLen]);
Impl_toAsciiLowerAndRemoveNonAlphanumeric( pMimeCharset, pBuf.get() );
/* Search for equal in the VIP table */