summaryrefslogtreecommitdiff
path: root/sw/source/filter/writer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 11:09:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 07:09:12 +0100
commit9a97b9c051735afb3797888d111f1b6b2cab1a83 (patch)
treefb2118bdc43c4a9d83d25cadf452e020a8143b9b /sw/source/filter/writer
parentb3ee860e523dce3df16350a4053a67f39c2f92f8 (diff)
use more Color in sw
Change-Id: I51d575c40228bbd2ff384f12da33c1cd8bda2dda Reviewed-on: https://gerrit.libreoffice.org/50800 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/writer')
-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 )