From 78446df26f45e2a71187873726388c9d2f6ba6e5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 11 Aug 2015 15:02:05 +0200 Subject: tdf#92885 - Incorrect cell border drawing in DOC file after saving in 5.0 caused by commit 4b66829390b286010b37b37ec1537a320d8cea8f "convert BOX_LINE and BOXINFO_LINE to enum class" Change-Id: I23eb359a40035dd40bdb60703de567b1c328e793 --- sd/source/ui/table/TableDesignPane.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx index aac2f0f4add7..206a08bb0993 100644 --- a/sd/source/ui/table/TableDesignPane.cxx +++ b/sd/source/ui/table/TableDesignPane.cxx @@ -710,7 +710,7 @@ const Bitmap CreateDesignPreview( const Reference< XIndexAccess >& xTableStyle, boost::shared_ptr< CellInfo > xBorderInfo( aMatrix[nBorderCol][nBorderRow] ); if( xBorderInfo.get() ) { - const ::editeng::SvxBorderLine* pBorderLine2 = xBorderInfo->maBorder.GetLine(static_cast(static_cast(nLine)^1^1)); + const ::editeng::SvxBorderLine* pBorderLine2 = xBorderInfo->maBorder.GetLine(static_cast(static_cast(nLine)^1)); if( pBorderLine2 && pBorderLine2->HasPriority(*pBorderLine) ) continue; // other border line wins } -- cgit