summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/formatsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/formatsh.cxx')
-rw-r--r--sc/source/ui/view/formatsh.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 8e8a65719687..7d2cd76e88ad 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -89,6 +89,9 @@
#include "scabstdlg.hxx"
+
+using namespace ::com::sun::star;
+
namespace {
SvxCellHorJustify lclConvertSlotToHAlign( sal_uInt16 nSlot )
@@ -1492,8 +1495,8 @@ void ScFormatShell::ExecuteAttr( SfxRequest& rReq )
if ( pDefLine )
{
- pDefLine->SetSvxBorderStyle(
- pLine->GetSvxBorderStyle());
+ pDefLine->SetBorderLineStyle(
+ pLine->GetBorderLineStyle());
pDefLine->SetWidth( pLine->GetWidth( ) );
pTabViewShell->SetSelectionFrameLines( pDefLine, false );
}
@@ -1507,7 +1510,8 @@ void ScFormatShell::ExecuteAttr( SfxRequest& rReq )
else
{
Color aColorBlack( COL_BLACK );
- ::editeng::SvxBorderLine aDefLine( &aColorBlack, 20, ::editeng::SOLID );
+ ::editeng::SvxBorderLine aDefLine( &aColorBlack, 20,
+ table::BorderLineStyle::SOLID );
pTabViewShell->SetDefaultFrameLine( &aDefLine );
pTabViewShell->SetSelectionFrameLines( NULL, false );
}
@@ -1529,7 +1533,8 @@ void ScFormatShell::ExecuteAttr( SfxRequest& rReq )
}
else
{
- ::editeng::SvxBorderLine aDefLine( &rColor, 20, ::editeng::SOLID );
+ ::editeng::SvxBorderLine aDefLine( &rColor, 20,
+ table::BorderLineStyle::SOLID );
pTabViewShell->SetDefaultFrameLine( &aDefLine );
pTabViewShell->SetSelectionFrameLines( &aDefLine, false );
}