summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/docnode/ndtbl1.cxx12
-rw-r--r--sw/source/core/unocore/unotbl.cxx18
2 files changed, 0 insertions, 30 deletions
diff --git a/sw/source/core/docnode/ndtbl1.cxx b/sw/source/core/docnode/ndtbl1.cxx
index 5916ee2a138c..802cb1ff30d2 100644
--- a/sw/source/core/docnode/ndtbl1.cxx
+++ b/sw/source/core/docnode/ndtbl1.cxx
@@ -1213,18 +1213,6 @@ sal_Bool SwDoc::GetBoxAttr( const SwCursor& rCursor, SfxPoolItem& rToFill ) cons
else if( rToFill != rDir )
bRet = sal_False;
}
- case RES_VERT_ORIENT:
- {
- const SwFmtVertOrient& rOrient =
- aBoxes[i]->GetFrmFmt()->GetVertOrient();
- if( !bOneFound )
- {
- (SwFmtVertOrient&)rToFill = rOrient;
- bOneFound = true;
- }
- else if( rToFill != rOrient )
- bRet = sal_False;
- }
}
if ( sal_False == bRet )
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index a873bad1c284..8a9b1c0ff807 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -67,7 +67,6 @@
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <com/sun/star/text/TableColumnSeparator.hpp>
#include <com/sun/star/text/XTextSection.hpp>
-#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/table/ShadowFormat.hpp>
#include <com/sun/star/table/TableBorder.hpp>
#include <com/sun/star/table/TableBorder2.hpp>
@@ -3894,14 +3893,6 @@ void SwXCellRange::setPropertyValue(const OUString& rPropertyName,
pDoc->SetBoxAttr( *pCrsr, aNumberFormat);
}
break;
- case RES_VERT_ORIENT:
- {
- sal_Int16 nAlign = -1;
- aValue >>= nAlign;
- if( nAlign >= text::VertOrientation::NONE && nAlign <= text::VertOrientation::BOTTOM)
- pDoc->SetBoxAlign( *pCrsr, nAlign );
- }
- break;
case FN_UNO_RANGE_ROW_LABEL:
{
sal_Bool bTmp = *(sal_Bool*)aValue.getValue();
@@ -3979,15 +3970,6 @@ uno::Any SwXCellRange::getPropertyValue(const OUString& rPropertyName) throw( be
rBoxItem.QueryValue(aRet, pEntry->nMemberId);
}
break;
- case RES_VERT_ORIENT:
- {
- SwFmtVertOrient aVertOrient;
- if( pTblCrsr->GetDoc()->GetBoxAttr( *pTblCrsr, aVertOrient ) )
- {
- aVertOrient.QueryValue( aRet, pEntry->nMemberId );
- }
- }
- break;
case RES_BOXATR_FORMAT:
//GetAttr fuer Tabellenselektion am Doc fehlt noch
OSL_FAIL("not implemented");