summaryrefslogtreecommitdiff
path: root/sw/source/filter/writer/wrtswtbl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/writer/wrtswtbl.cxx')
-rw-r--r--sw/source/filter/writer/wrtswtbl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/writer/wrtswtbl.cxx b/sw/source/filter/writer/wrtswtbl.cxx
index 98bc37956fc3..b9c2e7adb9a9 100644
--- a/sw/source/filter/writer/wrtswtbl.cxx
+++ b/sw/source/filter/writer/wrtswtbl.cxx
@@ -191,10 +191,10 @@ const SvxBrushItem *SwWriteTable::GetLineBrush( const SwTableBox *pBox,
void SwWriteTable::MergeBorders( const SvxBorderLine* pBorderLine,
bool bTable )
{
- if( sal_uInt32(-1) == m_nBorderColor )
+ if( Color(0xffffffff) == m_nBorderColor )
{
if( !pBorderLine->GetColor().IsRGBEqual( COL_GRAY ) )
- m_nBorderColor = pBorderLine->GetColor().GetColor();
+ m_nBorderColor = pBorderLine->GetColor();
}
if( !m_bCollectBorderWidth )