diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 15:02:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 15:02:26 +0200 |
commit | 78446df26f45e2a71187873726388c9d2f6ba6e5 (patch) | |
tree | aea44e5de8040972beded5cdb8f224f6a735b5e3 /sd | |
parent | 066c55d4352a0e7930c5fe069a8148fb7f5e4ecf (diff) |
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
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/table/TableDesignPane.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<SvxBoxItemLine>(static_cast<int>(nLine)^1^1)); + const ::editeng::SvxBorderLine* pBorderLine2 = xBorderInfo->maBorder.GetLine(static_cast<SvxBoxItemLine>(static_cast<int>(nLine)^1)); if( pBorderLine2 && pBorderLine2->HasPriority(*pBorderLine) ) continue; // other border line wins } |