diff options
author | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-10-06 23:55:50 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-10-06 23:55:50 +0200 |
commit | 8258bf4a02c76312b96f7bed838070ba2e60b8a3 (patch) | |
tree | de9aa0d85cf5ba83edf76c19dfcdd6380ddb4ac4 /sc/source/ui/view | |
parent | 227b28d8f597a6a275b7497134b39430e387b621 (diff) |
fate#307731, fate#307730: Adds dotted and dashed border lines
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index b48e94789669..0e5e7ebb71b9 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -1533,6 +1533,7 @@ void ScFormatShell::ExecuteAttr( SfxRequest& rReq ) pDefLine->SetOutWidth( pLine->GetOutWidth() ); pDefLine->SetInWidth ( pLine->GetInWidth() ); pDefLine->SetDistance( pLine->GetDistance() ); + pDefLine->SetStyle( pLine->GetStyle( ) ); pTabViewShell->SetSelectionFrameLines( pDefLine, FALSE ); } else diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index e9778650c607..c2b8cf77a420 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -3022,6 +3022,7 @@ void ScViewFunc::UpdateLineAttrs( SvxBorderLine& rLine, rLine.SetOutWidth ( pDestLine->GetOutWidth() ); rLine.SetInWidth ( pDestLine->GetInWidth() ); rLine.SetDistance ( pDestLine->GetDistance() ); + rLine.SetStyle ( pDestLine->GetStyle() ); } else { @@ -3029,6 +3030,7 @@ void ScViewFunc::UpdateLineAttrs( SvxBorderLine& rLine, rLine.SetOutWidth ( pSrcLine->GetOutWidth() ); rLine.SetInWidth ( pSrcLine->GetInWidth() ); rLine.SetDistance ( pSrcLine->GetDistance() ); + rLine.SetStyle ( pSrcLine->GetStyle() ); } } } |