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

Jan-Marek Glogowski (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 3 12:26:10 UTC 2019


 starmath/source/ElementsDockingWindow.cxx |    2 +-
 starmath/source/edit.cxx                  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 501b935d057547b1a785147a32e4e090ebd91a12
Author:     Jan-Marek Glogowski <glogow at fbihome.de>
AuthorDate: Wed May 29 16:32:24 2019 +0200
Commit:     Jan-Marek Glogowski <glogow at fbihome.de>
CommitDate: Mon Jun 3 14:25:12 2019 +0200

    SM add a border to the editor and the element list
    
    Change-Id: I708476919ce7750df6a691d75fe594c3f44d9126
    Reviewed-on: https://gerrit.libreoffice.org/73173
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <tietze.heiko at gmail.com>
    Tested-by: Heiko Tietze <tietze.heiko at gmail.com>
    Reviewed-by: Jan-Marek Glogowski <glogow at fbihome.de>

diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 7491e71823b1..22229483c650 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -259,7 +259,7 @@ const std::tuple<const char*, const SmElementDescr*, size_t> SmElementsControl::
 const size_t SmElementsControl::m_aCategoriesSize = SAL_N_ELEMENTS(m_aCategories);
 
 SmElementsControl::SmElementsControl(vcl::Window *pParent)
-    : Control(pParent, WB_TABSTOP)
+    : Control(pParent, WB_TABSTOP | WB_BORDER)
     , mpDocShell(new SmDocShell(SfxModelFlags::EMBEDDED_OBJECT))
     , m_nCurrentElement(SAL_MAX_UINT16)
     , m_nCurrentRolloverElement(SAL_MAX_UINT16)
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 643ef04a1960..515b924ee1ef 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -73,7 +73,7 @@ bool SmEditWindow::IsInlineEditEnabled()
 
 
 SmEditWindow::SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin ) :
-    Window              (&rMyCmdBoxWin),
+    Window              (&rMyCmdBoxWin, WB_BORDER),
     DropTargetHelper    ( this ),
     rCmdBox             (rMyCmdBoxWin),
     aModifyIdle         ("SmEditWindow ModifyIdle"),


More information about the Libreoffice-commits mailing list