summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-24 16:11:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-24 16:12:08 +0000
commite2eaaa8a578fff5770a99e3f8ee2a7c95c460891 (patch)
tree0daff4cbe8ecbf9230d580151146196812b1c9b5 /cui
parentloplugin: unnecessary destructor jvmfwk..lotuswordpro (diff)
downloadcore-e2eaaa8a578fff5770a99e3f8ee2a7c95c460891.tar.gz
core-e2eaaa8a578fff5770a99e3f8ee2a7c95c460891.zip
Resolves: tdf#104552 table properties dialog drops previous border color
Change-Id: Ie39ea17fe56cc88efc65f6916aaeb1bd1b77c51f
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/border.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index 78da5a2a2b4d..a1f6ac6e752e 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -565,6 +565,7 @@ void SvxBorderTabPage::Reset( const SfxItemSet* rSet )
// set the current style and color (caches style in control even if nothing is selected)
SelStyleHdl_Impl(*m_pLbLineStyle);
+ SelColHdl_Impl(*m_pLbLineColor);
}
bool bEnable = m_pWndShadows->GetSelectItemId() > 1 ;
@@ -875,6 +876,7 @@ IMPL_LINK_NOARG(SvxBorderTabPage, SelPreHdl_Impl, ValueSet*, void)
// set current style to all previously selected lines
SelStyleHdl_Impl(*m_pLbLineStyle);
+ SelColHdl_Impl(*m_pLbLineColor);
}
// Presets ValueSet does not show a selection (used as push buttons).