summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-14 09:21:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-14 12:54:25 +0000
commit22b80ac8e213ff63ce4f60e7d491f12cb42db313 (patch)
treeb00f1ed362747a05d79686a8709c3408cfdee59b /hwpfilter
parentd8026ad65c8d50868f0f2fc0d2bd95820cddea83 (diff)
boost->std
Change-Id: I3fd9e1599c5ad812879a58cf1dabbcd393105e1c Reviewed-on: https://gerrit.libreoffice.org/18564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/inc/pch/precompiled_hwp.hxx1
-rw-r--r--hwpfilter/source/hwpreader.cxx8
2 files changed, 3 insertions, 6 deletions
diff --git a/hwpfilter/inc/pch/precompiled_hwp.hxx b/hwpfilter/inc/pch/precompiled_hwp.hxx
index 13658fb72775..752f2ec1f05d 100644
--- a/hwpfilter/inc/pch/precompiled_hwp.hxx
+++ b/hwpfilter/inc/pch/precompiled_hwp.hxx
@@ -15,7 +15,6 @@
*/
#include <assert.h>
-#include <boost/shared_ptr.hpp>
#include <comphelper/newarray.hxx>
#include <ctype.h>
#include <deque>
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 7beafe2d615d..46f83877f093 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -20,8 +20,6 @@
#include <deque>
#include <memory>
-#include <boost/shared_ptr.hpp>
-
#include "hwpreader.hxx"
#include <math.h>
@@ -1746,7 +1744,7 @@ void HwpReader::makePageStyle()
if( hwpinfo.back_info.type == 2 ){
rstartEl("office:binary-data", rList);
pList->clear();
- boost::shared_ptr<char> pStr(base64_encode_string(reinterpret_cast<unsigned char *>(hwpinfo.back_info.data), hwpinfo.back_info.size ), Free<char>());
+ std::shared_ptr<char> pStr(base64_encode_string(reinterpret_cast<unsigned char *>(hwpinfo.back_info.data), hwpinfo.back_info.size ), Free<char>());
rchars(ascii(pStr.get()));
rendEl("office:binary-data");
}
@@ -3907,7 +3905,7 @@ void HwpReader::makePicture(Picture * hbox)
EmPicture *emp = hwpfile.GetEmPicture(hbox);
if( emp )
{
- boost::shared_ptr<char> pStr(base64_encode_string( emp->data, emp->size ), Free<char>());
+ std::shared_ptr<char> pStr(base64_encode_string( emp->data, emp->size ), Free<char>());
rchars(ascii(pStr.get()));
}
}
@@ -3931,7 +3929,7 @@ void HwpReader::makePicture(Picture * hbox)
rchars("");
}
else{
- boost::shared_ptr<char> pStr(base64_encode_string( (uchar *)pObj, strlen((char *)pObj)), Free<char>());
+ std::shared_ptr<char> pStr(base64_encode_string( (uchar *)pObj, strlen((char *)pObj)), Free<char>());
rchars(ascii(pStr.get()));
pObj->Release();
srcsto->Release();