Attached another 'old style button' to split button conversion.
More t o follow.
Winfried
From 507666e87408959a327e6364c26957195830273c Mon Sep 17 00:00:00 2001
From: Winfried Donkers <[email protected]>
Date: Mon, 12 Mar 2012 17:25:26 +0100
Subject: [PATCH] fdo#45671 split button for calc cell border color
---
sc/source/ui/app/scdll.cxx | 2 +-
svx/inc/svx/tbcontrl.hxx | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index ece5a1f..25712d4 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -207,7 +207,7 @@ void ScDLL::Init()
SvxColorExtToolBoxControl ::RegisterControl(SID_BACKGROUND_COLOR, pMod);
SvxFrameToolBoxControl ::RegisterControl(SID_ATTR_BORDER, pMod);
SvxFrameLineStyleToolBoxControl ::RegisterControl(SID_FRAME_LINESTYLE, pMod);
- SvxFrameLineColorToolBoxControl ::RegisterControl(SID_FRAME_LINECOLOR, pMod);
+ SvxColorExtToolBoxControl ::RegisterControl(SID_FRAME_LINECOLOR, pMod);
SvxClipBoardControl ::RegisterControl(SID_PASTE, pMod );
SvxUndoRedoControl ::RegisterControl(SID_UNDO, pMod );
SvxUndoRedoControl ::RegisterControl(SID_REDO, pMod );
diff --git a/svx/inc/svx/tbcontrl.hxx b/svx/inc/svx/tbcontrl.hxx
index 8fb558e..7cc2479 100644
--- a/svx/inc/svx/tbcontrl.hxx
+++ b/svx/inc/svx/tbcontrl.hxx
@@ -87,6 +87,9 @@
for cell background color (calc)
Execute-Id SID_ATTR_CHAR_COLOR_BACKGROUND
+ for table/cell border color (writer, calc)
+ Execute-Id SID_FRAME_LINECOLOR
+
SvxColorToolBoxControl
--------------------------------
Item type: SvxBrushItem
--
1.7.7
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice