summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-28 13:37:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-11-04 17:14:26 +0000
commit43bc3031483d172eccd72c3804e2d4fc2ef37de4 (patch)
tree991d98e8e61fae47ada28ba7a0b02e1d6c8e443f /svtools
parent44523738f094ff3987e85ea0c47b8c636bbe5786 (diff)
unify color selectors
Note: this removes the use of auto-color from writer's asian text grid, because its always invisible as far as I can see in practice. Change-Id: Ie850790d740a4d56c43015e493e093678cef3b4e
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 4c6b107b1025..b54e54c6396b 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -93,18 +93,6 @@ ColorListBox::ColorListBox( vcl::Window* pParent, WinBits nWinStyle ) :
SetEdgeBlending(true);
}
-VCL_BUILDER_DECL_FACTORY(ColorListBox)
-{
- bool bDropdown = VclBuilder::extractDropdown(rMap);
- WinBits nWinBits = WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_TABSTOP;
- if (bDropdown)
- nWinBits |= WB_DROPDOWN;
- VclPtrInstance<ColorListBox> pListBox(pParent, nWinBits);
- if (bDropdown)
- pListBox->EnableAutoSize(true);
- rRet = pListBox;
-}
-
ColorListBox::~ColorListBox()
{
disposeOnce();