Kaydet (Commit) 11d13f46 authored tarafından Nickson Thanda's avatar Nickson Thanda Kaydeden (comit) Muhammet Kara

tdf#88961 change table line style color to make it more visible

Table line styles are now black and 0.05pt.

Change-Id: Ifa613c2c26ecb97e2d466e94a21c4120065969c9
Reviewed-on: https://gerrit.libreoffice.org/54461Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMuhammet Kara <muhammet.kara@pardus.org.tr>
Tested-by: 's avatarMuhammet Kara <muhammet.kara@pardus.org.tr>
üst d46c3214
......@@ -565,7 +565,7 @@ void SvxBorderTabPage::Reset( const SfxItemSet* rSet )
sal_Int64( nWidth ), m_pLineWidthMF->GetDecimalDigits( ),
MapUnit::MapTwip, m_pLineWidthMF->GetUnit() ));
m_pLineWidthMF->SetValue( nWidthPt );
m_pLbLineStyle->SetWidth( nWidth );
m_pLbLineStyle->SetWidth(5);
// then set the style
m_pLbLineStyle->SelectEntry( nStyle );
......@@ -580,7 +580,7 @@ void SvxBorderTabPage::Reset( const SfxItemSet* rSet )
aColor = COL_BLACK;
m_pLbLineColor->SelectEntry(aColor);
m_pLbLineStyle->SetColor(aColor);
m_pLbLineStyle->SetColor(GetTextColor());
// Select all visible lines, if they are all equal.
if( bWidthEq && bColorEq )
......@@ -922,10 +922,6 @@ IMPL_LINK(SvxBorderTabPage, SelColHdl_Impl, SvxColorListBox&, rColorBox, void)
{
Color aColor = rColorBox.GetSelectEntryColor();
m_pFrameSel->SetColorToSelection(aColor);
if(aColor == COL_WHITE)
m_pLbLineStyle->SetColor(COL_BLACK);
else
m_pLbLineStyle->SetColor(aColor);
}
IMPL_LINK_NOARG(SvxBorderTabPage, ModifyWidthHdl_Impl, Edit&, void)
......@@ -934,7 +930,6 @@ IMPL_LINK_NOARG(SvxBorderTabPage, ModifyWidthHdl_Impl, Edit&, void)
m_pLineWidthMF->GetValue( ),
m_pLineWidthMF->GetDecimalDigits( ),
m_pLineWidthMF->GetUnit(), MapUnit::MapTwip ));
m_pLbLineStyle->SetWidth( nVal );
m_pFrameSel->SetStyleToSelection( nVal,
m_pLbLineStyle->GetSelectEntryStyle() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment