summaryrefslogtreecommitdiffstats
path: root/svx/source/table
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-10-05 15:07:49 +0200
committerNoel Grandin <noel@peralex.com>2016-10-05 15:08:10 +0200
commiteb6d4547a044b3eb7cb8945977e45647a37df28f (patch)
tree0da1395a1b84d8385a5ce019a3ce10700f99a20d /svx/source/table
parenttdf#102507 Left aligned denominator (diff)
downloadcore-eb6d4547a044b3eb7cb8945977e45647a37df28f.tar.gz
core-eb6d4547a044b3eb7cb8945977e45647a37df28f.zip
loplugin:unnecessaryoverride in svx
Change-Id: Ib5e84838888b5fb56eb18c5334ffa3fdd203b997
Diffstat (limited to 'svx/source/table')
-rw-r--r--svx/source/table/accessibletableshape.cxx12
-rw-r--r--svx/source/table/cell.cxx36
-rw-r--r--svx/source/table/cell.hxx5
-rw-r--r--svx/source/table/svdotable.cxx47
4 files changed, 0 insertions, 100 deletions
diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx
index b00e0bf20df4..a008b808dc76 100644
--- a/svx/source/table/accessibletableshape.cxx
+++ b/svx/source/table/accessibletableshape.cxx
@@ -393,12 +393,6 @@ void SAL_CALL AccessibleTableShape::release( ) throw ()
// XAccessible
-Reference< XAccessibleContext > SAL_CALL AccessibleTableShape::getAccessibleContext() throw (RuntimeException, std::exception)
-{
- return AccessibleShape::getAccessibleContext ();
-}
-
-
OUString SAL_CALL AccessibleTableShape::getImplementationName() throw (RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.accessibility.AccessibleTableShape" );
@@ -427,12 +421,6 @@ Reference< XAccessible > SAL_CALL AccessibleTableShape::getAccessibleChild( sal_
}
-Reference< XAccessibleRelationSet > SAL_CALL AccessibleTableShape::getAccessibleRelationSet( ) throw (RuntimeException, std::exception)
-{
- return AccessibleShape::getAccessibleRelationSet( );
-}
-
-
sal_Int16 SAL_CALL AccessibleTableShape::getAccessibleRole() throw (RuntimeException, std::exception)
{
return AccessibleRole::TABLE;
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index 5f1f1db9dcfe..6acddfde05ff 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -171,8 +171,6 @@ namespace sdr
void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = nullptr) override;
- void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr) override;
-
sdr::table::CellRef mxCell;
private:
@@ -334,10 +332,6 @@ namespace sdr
AttributeProperties::ItemChange( nWhich, pNewItem );
}
- void CellProperties::SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr)
- {
- TextProperties::SetStyleSheet( pNewStyleSheet, bDontRemoveHardAttr );
- }
} // end of namespace properties
} // end of namespace sdr
@@ -1605,18 +1599,6 @@ void SAL_CALL Cell::removeTextContent( const Reference< XTextContent >& xContent
// XSimpleText
-Reference< XTextCursor > SAL_CALL Cell::createTextCursor( ) throw (RuntimeException, std::exception)
-{
- return SvxUnoTextBase::createTextCursor();
-}
-
-
-Reference< XTextCursor > SAL_CALL Cell::createTextCursorByRange( const Reference< XTextRange >& aTextPosition ) throw (RuntimeException, std::exception)
-{
- return SvxUnoTextBase::createTextCursorByRange( aTextPosition );
-}
-
-
void SAL_CALL Cell::insertString( const Reference< XTextRange >& xRange, const OUString& aString, sal_Bool bAbsorb ) throw (RuntimeException, std::exception)
{
SvxUnoTextBase::insertString( xRange, aString, bAbsorb );
@@ -1634,24 +1616,6 @@ void SAL_CALL Cell::insertControlCharacter( const Reference< XTextRange >& xRang
// XTextRange
-Reference< XText > SAL_CALL Cell::getText( ) throw (RuntimeException, std::exception)
-{
- return SvxUnoTextBase::getText();
-}
-
-
-Reference< XTextRange > SAL_CALL Cell::getStart( ) throw (RuntimeException, std::exception)
-{
- return SvxUnoTextBase::getStart();
-}
-
-
-Reference< XTextRange > SAL_CALL Cell::getEnd( ) throw (RuntimeException, std::exception)
-{
- return SvxUnoTextBase::getEnd();
-}
-
-
OUString SAL_CALL Cell::getString( ) throw (RuntimeException, std::exception)
{
maSelection.nStartPara = EE_PARA_MAX_COUNT;
diff --git a/svx/source/table/cell.hxx b/svx/source/table/cell.hxx
index 33e57b433acb..81bad8fe52f0 100644
--- a/svx/source/table/cell.hxx
+++ b/svx/source/table/cell.hxx
@@ -166,15 +166,10 @@ public:
SVX_DLLPRIVATE virtual void SAL_CALL removeTextContent( const css::uno::Reference< css::text::XTextContent >& xContent ) throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) override;
// XSimpleText
- SVX_DLLPRIVATE virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor( ) throw (css::uno::RuntimeException, std::exception) override;
- SVX_DLLPRIVATE virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange( const css::uno::Reference< css::text::XTextRange >& aTextPosition ) throw (css::uno::RuntimeException, std::exception) override;
SVX_DLLPRIVATE virtual void SAL_CALL insertString( const css::uno::Reference< css::text::XTextRange >& xRange, const OUString& aString, sal_Bool bAbsorb ) throw (css::uno::RuntimeException, std::exception) override;
SVX_DLLPRIVATE virtual void SAL_CALL insertControlCharacter( const css::uno::Reference< css::text::XTextRange >& xRange, ::sal_Int16 nControlCharacter, sal_Bool bAbsorb ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
// XTextRange
- SVX_DLLPRIVATE virtual css::uno::Reference< css::text::XText > SAL_CALL getText( ) throw (css::uno::RuntimeException, std::exception) override;
- SVX_DLLPRIVATE virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart( ) throw (css::uno::RuntimeException, std::exception) override;
- SVX_DLLPRIVATE virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd( ) throw (css::uno::RuntimeException, std::exception) override;
SVX_DLLPRIVATE virtual OUString SAL_CALL getString( ) throw (css::uno::RuntimeException, std::exception) override;
SVX_DLLPRIVATE virtual void SAL_CALL setString( const OUString& aString ) throw (css::uno::RuntimeException, std::exception) override;
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index 34b64cd1db7a..53f7a3bb8a9e 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -1362,12 +1362,6 @@ sal_uInt16 SdrTableObj::GetObjIdentifier() const
}
-void SdrTableObj::SetPage(SdrPage* pNewPage)
-{
- SdrTextObj::SetPage(pNewPage);
-}
-
-
void SdrTableObj::SetModel(SdrModel* pNewModel)
{
SdrModel* pOldModel = GetModel();
@@ -1657,11 +1651,6 @@ sal_uInt16 SdrTableObj::GetOutlinerViewAnchorMode() const
}
-OutlinerParaObject* SdrTableObj::GetEditOutlinerParaObject() const
-{
- return SdrTextObj::GetEditOutlinerParaObject();
-}
-
OUString SdrTableObj::TakeObjNameSingul() const
{
OUStringBuffer sName(ImpGetResStr(STR_ObjNameSingulTable));
@@ -1715,18 +1704,6 @@ SdrTableObj& SdrTableObj::operator=(const SdrTableObj& rObj)
}
-basegfx::B2DPolyPolygon SdrTableObj::TakeXorPoly() const
-{
- return SdrTextObj::TakeXorPoly();
-}
-
-
-basegfx::B2DPolyPolygon SdrTableObj::TakeContour() const
-{
- return SdrTextObj::TakeContour();
-}
-
-
const Rectangle& SdrTableObj::GetSnapRect() const
{
return maRect;
@@ -1750,18 +1727,6 @@ void SdrTableObj::RecalcSnapRect()
}
-sal_uInt32 SdrTableObj::GetSnapPointCount() const
-{
- return SdrTextObj::GetSnapPointCount();
-}
-
-
-Point SdrTableObj::GetSnapPoint(sal_uInt32 i) const
-{
- return SdrTextObj::GetSnapPoint(i);
-}
-
-
bool SdrTableObj::BegTextEdit(SdrOutliner& rOutl)
{
if( pEdtOutl != nullptr )
@@ -2026,13 +1991,6 @@ void SdrTableObj::SetSkipChangeLayout(bool bSkipChangeLayout)
mpImpl->mbSkipChangeLayout = bSkipChangeLayout;
}
-// gets base transformation and rectangle of object. If it's an SdrPathObj it fills the PolyPolygon
-// with the base geometry and returns TRUE. Otherwise it returns FALSE.
-bool SdrTableObj::TRGetBaseGeometry(basegfx::B2DHomMatrix& rMatrix, basegfx::B2DPolyPolygon& rPolyPolygon ) const
-{
- return SdrTextObj::TRGetBaseGeometry( rMatrix, rPolyPolygon );
-}
-
bool SdrTableObj::IsReallyEdited() const
{
return pEdtOutl && pEdtOutl->IsModified();
@@ -2277,11 +2235,6 @@ bool SdrTableObj::applySpecialDrag(SdrDragStat& rDrag)
return bRet;
}
-OUString SdrTableObj::getSpecialDragComment(const SdrDragStat& rDrag) const
-{
- return SdrTextObj::getSpecialDragComment( rDrag );
-}
-
basegfx::B2DPolyPolygon SdrTableObj::getSpecialDragPoly(const SdrDragStat& rDrag) const
{
basegfx::B2DPolyPolygon aRetval;