summaryrefslogtreecommitdiff
path: root/svx
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
parentdeb3fcc4876ec2ab45415a06fc80b247826cc48b (diff)
loplugin:unnecessaryoverride in svx
Change-Id: Ib5e84838888b5fb56eb18c5334ffa3fdd203b997
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/AccessibleTableShape.hxx4
-rw-r--r--svx/inc/sdr/properties/e3dcompoundproperties.hxx3
-rw-r--r--svx/inc/sdr/properties/e3dsceneproperties.hxx3
-rw-r--r--svx/source/accessibility/AccessibleControlShape.cxx5
-rw-r--r--svx/source/dialog/imapdlg.cxx5
-rw-r--r--svx/source/dialog/rubydialog.cxx5
-rw-r--r--svx/source/fmcomp/gridctrl.cxx5
-rw-r--r--svx/source/form/datanavi.cxx6
-rw-r--r--svx/source/form/fmdmod.cxx13
-rw-r--r--svx/source/form/fmobj.cxx14
-rw-r--r--svx/source/form/fmview.cxx5
-rw-r--r--svx/source/inc/datanavi.hxx1
-rw-r--r--svx/source/inc/fmobj.hxx3
-rw-r--r--svx/source/inc/formdispatchinterceptor.hxx3
-rw-r--r--svx/source/sdr/properties/e3dcompoundproperties.cxx6
-rw-r--r--svx/source/sdr/properties/e3dsceneproperties.cxx6
-rw-r--r--svx/source/svdraw/svdoashp.cxx17
-rw-r--r--svx/source/svdraw/svdocapt.cxx17
-rw-r--r--svx/source/svdraw/svdograf.cxx11
-rw-r--r--svx/source/svdraw/svdopath.cxx6
-rw-r--r--svx/source/svdraw/svdorect.cxx10
-rw-r--r--svx/source/svdraw/svdouno.cxx10
-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
-rw-r--r--svx/source/tbxctrls/colrctrl.cxx6
-rw-r--r--svx/source/tbxctrls/itemwin.cxx6
-rw-r--r--svx/source/unodraw/unoshap2.cxx31
-rw-r--r--svx/source/unodraw/unoshap4.cxx5
-rw-r--r--svx/source/xoutdev/xattr.cxx13
-rw-r--r--svx/workben/pixelctl.cxx42
32 files changed, 0 insertions, 361 deletions
diff --git a/svx/inc/AccessibleTableShape.hxx b/svx/inc/AccessibleTableShape.hxx
index 5b4dec8b1ac7..2adcc0618332 100644
--- a/svx/inc/AccessibleTableShape.hxx
+++ b/svx/inc/AccessibleTableShape.hxx
@@ -64,13 +64,9 @@ public:
virtual void SAL_CALL acquire( ) throw () override;
virtual void SAL_CALL release( ) throw () override;
- // XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL getAccessibleContext( ) throw(css::uno::RuntimeException, std::exception) override;
-
// XAccessibleContext
virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw(css::uno::RuntimeException, std::exception) override;
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw(css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL getAccessibleRole() throw (css::uno::RuntimeException, std::exception) override;
// XAccessibleTable
diff --git a/svx/inc/sdr/properties/e3dcompoundproperties.hxx b/svx/inc/sdr/properties/e3dcompoundproperties.hxx
index b5d6bd67d2ec..271bbc4a0a3e 100644
--- a/svx/inc/sdr/properties/e3dcompoundproperties.hxx
+++ b/svx/inc/sdr/properties/e3dcompoundproperties.hxx
@@ -47,9 +47,6 @@ namespace sdr
// Clone() operator, normally just calls the local copy constructor
virtual BaseProperties& Clone(SdrObject& rObj) const override;
- // get itemset
- virtual const SfxItemSet& GetObjectItemSet() const override;
-
// Get merged ItemSet. Normally, this maps directly to GetObjectItemSet(), but may
// be overridden e.g for group objects to return a merged ItemSet of the object.
// When using this method the returned ItemSet may contain items in the state
diff --git a/svx/inc/sdr/properties/e3dsceneproperties.hxx b/svx/inc/sdr/properties/e3dsceneproperties.hxx
index 54f4981d8de1..3705fd684258 100644
--- a/svx/inc/sdr/properties/e3dsceneproperties.hxx
+++ b/svx/inc/sdr/properties/e3dsceneproperties.hxx
@@ -46,9 +46,6 @@ namespace sdr
// Clone() operator, normally just calls the local copy constructor
virtual BaseProperties& Clone(SdrObject& rObj) const override;
- // get itemset
- virtual const SfxItemSet& GetObjectItemSet() const override;
-
// get merged ItemSet. Normally, this maps directly to GetObjectItemSet(), but may
// be overridden e.g for group objects to return a merged ItemSet of the object.
// When using this method the returned ItemSet may contain items in the state
diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx
index 2f68661a3af3..b6bb5debd0eb 100644
--- a/svx/source/accessibility/AccessibleControlShape.cxx
+++ b/svx/source/accessibility/AccessibleControlShape.cxx
@@ -278,11 +278,6 @@ void AccessibleControlShape::Init()
}
}
-Reference< XAccessibleContext > SAL_CALL AccessibleControlShape::getAccessibleContext() throw (RuntimeException, std::exception)
-{
- return AccessibleShape::getAccessibleContext ();
-}
-
void SAL_CALL AccessibleControlShape::grabFocus() throw (RuntimeException, std::exception)
{
if ( !m_xUnoControl.is() || !isAliveMode( m_xUnoControl ) )
diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx
index adecbebdee6a..fb09fe6d8cf4 100644
--- a/svx/source/dialog/imapdlg.cxx
+++ b/svx/source/dialog/imapdlg.cxx
@@ -336,11 +336,6 @@ void SvxIMapDlg::UpdateLink( const Graphic& rGraphic, const ImageMap* pImageMap,
}
-void SvxIMapDlg::KeyInput( const KeyEvent& rKEvt )
-{
- SfxModelessDialog::KeyInput( rKEvt );
-}
-
// Click-handler for ToolBox
IMPL_LINK( SvxIMapDlg, TbxClickHdl, ToolBox*, pTbx, void )
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index f9a9a40f74b3..e8c744fc0acb 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -399,11 +399,6 @@ void SvxRubyDialog::Activate()
}
}
-void SvxRubyDialog::Deactivate()
-{
- SfxModelessDialog::Deactivate();
-}
-
void SvxRubyDialog::SetRubyText(sal_Int32 nPos, Edit& rLeft, Edit& rRight)
{
OUString sLeft, sRight;
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 6834a812332a..fdab1a3b2a1a 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -2034,11 +2034,6 @@ DbGridControl_Base::RowStatus DbGridControl::GetRowStatus(long nRow) const
return DbGridControl_Base::CLEAN;
}
-void DbGridControl::PaintStatusCell(OutputDevice& rDev, const Rectangle& rRect) const
-{
- DbGridControl_Base::PaintStatusCell(rDev, rRect);
-}
-
void DbGridControl::PaintCell(OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnId) const
{
if (!IsValid(m_xPaintRow))
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index 077a88f0ef39..3ce5917d35e5 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -2179,12 +2179,6 @@ namespace svxform
}
- void DataNavigator::GetFocus()
- {
- SfxDockingWindow::GetFocus();
- }
-
-
Size DataNavigator::CalcDockingSize( SfxChildAlignment eAlign )
{
if ( ( eAlign == SfxChildAlignment::TOP ) || ( eAlign == SfxChildAlignment::BOTTOM ) )
diff --git a/svx/source/form/fmdmod.cxx b/svx/source/form/fmdmod.cxx
index 3b980e493c45..0578d9f9dc41 100644
--- a/svx/source/form/fmdmod.cxx
+++ b/svx/source/form/fmdmod.cxx
@@ -47,19 +47,6 @@ using namespace ::svxform;
}
-// Encapsulation violation: We *know* that
-// SvxUnoDrawMSFactory::createInstanceWithArguments() always throws.
-
-SAL_WNOUNREACHABLE_CODE_PUSH
-
-::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SvxFmMSFactory::createInstanceWithArguments(const OUString& ServiceSpecifier, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception )
-{
- return SvxUnoDrawMSFactory::createInstanceWithArguments(ServiceSpecifier, Arguments );
-}
-
-SAL_WNOUNREACHABLE_CODE_POP
-
-
::com::sun::star::uno::Sequence< OUString > SAL_CALL SvxFmMSFactory::getAvailableServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
static const OUStringLiteral aSvxComponentServiceNameList[] =
diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx
index ea4e300ef4f8..3f851c874bce 100644
--- a/svx/source/form/fmobj.cxx
+++ b/svx/source/form/fmobj.cxx
@@ -686,18 +686,4 @@ void FmFormObj::BrkCreate( SdrDragStat& rStat )
}
-// #i70852# override Layer interface to force to FormControl layer
-
-SdrLayerID FmFormObj::GetLayer() const
-{
- // #i72535#
- // i70852 was too radical, in SW obects (and thus, FormControls, too)
- // get moved to invisible layers to hide them (e.g. in hidden sections).
- // This means that form controls ARE allowed to be on other layers than
- // the form control layer ATM and that being member of form control layer
- // is no criteria to find all FormControls of a document.
- // To fix, use parent functionality
- return SdrUnoObj::GetLayer();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index bbf494b2f47b..7622eb6f9c57 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -363,11 +363,6 @@ void FmFormView::HideSdrPage()
}
-SdrModel* FmFormView::GetMarkedObjModel() const
-{
- return E3dView::GetMarkedObjModel();
-}
-
void FmFormView::ActivateControls(SdrPageView* pPageView)
{
if (!pPageView)
diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx
index e0d65a2ef168..dd027cc21ab7 100644
--- a/svx/source/inc/datanavi.hxx
+++ b/svx/source/inc/datanavi.hxx
@@ -379,7 +379,6 @@ namespace svxform
protected:
virtual void Resize() override;
- virtual void GetFocus() override;
virtual Size CalcDockingSize( SfxChildAlignment ) override;
virtual SfxChildAlignment CheckAlignment( SfxChildAlignment, SfxChildAlignment ) override;
diff --git a/svx/source/inc/fmobj.hxx b/svx/source/inc/fmobj.hxx
index 1a2465457548..cb0455d5e120 100644
--- a/svx/source/inc/fmobj.hxx
+++ b/svx/source/inc/fmobj.hxx
@@ -99,9 +99,6 @@ protected:
SAL_DLLPRIVATE virtual bool EndCreate( SdrDragStat& rStat, SdrCreateCmd eCmd ) override;
SAL_DLLPRIVATE virtual void BrkCreate( SdrDragStat& rStat ) override;
- // #i70852# override Layer interface to force to FormControl layer
- SAL_DLLPRIVATE virtual SdrLayerID GetLayer() const override;
-
private:
/** isolates the control model from its form component hierarchy, i.e. removes it from
its parent.
diff --git a/svx/source/inc/formdispatchinterceptor.hxx b/svx/source/inc/formdispatchinterceptor.hxx
index 2b26923ef3b1..73ad565dc550 100644
--- a/svx/source/inc/formdispatchinterceptor.hxx
+++ b/svx/source/inc/formdispatchinterceptor.hxx
@@ -79,9 +79,6 @@ namespace svxform
DispatchInterceptor* _pMaster
);
- // UNO
- DECLARE_UNO3_DEFAULTS(DispatchInterceptionMultiplexer, DispatchInterceptionMultiplexer_BASE)
-
// css::frame::XDispatchProvider
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch( const css::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags ) throw(css::uno::RuntimeException, std::exception) override;
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& aDescripts ) throw(css::uno::RuntimeException, std::exception) override;
diff --git a/svx/source/sdr/properties/e3dcompoundproperties.cxx b/svx/source/sdr/properties/e3dcompoundproperties.cxx
index c454a6b9a2f5..5b24f56273ae 100644
--- a/svx/source/sdr/properties/e3dcompoundproperties.cxx
+++ b/svx/source/sdr/properties/e3dcompoundproperties.cxx
@@ -46,12 +46,6 @@ namespace sdr
return *(new E3dCompoundProperties(*this, rObj));
}
- const SfxItemSet& E3dCompoundProperties::GetObjectItemSet() const
- {
- //DBG_ASSERT(sal_False, "E3dCompoundProperties::GetObjectItemSet() maybe the wrong call (!)");
- return E3dProperties::GetObjectItemSet();
- }
-
const SfxItemSet& E3dCompoundProperties::GetMergedItemSet() const
{
// include Items of scene this object belongs to
diff --git a/svx/source/sdr/properties/e3dsceneproperties.cxx b/svx/source/sdr/properties/e3dsceneproperties.cxx
index 8c402b3f598d..f7e459ac66ed 100644
--- a/svx/source/sdr/properties/e3dsceneproperties.cxx
+++ b/svx/source/sdr/properties/e3dsceneproperties.cxx
@@ -49,12 +49,6 @@ namespace sdr
return *(new E3dSceneProperties(*this, rObj));
}
- const SfxItemSet& E3dSceneProperties::GetObjectItemSet() const
- {
- //DBG_ASSERT(sal_False, "E3dSceneProperties::GetObjectItemSet() maybe the wrong call (!)");
- return E3dProperties::GetObjectItemSet();
- }
-
const SfxItemSet& E3dSceneProperties::GetMergedItemSet() const
{
// prepare ItemSet
diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx
index 52545fbcd768..20744f2bfa2b 100644
--- a/svx/source/svdraw/svdoashp.cxx
+++ b/svx/source/svdraw/svdoashp.cxx
@@ -1409,19 +1409,6 @@ sal_uInt16 SdrObjCustomShape::GetObjIdentifier() const
}
-const Rectangle& SdrObjCustomShape::GetSnapRect() const
-{
- return SdrTextObj::GetSnapRect();
-}
-const Rectangle& SdrObjCustomShape::GetCurrentBoundRect() const
-{
- return SdrTextObj::GetCurrentBoundRect();
-}
-const Rectangle& SdrObjCustomShape::GetLogicRect() const
-{
- return SdrTextObj::GetLogicRect();
-}
-
// #115391# This implementation is based on the TextFrame size of the CustomShape and the
// state of the ResizeShapeToFitText flag to correctly set TextMinFrameWidth/Height
void SdrObjCustomShape::AdaptTextMinSize()
@@ -1546,10 +1533,6 @@ void SdrObjCustomShape::NbcMove( const Size& rSiz )
mpLastShadowGeometry->NbcMove( rSiz );
}
}
-void SdrObjCustomShape::Resize( const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bUnsetRelative )
-{
- SdrTextObj::Resize( rRef, xFact, yFact, bUnsetRelative );
-}
void SdrObjCustomShape::NbcResize( const Point& rRef, const Fraction& rxFact, const Fraction& ryFact )
{
diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx
index 15e3dfe649fd..d660e8751465 100644
--- a/svx/source/svdraw/svdocapt.cxx
+++ b/svx/source/svdraw/svdocapt.cxx
@@ -627,23 +627,6 @@ Point SdrCaptionObj::GetRelativePos() const
return aTailPoly.GetPoint(0)-aAnchor;
}
-void SdrCaptionObj::NbcSetAnchorPos(const Point& rPnt)
-{
- SdrRectObj::NbcSetAnchorPos(rPnt);
- // TODO: Implementation missing.
-}
-
-const Point& SdrCaptionObj::GetAnchorPos() const
-{
- // TODO: Implementation missing.
- return SdrRectObj::GetAnchorPos();
-}
-
-const Rectangle& SdrCaptionObj::GetSnapRect() const
-{
- return SdrRectObj::GetSnapRect();
-}
-
const Rectangle& SdrCaptionObj::GetLogicRect() const
{
return maRect;
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 766083354c77..6fdb0993e0f4 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -927,23 +927,12 @@ void SdrGrafObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fract
bMirrored = !bMirrored;
}
-void SdrGrafObj::NbcRotate(const Point& rRef, long nAngle, double sn, double cs)
-{
- SdrRectObj::NbcRotate(rRef,nAngle,sn,cs);
-}
-
void SdrGrafObj::NbcMirror(const Point& rRef1, const Point& rRef2)
{
SdrRectObj::NbcMirror(rRef1,rRef2);
bMirrored = !bMirrored;
}
-void SdrGrafObj::NbcShear(const Point& rRef, long nAngle, double tn, bool bVShear)
-{
- // #i118485# Call Shear now, old version redirected to rotate
- SdrRectObj::NbcShear(rRef, nAngle, tn, bVShear);
-}
-
SdrObjGeoData* SdrGrafObj::NewGeoData() const
{
return new SdrGrafObjGeoData;
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index f91413b00426..db5197fb8cc2 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -2822,12 +2822,6 @@ void SdrPathObj::ToggleClosed()
SendUserCall(SdrUserCallType::Resize, aBoundRect0);
}
-// for friend class SdrPolyEditView in some compilers:
-void SdrPathObj::SetRectsDirty(bool bNotMyself)
-{
- SdrTextObj::SetRectsDirty(bNotMyself);
-}
-
ImpPathForDragAndCreate& SdrPathObj::impGetDAC() const
{
if(!mpDAC)
diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx
index 526f68435ed7..a1fca2ab4f23 100644
--- a/svx/source/svdraw/svdorect.cxx
+++ b/svx/source/svdraw/svdorect.cxx
@@ -517,16 +517,6 @@ void SdrRectObj::NbcMirror(const Point& rRef1, const Point& rRef2)
SetXPolyDirty();
}
-bool SdrRectObj::DoMacro(const SdrObjMacroHitRec& rRec)
-{
- return SdrTextObj::DoMacro(rRec);
-}
-
-OUString SdrRectObj::GetMacroPopupComment(const SdrObjMacroHitRec& rRec) const
-{
- return SdrTextObj::GetMacroPopupComment(rRec);
-}
-
SdrGluePoint SdrRectObj::GetVertexGluePoint(sal_uInt16 nPosNum) const
{
sal_Int32 nWdt = ImpGetLineWdt(); // #i25616#
diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx
index 9ef7d6cfd1f3..a4a0ade0ab44 100644
--- a/svx/source/svdraw/svdouno.cxx
+++ b/svx/source/svdraw/svdouno.cxx
@@ -194,16 +194,6 @@ SdrUnoObj::~SdrUnoObj()
}
}
-void SdrUnoObj::SetModel(SdrModel* pNewModel)
-{
- SdrRectObj::SetModel(pNewModel);
-}
-
-void SdrUnoObj::SetPage(SdrPage* pNewPage)
-{
- SdrRectObj::SetPage(pNewPage);
-}
-
void SdrUnoObj::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const
{
rInfo.bRotateFreeAllowed = false;
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;
diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx
index 72b3ccbe0d57..acef7151f2ec 100644
--- a/svx/source/tbxctrls/colrctrl.cxx
+++ b/svx/source/tbxctrls/colrctrl.cxx
@@ -136,12 +136,6 @@ void SvxColorValueSet_docking::MouseButtonUp( const MouseEvent& rMEvt )
SetNoSelection();
}
-void SvxColorValueSet_docking::Command(const CommandEvent& rCEvt)
-{
- // Basisklasse
- SvxColorValueSet::Command(rCEvt);
-}
-
void SvxColorValueSet_docking::StartDrag( sal_Int8 , const Point& )
{
Application::PostUserEvent(LINK(this, SvxColorValueSet_docking, ExecDragHdl), nullptr, true);
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index 0aa0942a5bf1..fcf4af697ac6 100644
--- a/svx/source/tbxctrls/itemwin.cxx
+++ b/svx/source/tbxctrls/itemwin.cxx
@@ -517,12 +517,6 @@ bool SvxFillAttrBox::Notify( NotifyEvent& rNEvt )
}
-void SvxFillAttrBox::Select()
-{
- FillAttrLB::Select();
-}
-
-
void SvxFillAttrBox::ReleaseFocus_Impl()
{
if( SfxViewShell::Current() )
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index d83e6e9367de..e70f94b9e991 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -1601,12 +1601,6 @@ SvxCustomShape::~SvxCustomShape() throw()
}
-void SvxCustomShape::Create( SdrObject* pNewObj, SvxDrawPage* pNewPage )
-{
- SvxShapeText::Create( pNewObj, pNewPage );
-}
-
-
uno::Any SAL_CALL SvxCustomShape::queryInterface( const uno::Type & rType )
throw(uno::RuntimeException, std::exception)
{
@@ -1648,12 +1642,6 @@ uno::Sequence< sal_Int8 > SAL_CALL SvxCustomShape::getImplementationId()
// css::drawing::XShape
-OUString SAL_CALL SvxCustomShape::getShapeType()
- throw( uno::RuntimeException, std::exception )
-{
- return SvxShape::getShapeType();
-}
-
awt::Point SAL_CALL SvxCustomShape::getPosition() throw(uno::RuntimeException, std::exception)
{
::SolarMutexGuard aGuard;
@@ -1736,25 +1724,6 @@ awt::Point SAL_CALL SvxCustomShape::getPosition() throw(uno::RuntimeException, s
}
-void SAL_CALL SvxCustomShape::setPosition( const awt::Point& Position ) throw(uno::RuntimeException, std::exception)
-{
- SvxShapeText::setPosition(Position);
-}
-
-
-awt::Size SAL_CALL SvxCustomShape::getSize() throw(uno::RuntimeException, std::exception)
-{
- return SvxShapeText::getSize();
-}
-
-
-void SAL_CALL SvxCustomShape::setSize( const awt::Size& rSize )
- throw(beans::PropertyVetoException, uno::RuntimeException, std::exception)
-{
- SvxShapeText::setSize( rSize );
-}
-
-
void SAL_CALL SvxCustomShape::setPropertyValue( const OUString& aPropertyName, const uno::Any& aValue )
throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, std::exception)
{
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index 4b0232d6074b..7a3ec38c8ca0 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -79,11 +79,6 @@ SvxOle2Shape::~SvxOle2Shape() throw()
{
}
-css::uno::Any SAL_CALL SvxOle2Shape::queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception)
-{
- return SvxShapeText::queryAggregation( rType );
-}
-
//XPropertySet
bool SvxOle2Shape::setPropertyValueImpl( const OUString& rName, const SfxItemPropertySimpleEntry* pProperty, const css::uno::Any& rValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 1a5e82549ad0..d378a28038c5 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -3514,13 +3514,6 @@ SfxPoolItem* XLineAttrSetItem::Create( SvStream& rStream, sal_uInt16 /*nVersion*
return new XLineAttrSetItem( pSet2 );
}
-/// save a set item in a stream
-SvStream& XLineAttrSetItem::Store( SvStream& rStream, sal_uInt16 nItemVersion ) const
-{
- return SfxSetItem::Store( rStream, nItemVersion );
-}
-
-
/// fill attribute set item
XFillAttrSetItem::XFillAttrSetItem( SfxItemSet* pItemSet ) :
SfxSetItem( XATTRSET_FILL, pItemSet)
@@ -3558,10 +3551,4 @@ SfxPoolItem* XFillAttrSetItem::Create( SvStream& rStream, sal_uInt16 /*nVersion*
return new XFillAttrSetItem( pSet2 );
}
-/// save a set item in a stream
-SvStream& XFillAttrSetItem::Store( SvStream& rStream, sal_uInt16 nItemVersion ) const
-{
- return SfxSetItem::Store( rStream, nItemVersion );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/workben/pixelctl.cxx b/svx/workben/pixelctl.cxx
index 9d2cb05809a0..1a751bec30e1 100644
--- a/svx/workben/pixelctl.cxx
+++ b/svx/workben/pixelctl.cxx
@@ -88,13 +88,6 @@ public:
disposeOnce();
}
virtual void dispose() override;
- void MouseMove( const MouseEvent& rMEvt ) override;
- void MouseButtonDown( const MouseEvent& rMEvt ) override;
- void MouseButtonUp( const MouseEvent& rMEvt ) override;
- void KeyInput( const KeyEvent& rKEvt ) override;
- void KeyUp( const KeyEvent& rKEvt ) override;
- void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override;
- void Resize() override;
bool Close() override;
};
@@ -130,39 +123,4 @@ bool MyWin::Close()
return bRet;
}
-void MyWin::MouseMove( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseMove( rMEvt );
-}
-
-void MyWin::MouseButtonDown( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseButtonDown( rMEvt );
-}
-
-void MyWin::MouseButtonUp( const MouseEvent& rMEvt )
-{
- WorkWindow::MouseButtonUp( rMEvt );
-}
-
-void MyWin::KeyInput( const KeyEvent& rKEvt )
-{
- WorkWindow::KeyInput( rKEvt );
-}
-
-void MyWin::KeyUp( const KeyEvent& rKEvt )
-{
- WorkWindow::KeyUp( rKEvt );
-}
-
-void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
-{
- WorkWindow::Paint(rRenderContext, rRect);
-}
-
-void MyWin::Resize()
-{
- WorkWindow::Resize();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */