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

Maxim Monastirsky momonasmon at gmail.com
Wed Nov 5 01:31:21 PST 2014


 sc/source/ui/app/scdll.cxx |    2 ++
 sd/source/ui/app/sddll.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 67c39b2f4f73bb43b9879f38a71cfa84edc65c79
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Wed Nov 5 11:27:03 2014 +0200

    Register ParaLineSpacingPopup in sc and sd
    
    The Sidebar Paragraph panel is used there for text boxes.
    
    Change-Id: Icff81d50c0341f02d29e36d0c3b99478a872a48f

diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index f20e342..d945222 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -35,6 +35,7 @@
 #include <comphelper/types.hxx>
 #include <svx/fontworkgallery.hxx>
 #include <svx/tbxcustomshapes.hxx>
+#include <svx/ParaLineSpacingPopup.hxx>
 
 #include <svtools/parhtml.hxx>
 #include <sot/formats.hxx>
@@ -184,6 +185,7 @@ void ScDLL::Init()
     SvxClipBoardControl             ::RegisterControl(SID_PASTE,                pMod );
     SvxUndoRedoControl              ::RegisterControl(SID_UNDO,                 pMod );
     SvxUndoRedoControl              ::RegisterControl(SID_REDO,                 pMod );
+    svx::ParaLineSpacingPopup       ::RegisterControl(SID_ATTR_PARA_LINESPACE,  pMod );
     svx::FormatPaintBrushToolBoxControl::RegisterControl(SID_FORMATPAINTBRUSH,  pMod );
 
     SvxGrafModeToolBoxControl       ::RegisterControl(SID_ATTR_GRAF_MODE,       pMod);
diff --git a/sd/source/ui/app/sddll.cxx b/sd/source/ui/app/sddll.cxx
index 2162ac4..c2016ba 100644
--- a/sd/source/ui/app/sddll.cxx
+++ b/sd/source/ui/app/sddll.cxx
@@ -71,6 +71,7 @@
 #include <svx/fontwork.hxx>
 #include <svx/fontworkgallery.hxx>
 #include <svx/formatpaintbrushctrl.hxx>
+#include <svx/ParaLineSpacingPopup.hxx>
 #include <svx/grafctrl.hxx>
 #include <svx/hyperdlg.hxx>
 #include <svx/imapdlg.hxx>
@@ -259,6 +260,7 @@ void SdDLL::RegisterControllers()
 
     SvxColorToolBoxControl::RegisterControl( SID_EXTRUSION_3D_COLOR, pMod );
     svx::FontWorkShapeTypeControl::RegisterControl( SID_FONTWORK_SHAPE_TYPE, pMod );
+    svx::ParaLineSpacingPopup::RegisterControl(SID_ATTR_PARA_LINESPACE, pMod);
 
     ::avmedia::MediaToolBoxControl::RegisterControl( SID_AVMEDIA_TOOLBOX, pMod );
     XmlSecStatusBarControl::RegisterControl( SID_SIGNATURE, pMod );


More information about the Libreoffice-commits mailing list