diff options
author | Herbert Dürr <hdu@apache.org> | 2014-01-06 14:10:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-06 16:32:20 +0000 |
commit | 9e77ddcd19d328c54ed0fb3ebb83f585b85f0249 (patch) | |
tree | 41843d922d70b433a0e5647b0fdcdb406fa6be0e /svx | |
parent | 01329972d89ddfd30d197b7947c571fdb83b0cf8 (diff) |
Resolves: #i123817# prepare codebase for updating to boost 1.55
(cherry picked from commit c31988351c10e9f3fd783730d95da34efd52c153)
Conflicts:
basic/source/comp/parser.cxx
basic/source/comp/token.cxx
dbaccess/source/ui/dlg/generalpage.cxx
sc/source/ui/unoobj/chart2uno.cxx
vcl/quartz/salbmp.cxx
Change-Id: Ic9580f2d4a44959cb3e38906eb4153b2c2a54899
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/svxruler.cxx | 18 | ||||
-rw-r--r-- | svx/source/form/formcontroller.cxx | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx index 4d027bbb66cb..7c75ca08aa76 100644 --- a/svx/source/dialog/svxruler.cxx +++ b/svx/source/dialog/svxruler.cxx @@ -674,7 +674,7 @@ void SvxRuler::UpdateFrame(const SvxLongLRSpaceItem *pItem) // new value LRSpace if(pItem) mpLRSpaceItem.reset(new SvxLongLRSpaceItem(*pItem)); else - mpLRSpaceItem.reset(NULL); + mpLRSpaceItem.reset(); StartListening_Impl(); } } @@ -687,7 +687,7 @@ void SvxRuler::UpdateFrameMinMax(const SfxRectangleItem *pItem) // value for Min if(pItem) mpMinMaxItem.reset(new SfxRectangleItem(*pItem)); else - mpMinMaxItem.reset(NULL); + mpMinMaxItem.reset(); } } @@ -700,7 +700,7 @@ void SvxRuler::UpdateFrame(const SvxLongULSpaceItem *pItem) // new value if(pItem) mpULSpaceItem.reset(new SvxLongULSpaceItem(*pItem)); else - mpULSpaceItem.reset(NULL); + mpULSpaceItem.reset(); StartListening_Impl(); } } @@ -746,7 +746,7 @@ void SvxRuler::Update( //if mpColumnItem is already set with one of the ids then a NULL pItem argument //must not delete it { - mpColumnItem.reset(NULL); + mpColumnItem.reset(); mpRulerImpl->bIsTableRows = sal_False; } StartListening_Impl(); @@ -908,7 +908,7 @@ void SvxRuler::UpdatePara(const SvxLRSpaceItem *pItem) // new value of paragraph if(pItem) mpParaItem.reset(new SvxLRSpaceItem(*pItem)); else - mpParaItem.reset(NULL); + mpParaItem.reset(); StartListening_Impl(); } } @@ -921,7 +921,7 @@ void SvxRuler::UpdateParaBorder(const SvxLRSpaceItem * pItem ) if(pItem) mpParaBorderItem.reset(new SvxLRSpaceItem(*pItem)); else - mpParaBorderItem.reset(NULL); + mpParaBorderItem.reset(); StartListening_Impl(); } } @@ -989,7 +989,7 @@ void SvxRuler::Update(const SvxPagePosSizeItem *pItem) // new value of page attr if(pItem) mpPagePosItem.reset(new SvxPagePosSizeItem(*pItem)); else - mpPagePosItem.reset(NULL); + mpPagePosItem.reset(); StartListening_Impl(); } } @@ -1185,7 +1185,7 @@ void SvxRuler::Update(const SvxTabStopItem *pItem) // new value for tabs } else { - mpTabStopItem.reset(NULL); + mpTabStopItem.reset(); } StartListening_Impl(); } @@ -1199,7 +1199,7 @@ void SvxRuler::Update(const SvxObjectItem *pItem) // new value for objects if(pItem) mpObjectItem.reset(new SvxObjectItem(*pItem)); else - mpObjectItem.reset(NULL); + mpObjectItem.reset(); StartListening_Impl(); } } diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 68a7a3638b5d..810838a4e265 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -2731,7 +2731,7 @@ void FormController::unload() throw( RuntimeException ) m_bCanInsert = m_bCanUpdate = m_bCycle = sal_False; m_bCurrentRecordModified = m_bCurrentRecordNew = m_bLocked = sal_False; - m_pColumnInfoCache.reset( NULL ); + m_pColumnInfoCache.reset(); } // ----------------------------------------------------------------------------- |