summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-12 12:21:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-13 19:38:08 +0000
commit47d3e82e4f2c0c06231c952a0cc2456b712da0cc (patch)
tree0f5d4aa62edb85d7c13bb6430aadfa9635c9e3ef /sw/source/filter/html
parentab5f16eb37d8fa2b7924f1e19f9fe8f373714adc (diff)
boost->std
Change-Id: I9b4f884c6313a53fea543ea6f93175205351ad14 Reviewed-on: https://gerrit.libreoffice.org/18517 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 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/htmlgrin.cxx1
-rw-r--r--sw/source/filter/html/htmltab.cxx16
2 files changed, 8 insertions, 9 deletions
diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx
index 24cd281b3bf8..b30d5718bd15 100644
--- a/sw/source/filter/html/htmlgrin.cxx
+++ b/sw/source/filter/html/htmlgrin.cxx
@@ -65,7 +65,6 @@
#include <swcss1.hxx>
#include <swhtml.hxx>
#include <numrule.hxx>
-#include <boost/shared_ptr.hpp>
#include <vcl/graphicfilter.hxx>
#include <tools/urlobj.hxx>
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 7ca574f651e2..498d3af13bc4 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -204,7 +204,7 @@ class HTMLTableCell
HTMLTableCnts *pContents; // cell content
SvxBrushItem *pBGBrush; // cell background
// !!!ATTENTION!!!!!
- ::boost::shared_ptr<SvxBoxItem> m_pBoxItem;
+ std::shared_ptr<SvxBoxItem> m_pBoxItem;
sal_uInt32 nNumFormat;
sal_uInt16 nRowSpan; // cell ROWSPAN
@@ -228,7 +228,7 @@ public:
// Fill a not empty cell
void Set( HTMLTableCnts *pCnts, sal_uInt16 nRSpan, sal_uInt16 nCSpan,
sal_Int16 eVertOri, SvxBrushItem *pBGBrush,
- ::boost::shared_ptr<SvxBoxItem> const& rBoxItem,
+ std::shared_ptr<SvxBoxItem> const& rBoxItem,
bool bHasNumFormat, sal_uInt32 nNumFormat,
bool bHasValue, double nValue, bool bNoWrap, bool bCovered );
@@ -249,7 +249,7 @@ public:
inline void SetWidth( sal_uInt16 nWidth, bool bRelWidth );
const SvxBrushItem *GetBGBrush() const { return pBGBrush; }
- ::boost::shared_ptr<SvxBoxItem> GetBoxItem() const { return m_pBoxItem; }
+ std::shared_ptr<SvxBoxItem> GetBoxItem() const { return m_pBoxItem; }
inline bool GetNumFormat( sal_uInt32& rNumFormat ) const;
inline bool GetValue( double& rValue ) const;
@@ -548,7 +548,7 @@ public:
void InsertCell( HTMLTableCnts *pCnts, sal_uInt16 nRowSpan, sal_uInt16 nColSpan,
sal_uInt16 nWidth, bool bRelWidth, sal_uInt16 nHeight,
sal_Int16 eVertOri, SvxBrushItem *pBGBrush,
- boost::shared_ptr<SvxBoxItem> const& rBoxItem,
+ std::shared_ptr<SvxBoxItem> const& rBoxItem,
bool bHasNumFormat, sal_uInt32 nNumFormat,
bool bHasValue, double nValue, bool bNoWrap );
@@ -704,7 +704,7 @@ HTMLTableCell::~HTMLTableCell()
void HTMLTableCell::Set( HTMLTableCnts *pCnts, sal_uInt16 nRSpan, sal_uInt16 nCSpan,
sal_Int16 eVert, SvxBrushItem *pBrush,
- ::boost::shared_ptr<SvxBoxItem> const& rBoxItem,
+ std::shared_ptr<SvxBoxItem> const& rBoxItem,
bool bHasNF, sal_uInt32 nNF, bool bHasV, double nVal,
bool bNWrap, bool bCovered )
{
@@ -1333,7 +1333,7 @@ void HTMLTable::FixFrameFormat( SwTableBox *pBox,
SwFrameFormat *pFrameFormat = 0; // frame::Frame-Format
sal_Int16 eVOri = text::VertOrientation::NONE;
const SvxBrushItem *pBGBrushItem = 0; // Hintergrund
- boost::shared_ptr<SvxBoxItem> pBoxItem;
+ std::shared_ptr<SvxBoxItem> pBoxItem;
bool bTopLine = false, bBottomLine = false, bLastBottomLine = false;
bool bReUsable = false; // Format nochmals verwendbar?
sal_uInt16 nEmptyRows = 0;
@@ -2060,7 +2060,7 @@ void HTMLTable::InsertCell( HTMLTableCnts *pCnts,
sal_uInt16 nRowSpan, sal_uInt16 nColSpan,
sal_uInt16 nCellWidth, bool bRelWidth, sal_uInt16 nCellHeight,
sal_Int16 eVertOrient, SvxBrushItem *pBGBrushItem,
- boost::shared_ptr<SvxBoxItem> const& rBoxItem,
+ std::shared_ptr<SvxBoxItem> const& rBoxItem,
bool bHasNumFormat, sal_uInt32 nNumFormat,
bool bHasValue, double nValue, bool bNoWrap )
{
@@ -3067,7 +3067,7 @@ class _CellSaveStruct : public _SectionSaveStruct
OUString aStyle, aId, aClass, aLang, aDir;
OUString aBGImage;
Color aBGColor;
- boost::shared_ptr<SvxBoxItem> m_pBoxItem;
+ std::shared_ptr<SvxBoxItem> m_pBoxItem;
HTMLTableCnts* pCnts; // Liste aller Inhalte
HTMLTableCnts* pCurrCnts; // der aktuelle Inhalt oder 0