diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-12-05 15:28:08 +0100 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-12-07 16:03:53 +0100 |
commit | 342a588f9898442e34bc699607b759d877b7f381 (patch) | |
tree | 1244aa769807337a9149ac959a73fd07ee20a9e5 /svx | |
parent | 1d86f43a10f097aa4925bd48870477001098f5ff (diff) |
SwFrameBorder: Use enhanced FrameBorders for Character
Adapted PaintCharacterBorder to also use new, enhanced
FrameBorders. Adapted some places, cleaned up old code,
enhanced tooling method CreateBorderLinePrimitivesForRectangle,
tested including PDF, Pint, PrintPreview.
Change-Id: If7b793b6520e899bde6f4211c993847af21ce7b9
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/framelink.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx index 448504994a69..827def10ed2f 100644 --- a/svx/source/dialog/framelink.cxx +++ b/svx/source/dialog/framelink.cxx @@ -263,6 +263,8 @@ Style& Style::MirrorSelf() if (pTarget->mfSecn) { std::swap( pTarget->mfPrim, pTarget->mfSecn ); + // also need to swap colors + std::swap( pTarget->maColorPrim, pTarget->maColorSecn ); } if( pTarget->meRefMode != RefMode::Centered ) |