summaryrefslogtreecommitdiff
path: root/svx/source/table/svdotable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/table/svdotable.cxx')
-rw-r--r--svx/source/table/svdotable.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index d3ab40c875ee..1e44e1f23e09 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -1622,9 +1622,9 @@ void SdrTableObj::TakeTextEditArea( const CellPos& rPos, Size* pPaperMin, Size*
}
-sal_uInt16 SdrTableObj::GetOutlinerViewAnchorMode() const
+EEAnchorMode SdrTableObj::GetOutlinerViewAnchorMode() const
{
- EVAnchorMode eRet=ANCHOR_TOP_LEFT;
+ EEAnchorMode eRet=EEAnchorMode::TopLeft;
CellRef xCell( getActiveCell() );
if( xCell.is() )
{
@@ -1633,19 +1633,19 @@ sal_uInt16 SdrTableObj::GetOutlinerViewAnchorMode() const
{
if (eV==SDRTEXTVERTADJUST_TOP)
{
- eRet=ANCHOR_TOP_LEFT;
+ eRet=EEAnchorMode::TopLeft;
}
else if (eV==SDRTEXTVERTADJUST_BOTTOM)
{
- eRet=ANCHOR_BOTTOM_LEFT;
+ eRet=EEAnchorMode::BottomLeft;
}
else
{
- eRet=ANCHOR_VCENTER_LEFT;
+ eRet=EEAnchorMode::VCenterLeft;
}
}
}
- return (sal_uInt16)eRet;
+ return eRet;
}