[Libreoffice-commits] core.git: sc/source

Albert Thuswaldner albert.thuswaldner at gmail.com
Fri Oct 9 00:20:34 PDT 2015


 sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d5dc2a2a726dd151fb30fae25478511dce929dfa
Author: Albert Thuswaldner <albert.thuswaldner at gmail.com>
Date:   Mon Oct 5 21:02:35 2015 +0200

    tdf#93243 replace boost::bind with C++11 lambdas Cell...PropertyPanel.cxx
    
    Change-Id: Id2d892742cd69da2deba51775bd04ecbec32f436
    Reviewed-on: https://gerrit.libreoffice.org/19170
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
index e3b77fd..4ae02d3 100644
--- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
+++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
@@ -195,7 +195,7 @@ IMPL_LINK_TYPED(CellAppearancePropertyPanel, TbxCellBorderSelectHdl, ToolBox*, p
             mpCellBorderStylePopup.reset(
                 new CellBorderStylePopup(
                     this,
-                    ::boost::bind(&CellAppearancePropertyPanel::CreateCellBorderStylePopupControl, this, _1)));
+                    [this] (svx::sidebar::PopupContainer* pParent) { return this->CreateCellBorderStylePopupControl(pParent); } ));
         }
 
         if(mpCellBorderStylePopup.get())
@@ -217,7 +217,7 @@ IMPL_LINK_TYPED(CellAppearancePropertyPanel, TbxLineStyleSelectHdl, ToolBox*, pT
             mpCellLineStylePopup.reset(
                 new CellLineStylePopup(
                     this,
-                    ::boost::bind(&CellAppearancePropertyPanel::CreateCellLineStylePopupControl, this, _1)));
+                    [this] (svx::sidebar::PopupContainer* pParent) { return this->CreateCellBorderStylePopupControl(pParent); } ));
         }
 
         if(mpCellLineStylePopup.get())


More information about the Libreoffice-commits mailing list