summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-01-15 09:48:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-01-15 14:33:40 +0100
commit2d3d55e57b916e19c2c75228f7abeecda52716d6 (patch)
tree4ec776687b7e513fb54ff7f88b093e5cf51bdc36 /svx
parentb56ad2a1292b01647c4ee1f4364f7c4aa20fc449 (diff)
Resolves: tdf#122700 cannot change shadow color
Change-Id: Iee42beb96ff4d059c685173fdde453981b300b3c Reviewed-on: https://gerrit.libreoffice.org/66360 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index f852d9411311..17131138944d 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1608,10 +1608,6 @@ IMPL_LINK(SvxColorWindow, SelectHdl, ValueSet*, pColorSet, void)
VclPtr<SvxColorWindow> xThis(this);
NamedColor aNamedColor = GetSelectEntryColor(pColorSet);
- /* #i33380# DR 2004-09-03 Moved the following line above the Dispatch() calls.
- This instance may be deleted in the meantime (i.e. when a dialog is opened
- while in Dispatch()), accessing members will crash in this case. */
- pColorSet->SetNoSelection();
if ( pColorSet != mpRecentColorSet )
{
@@ -1631,10 +1627,6 @@ IMPL_LINK(SvxColorWindow, SelectHdl, ValueSet*, pColorSet, void)
IMPL_LINK(ColorWindow, SelectHdl, SvtValueSet*, pColorSet, void)
{
NamedColor aNamedColor = GetSelectEntryColor(pColorSet);
- /* #i33380# DR 2004-09-03 Moved the following line above the Dispatch() calls.
- This instance may be deleted in the meantime (i.e. when a dialog is opened
- while in Dispatch()), accessing members will crash in this case. */
- pColorSet->SetNoSelection();
if (pColorSet != mxRecentColorSet.get())
{