diff options
Diffstat (limited to 'sw/source/ui/shells/frmsh.cxx')
-rw-r--r-- | sw/source/ui/shells/frmsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/shells/frmsh.cxx b/sw/source/ui/shells/frmsh.cxx index 909f17e43fb3..d4e7b1301466 100644 --- a/sw/source/ui/shells/frmsh.cxx +++ b/sw/source/ui/shells/frmsh.cxx @@ -942,7 +942,7 @@ void SwFrameShell::ExecFrameStyle(SfxRequest& rReq) if(aBorderLine.GetOutWidth() == 0) { - aBorderLine.SetStyle( ::editeng::SOLID ); + aBorderLine.SetSvxBorderStyle( ::editeng::SOLID ); aBorderLine.SetWidth( DEF_LINE_WIDTH_0 ); } //Distance nur setzen, wenn der Request vom Controller kommt @@ -1076,7 +1076,7 @@ void lcl_FrmGetMaxLineWidth(const SvxBorderLine* pBorderLine, SvxBorderLine& rBo if(pBorderLine->GetWidth() > rBorderLine.GetWidth()) rBorderLine.SetWidth(pBorderLine->GetWidth()); - rBorderLine.SetStyle(pBorderLine->GetStyle()); + rBorderLine.SetSvxBorderStyle(pBorderLine->GetSvxBorderStyle()); rBorderLine.SetColor(pBorderLine->GetColor()); } |