diff options
Diffstat (limited to 'svx/source/svdraw')
53 files changed, 0 insertions, 366 deletions
diff --git a/svx/source/svdraw/gradtrns.cxx b/svx/source/svdraw/gradtrns.cxx index ac9804db37ef..e9cbb38a1c0c 100644 --- a/svx/source/svdraw/gradtrns.cxx +++ b/svx/source/svdraw/gradtrns.cxx @@ -179,7 +179,6 @@ void GradTransformer::GradToVec(GradTransGradient& rG, GradTransVector& rV, cons } - void GradTransformer::VecToGrad(GradTransVector& rV, GradTransGradient& rG, GradTransGradient& rGOld, const SdrObject* pObj, bool bMoveSingle, bool bMoveFirst) { diff --git a/svx/source/svdraw/sdrhittesthelper.cxx b/svx/source/svdraw/sdrhittesthelper.cxx index 4ea659954b60..8d2ef4f3e5dd 100644 --- a/svx/source/svdraw/sdrhittesthelper.cxx +++ b/svx/source/svdraw/sdrhittesthelper.cxx @@ -90,7 +90,6 @@ SdrObject* SdrObjectPrimitiveHit( } - SdrObject* SdrObjListPrimitiveHit( const SdrObjList& rList, const Point& rPnt, @@ -114,7 +113,6 @@ SdrObject* SdrObjListPrimitiveHit( } - bool ViewObjectContactPrimitiveHit( const SdrObject& rObject, const sdr::contact::ViewObjectContact& rVOC, diff --git a/svx/source/svdraw/sdrpagewindow.cxx b/svx/source/svdraw/sdrpagewindow.cxx index 9b8f4aa3790d..642c86769d12 100644 --- a/svx/source/svdraw/sdrpagewindow.cxx +++ b/svx/source/svdraw/sdrpagewindow.cxx @@ -38,7 +38,6 @@ #include <basegfx/matrix/b2dhommatrix.hxx> - using namespace ::com::sun::star; struct SdrPageWindow::Impl @@ -303,7 +302,6 @@ namespace #endif // CLIPPER_TEST - void SdrPageWindow::RedrawAll( sdr::contact::ViewObjectContactRedirector* pRedirector ) { // set Redirector diff --git a/svx/source/svdraw/sdrpaintwindow.cxx b/svx/source/svdraw/sdrpaintwindow.cxx index c35207e1049d..c18bfa5f3a46 100644 --- a/svx/source/svdraw/sdrpaintwindow.cxx +++ b/svx/source/svdraw/sdrpaintwindow.cxx @@ -186,7 +186,6 @@ void SdrPreRenderDevice::OutputPreRenderDevice(const vcl::Region& rExpandedRegio } - void SdrPaintWindow::impCreateOverlayManager() { // not yet one created? diff --git a/svx/source/svdraw/sdrundomanager.cxx b/svx/source/svdraw/sdrundomanager.cxx index 374cb8f05f7c..4d020c8f0779 100644 --- a/svx/source/svdraw/sdrundomanager.cxx +++ b/svx/source/svdraw/sdrundomanager.cxx @@ -20,7 +20,6 @@ #include <svx/sdrundomanager.hxx> - SdrUndoManager::SdrUndoManager(sal_uInt16 nMaxUndoActionCount) : EditUndoManager(nMaxUndoActionCount) , maEndTextEditHdl() diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx index 5f0978d4d136..252e0810e135 100644 --- a/svx/source/svdraw/svdattr.cxx +++ b/svx/source/svdraw/svdattr.cxx @@ -625,7 +625,6 @@ void SdrItemPool::TakeItemName(sal_uInt16 nWhich, OUString& rItemName) // FractionItem - SdrFractionItem::SdrFractionItem(sal_uInt16 nId, SvStream& rIn): SfxPoolItem(nId) { @@ -695,7 +694,6 @@ SfxPoolItem* SdrFractionItem::Clone(SfxItemPool * /*pPool*/) const // ScaleItem - bool SdrScaleItem::GetPresentation( SfxItemPresentation ePresentation, SfxMapUnit /*eCoreMetric*/, SfxMapUnit /*ePresentationMetric*/, OUString &rText, const IntlWrapper *) const @@ -736,7 +734,6 @@ SfxPoolItem* SdrScaleItem::Clone(SfxItemPool * /*pPool*/) const // OnOffItem - SfxPoolItem* SdrOnOffItem::Clone(SfxItemPool* /*pPool*/) const { return new SdrOnOffItem(Which(),GetValue()); @@ -802,7 +799,6 @@ bool SdrYesNoItem::GetPresentation(SfxItemPresentation ePres, // class SdrPercentItem - SfxPoolItem* SdrPercentItem::Clone(SfxItemPool* /*pPool*/) const { return new SdrPercentItem(Which(),GetValue()); @@ -835,7 +831,6 @@ bool SdrPercentItem::GetPresentation( // class SdrAngleItem - SfxPoolItem* SdrAngleItem::Clone(SfxItemPool* /*pPool*/) const { return new SdrAngleItem(Which(),GetValue()); @@ -923,7 +918,6 @@ bool SdrAngleItem::GetPresentation( // class SdrMetricItem - SfxPoolItem* SdrMetricItem::Clone(SfxItemPool* /*pPool*/) const { return new SdrMetricItem(Which(),GetValue()); @@ -973,7 +967,6 @@ bool SdrMetricItem::GetPresentation(SfxItemPresentation ePres, // items of the legend object - SfxPoolItem* SdrCaptionTypeItem::Clone(SfxItemPool* /*pPool*/) const { return new SdrCaptionTypeItem(*this); } SfxPoolItem* SdrCaptionTypeItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const { return new SdrCaptionTypeItem(rIn); } @@ -1972,7 +1965,6 @@ bool SdrCircKindItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/) // class SdrSignedPercentItem - SfxPoolItem* SdrSignedPercentItem::Clone(SfxItemPool* /*pPool*/) const { return new SdrSignedPercentItem( Which(), GetValue() ); diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx index 89f7c3fb3772..8866bd4cf193 100644 --- a/svx/source/svdraw/svdcrtv.cxx +++ b/svx/source/svdraw/svdcrtv.cxx @@ -118,7 +118,6 @@ ImplConnectMarkerOverlay::~ImplConnectMarkerOverlay() } - class ImpSdrCreateViewExtraData { // The OverlayObjects for XOR replacement @@ -179,11 +178,9 @@ void ImpSdrCreateViewExtraData::HideOverlay() } - // CreateView - void SdrCreateView::ImpClearConnectMarker() { if(mpCoMaOverlay) @@ -875,7 +872,6 @@ void SdrCreateView::HideCreateObj() } - bool SdrCreateView::GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr) const { if(pAktCreate) diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx index 9d70c20a48b8..4ef94671eec7 100644 --- a/svx/source/svdraw/svddrgmt.cxx +++ b/svx/source/svdraw/svddrgmt.cxx @@ -74,7 +74,6 @@ #include <vector> - SdrDragEntry::SdrDragEntry() : mbAddToTransparent(false) { @@ -85,7 +84,6 @@ SdrDragEntry::~SdrDragEntry() } - SdrDragEntryPolyPolygon::SdrDragEntryPolyPolygon(const basegfx::B2DPolyPolygon& rOriginalPolyPolygon) : SdrDragEntry(), maOriginalPolyPolygon(rOriginalPolyPolygon) @@ -138,7 +136,6 @@ drawinglayer::primitive2d::Primitive2DSequence SdrDragEntryPolyPolygon::createPr } - SdrDragEntrySdrObject::SdrDragEntrySdrObject(const SdrObject& rOriginal, sdr::contact::ObjectContact& rObjectContact, bool bModify) : SdrDragEntry(), maOriginal(rOriginal), @@ -205,7 +202,6 @@ drawinglayer::primitive2d::Primitive2DSequence SdrDragEntrySdrObject::createPrim } - SdrDragEntryPrimitive2DSequence::SdrDragEntryPrimitive2DSequence( const drawinglayer::primitive2d::Primitive2DSequence& rSequence, bool bAddToTransparent) @@ -231,7 +227,6 @@ drawinglayer::primitive2d::Primitive2DSequence SdrDragEntryPrimitive2DSequence:: } - SdrDragEntryPointGlueDrag::SdrDragEntryPointGlueDrag(const std::vector< basegfx::B2DPoint >& rPositions, bool bIsPointDrag) : maPositions(rPositions), mbIsPointDrag(bIsPointDrag) @@ -301,8 +296,6 @@ drawinglayer::primitive2d::Primitive2DSequence SdrDragEntryPointGlueDrag::create } - - void SdrDragMethod::resetSdrDragEntries() { // clear entries; creation is on demand @@ -963,8 +956,6 @@ drawinglayer::primitive2d::Primitive2DSequence SdrDragMethod::AddConnectorOverla } - - SdrDragMovHdl::SdrDragMovHdl(SdrDragView& rNewView) : SdrDragMethod(rNewView) { @@ -1178,8 +1169,6 @@ Pointer SdrDragMovHdl::GetSdrDragPointer() const } - - SdrDragObjOwn::SdrDragObjOwn(SdrDragView& rNewView) : SdrDragMethod(rNewView), mpClone(nullptr) @@ -1490,8 +1479,6 @@ Pointer SdrDragObjOwn::GetSdrDragPointer() const } - - void SdrDragMove::createSdrDragEntryForSdrObject(const SdrObject& rOriginal, sdr::contact::ObjectContact& rObjectContact, bool /*bModify*/) { // for SdrDragMove, use current Primitive2DSequence of SdrObject visualization @@ -1768,8 +1755,6 @@ Pointer SdrDragMove::GetSdrDragPointer() const } - - SdrDragResize::SdrDragResize(SdrDragView& rNewView) : SdrDragMethod(rNewView), aXFact(1,1), @@ -2104,8 +2089,6 @@ Pointer SdrDragResize::GetSdrDragPointer() const } - - void SdrDragRotate::applyCurrentTransformationToSdrObject(SdrObject& rTarget) { rTarget.Rotate(DragStat().GetRef1(), nAngle, sin(nAngle*nPi180), cos(nAngle*nPi180)); @@ -2240,8 +2223,6 @@ Pointer SdrDragRotate::GetSdrDragPointer() const } - - SdrDragShear::SdrDragShear(SdrDragView& rNewView, bool bSlant1) : SdrDragMethod(rNewView), aFact(1,1), @@ -2521,8 +2502,6 @@ Pointer SdrDragShear::GetSdrDragPointer() const } - - void SdrDragMirror::applyCurrentTransformationToSdrObject(SdrObject& rTarget) { if(bMirrored) @@ -2651,8 +2630,6 @@ Pointer SdrDragMirror::GetSdrDragPointer() const } - - SdrDragGradient::SdrDragGradient(SdrDragView& rNewView, bool bGrad) : SdrDragMethod(rNewView), pIAOHandle(nullptr), @@ -2811,8 +2788,6 @@ Pointer SdrDragGradient::GetSdrDragPointer() const } - - SdrDragCrook::SdrDragCrook(SdrDragView& rNewView) : SdrDragMethod(rNewView), aFact(1,1), @@ -3447,8 +3422,6 @@ Pointer SdrDragCrook::GetSdrDragPointer() const } - - SdrDragDistort::SdrDragDistort(SdrDragView& rNewView) : SdrDragMethod(rNewView), nPolyPt(0), @@ -3600,8 +3573,6 @@ void SdrDragDistort::applyCurrentTransformationToPolyPolygon(basegfx::B2DPolyPol } - - SdrDragCrop::SdrDragCrop(SdrDragView& rNewView) : SdrDragObjOwn(rNewView) { diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx index 88dc38a92243..acc28ac97c0c 100644 --- a/svx/source/svdraw/svddrgv.cxx +++ b/svx/source/svdraw/svddrgv.cxx @@ -44,11 +44,9 @@ using namespace sdr; - // DragView - void SdrDragView::ImpClearVars() { mbFramDrag=false; @@ -200,7 +198,6 @@ bool SdrDragView::TakeDragObjAnchorPos(Point& rPos, bool bTR ) const } - bool SdrDragView::TakeDragLimit(SdrDragMode /*eMode*/, Rectangle& /*rRect*/) const { return false; @@ -831,7 +828,6 @@ void SdrDragView::HideDragObj() } - void SdrDragView::SetNoDragXorPolys(bool bOn) { if (IsNoDragXorPolys()!=bOn) diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx index c2d705c17ff0..b974e89cbaa1 100644 --- a/svx/source/svdraw/svdedtv.cxx +++ b/svx/source/svdraw/svdedtv.cxx @@ -283,7 +283,6 @@ void SdrEditView::DeleteLayer(const OUString& rName) } - void SdrEditView::EndUndo() { // #i13033# @@ -661,7 +660,6 @@ void SdrEditView::CheckPossibilities() } - void SdrEditView::ForceMarkedObjToAnotherPage() { bool bFlg=false; @@ -959,7 +957,6 @@ void SdrEditView::CopyMarkedObj() } - bool SdrEditView::InsertObjectAtView(SdrObject* pObj, SdrPageView& rPV, SdrInsertFlags nOptions) { if (nOptions & SdrInsertFlags::SETDEFLAYER) { @@ -1034,7 +1031,6 @@ void SdrEditView::ReplaceObjectAtView(SdrObject* pOldObj, SdrPageView& rPV, SdrO } - bool SdrEditView::IsUndoEnabled() const { return mpModel->IsUndoEnabled(); diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index 961e084b125d..20fa36595097 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -63,11 +63,9 @@ #include <svx/xlnwtit.hxx> - // EditView - void SdrEditView::SetMarkedObjRect(const Rectangle& rRect, bool bCopy) { DBG_ASSERT(!rRect.IsEmpty(),"SetMarkedObjRect() with an empty Rect does not make sense."); @@ -704,7 +702,6 @@ void SdrEditView::DistortMarkedObj(const Rectangle& rRef, const XPolygon& rDisto } - void SdrEditView::SetNotPersistAttrToMarked(const SfxItemSet& rAttr, bool /*bReplaceAll*/) { // bReplaceAll has no effect here @@ -1239,7 +1236,6 @@ void SdrEditView::SetStyleSheetToMarked(SfxStyleSheet* pStyleSheet, bool bDontRe } - bool SdrEditView::GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr) const { if(GetMarkedObjectCount()) @@ -1283,7 +1279,6 @@ bool SdrEditView::SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHard } - SfxItemSet SdrEditView::GetGeoAttrFromMarked() const { SfxItemSet aRetSet(mpModel->GetItemPool(), // SID_ATTR_TRANSFORM_... from s:svxids.hrc @@ -1748,7 +1743,6 @@ void SdrEditView::SetGeoAttrToMarked(const SfxItemSet& rAttr) } - bool SdrEditView::IsAlignPossible() const { // at least two selected objects, at least one of them movable ForcePossibilities(); diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 3bbccf99ce58..1685cf88d557 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -103,7 +103,6 @@ SdrObjEditView::~SdrObjEditView() } - bool SdrObjEditView::IsAction() const { return IsMacroObj() || SdrGlueEditView::IsAction(); @@ -1185,7 +1184,6 @@ SdrPageView* SdrObjEditView::GetTextEditPageView() const } - OutlinerView* SdrObjEditView::ImpFindOutlinerView(vcl::Window* pWin) const { if (pWin==nullptr) return nullptr; @@ -1484,7 +1482,6 @@ bool SdrObjEditView::Command(const CommandEvent& rCEvt, vcl::Window* pWin) } - bool SdrObjEditView::ImpIsTextEditAllSelected() const { bool bRet=false; @@ -1793,7 +1790,6 @@ bool SdrObjEditView::SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveH } - void SdrObjEditView::AddWindowToPaintView(OutputDevice* pNewWin, vcl::Window *pWindow) { SdrGlueEditView::AddWindowToPaintView(pNewWin, pWindow); diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx index 1912588117ba..25b8809a6906 100644 --- a/svx/source/svdraw/svdetc.cxx +++ b/svx/source/svdraw/svdetc.cxx @@ -255,7 +255,6 @@ IMPL_LINK_NOARG_TYPED(OLEObjCache, UnloadCheckHdl, Timer*, void) } - void SdrLinkList::Clear() { aList.clear(); @@ -298,7 +297,6 @@ void SdrLinkList::RemoveLink(const Link<SdrObjFactory*,void>& rLink) } - bool GetDraftFillColor(const SfxItemSet& rSet, Color& rCol) { drawing::FillStyle eFill=static_cast<const XFillStyleItem&>(rSet.Get(XATTR_FILLSTYLE)).GetValue(); @@ -550,7 +548,6 @@ sal_uInt16* RemoveWhichRange(const sal_uInt16* pOldWhichTable, sal_uInt16 nRange } - SvdProgressInfo::SvdProgressInfo( const Link<void*,bool>&_rLink ) { maLink = _rLink; diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx index 04d97c7c59a5..ce8e2d44a0a8 100644 --- a/svx/source/svdraw/svdfmtf.cxx +++ b/svx/source/svdraw/svdfmtf.cxx @@ -1115,7 +1115,6 @@ void ImpSdrGDIMetaFileImport::DoAction(MetaBmpExScaleAction& rAct) } - void ImpSdrGDIMetaFileImport::DoAction( MetaHatchAction& rAct ) { // #i73407# reformulation to use new B2DPolygon classes @@ -1166,7 +1165,6 @@ void ImpSdrGDIMetaFileImport::DoAction( MetaHatchAction& rAct ) } - void ImpSdrGDIMetaFileImport::DoAction(MetaLineColorAction& rAct) { rAct.Execute(mpVD); @@ -1201,7 +1199,6 @@ void ImpSdrGDIMetaFileImport::MapScaling() } - void ImpSdrGDIMetaFileImport::DoAction( MetaCommentAction& rAct, GDIMetaFile& rMtf, sal_uLong& a) // GDIMetaFile* pMtf ) { bool aSkipComment = false; diff --git a/svx/source/svdraw/svdglev.cxx b/svx/source/svdraw/svdglev.cxx index 3b603b332ce3..12d74a1e7667 100644 --- a/svx/source/svdraw/svdglev.cxx +++ b/svx/source/svdraw/svdglev.cxx @@ -30,7 +30,6 @@ #include <svx/svdobj.hxx> - SdrGlueEditView::SdrGlueEditView(SdrModel* pModel1, OutputDevice* pOut): SdrPolyEditView(pModel1,pOut) { @@ -41,7 +40,6 @@ SdrGlueEditView::~SdrGlueEditView() } - void SdrGlueEditView::ImpDoMarkedGluePoints(PGlueDoFunc pDoFunc, bool bConst, const void* p1, const void* p2, const void* p3, const void* p4, const void* p5) { const size_t nMarkCount=GetMarkedObjectCount(); @@ -85,7 +83,6 @@ void SdrGlueEditView::ImpDoMarkedGluePoints(PGlueDoFunc pDoFunc, bool bConst, co } - static void ImpGetEscDir(SdrGluePoint& rGP, const SdrObject* /*pObj*/, const void* pbFirst, const void* pnThisEsc, const void* pnRet, const void*, const void*) { sal_uInt16& nRet=*const_cast<sal_uInt16 *>(static_cast<sal_uInt16 const *>(pnRet)); @@ -129,7 +126,6 @@ void SdrGlueEditView::SetMarkedGluePointsEscDir(SdrEscapeDirection nThisEsc, boo } - static void ImpGetPercent(SdrGluePoint& rGP, const SdrObject* /*pObj*/, const void* pbFirst, const void* pnRet, const void*, const void*, const void*) { sal_uInt16& nRet=*const_cast<sal_uInt16 *>(static_cast<sal_uInt16 const *>(pnRet)); @@ -166,7 +162,6 @@ void SdrGlueEditView::SetMarkedGluePointsPercent(bool bOn) } - static void ImpGetAlign(SdrGluePoint& rGP, const SdrObject* /*pObj*/, const void* pbFirst, const void* pbDontCare, const void* pbVert, const void* pnRet, const void*) { SdrAlign& nRet=*const_cast<SdrAlign *>(static_cast<SdrAlign const *>(pnRet)); @@ -266,7 +261,6 @@ void SdrGlueEditView::DeleteMarkedGluePoints() } - void SdrGlueEditView::ImpCopyMarkedGluePoints() { const bool bUndo = IsUndoEnabled(); @@ -316,7 +310,6 @@ void SdrGlueEditView::ImpCopyMarkedGluePoints() } - void SdrGlueEditView::ImpTransformMarkedGluePoints(PGlueTrFunc pTrFunc, const void* p1, const void* p2, const void* p3, const void* p4, const void* p5) { const size_t nMarkCount=GetMarkedObjectCount(); @@ -352,7 +345,6 @@ void SdrGlueEditView::ImpTransformMarkedGluePoints(PGlueTrFunc pTrFunc, const vo } - static void ImpMove(Point& rPt, const void* p1, const void* /*p2*/, const void* /*p3*/, const void* /*p4*/, const void* /*p5*/) { rPt.X()+=static_cast<const Size*>(p1)->Width(); @@ -372,7 +364,6 @@ void SdrGlueEditView::MoveMarkedGluePoints(const Size& rSiz, bool bCopy) } - static void ImpResize(Point& rPt, const void* p1, const void* p2, const void* p3, const void* /*p4*/, const void* /*p5*/) { ResizePoint(rPt,*static_cast<const Point*>(p1),*static_cast<const Fraction*>(p2),*static_cast<const Fraction*>(p3)); @@ -391,7 +382,6 @@ void SdrGlueEditView::ResizeMarkedGluePoints(const Point& rRef, const Fraction& } - static void ImpRotate(Point& rPt, const void* p1, const void* /*p2*/, const void* p3, const void* p4, const void* /*p5*/) { RotatePoint(rPt,*static_cast<const Point*>(p1),*static_cast<const double*>(p3),*static_cast<const double*>(p4)); diff --git a/svx/source/svdraw/svdglue.cxx b/svx/source/svdraw/svdglue.cxx index 4ec986e7f336..946b26dd7966 100644 --- a/svx/source/svdraw/svdglue.cxx +++ b/svx/source/svdraw/svdglue.cxx @@ -276,7 +276,6 @@ bool SdrGluePoint::IsHit(const Point& rPnt, const OutputDevice& rOut, const SdrO } - void SdrGluePointList::Clear() { sal_uInt16 nCount=GetCount(); diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index af2be461da15..1bd09a3d3f5f 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -268,7 +268,6 @@ const BitmapEx& SdrHdlBitmapSet::GetBitmapEx(BitmapMarkerKind eKindOfMarker, sal } - SdrHdl::SdrHdl(): pObj(nullptr), pPV(nullptr), @@ -1308,7 +1307,6 @@ void SdrHdlGradient::FromIAOToItem(SdrObject* _pObj, bool bSetItemOnObject, bool } - SdrHdlLine::~SdrHdlLine() {} void SdrHdlLine::CreateB2dIAObject() @@ -1364,7 +1362,6 @@ Pointer SdrHdlLine::GetPointer() const } - SdrHdlBezWgt::~SdrHdlBezWgt() {} void SdrHdlBezWgt::CreateB2dIAObject() @@ -1421,7 +1418,6 @@ void SdrHdlBezWgt::CreateB2dIAObject() } - E3dVolumeMarker::E3dVolumeMarker(const basegfx::B2DPolyPolygon& rWireframePoly) { aWireframePoly = rWireframePoly; @@ -1467,7 +1463,6 @@ void E3dVolumeMarker::CreateB2dIAObject() } - ImpEdgeHdl::~ImpEdgeHdl() { } @@ -1592,7 +1587,6 @@ bool ImpEdgeHdl::IsHorzDrag() const } - ImpMeasureHdl::~ImpMeasureHdl() { } @@ -1668,7 +1662,6 @@ Pointer ImpMeasureHdl::GetPointer() const } - ImpTextframeHdl::ImpTextframeHdl(const Rectangle& rRect) : SdrHdl(rRect.TopLeft(),HDL_MOVE), maRect(rRect) @@ -1729,7 +1722,6 @@ void ImpTextframeHdl::CreateB2dIAObject() } - static bool ImpSdrHdlListSorter(SdrHdl* const& lhs, SdrHdl* const& rhs) { SdrHdlKind eKind1=lhs->GetKind(); @@ -1874,7 +1866,6 @@ extern "C" int SAL_CALL ImplSortHdlFunc( const void* pVoid1, const void* pVoid2 } - void SdrHdlList::TravelFocusHdl(bool bForward) { // security correction @@ -2051,7 +2042,6 @@ void SdrHdlList::ResetFocusHdl() } - SdrHdlList::SdrHdlList(SdrMarkView* pV) : mnFocusIndex(SAL_MAX_SIZE), pView(pV), @@ -2247,14 +2237,12 @@ SdrCropHdl::SdrCropHdl( } - BitmapEx SdrCropHdl::GetHandlesBitmap() { return BitmapEx(ResId(SIP_SA_CROP_MARKERS, *ImpGetResMgr())); } - BitmapEx SdrCropHdl::GetBitmapForHandle( const BitmapEx& rBitmap, int nSize ) { int nPixelSize = 0, nX = 0, nY = 0, nOffset = 0; @@ -2296,7 +2284,6 @@ BitmapEx SdrCropHdl::GetBitmapForHandle( const BitmapEx& rBitmap, int nSize ) } - void SdrCropHdl::CreateB2dIAObject() { // first throw away old one diff --git a/svx/source/svdraw/svdhlpln.cxx b/svx/source/svdraw/svdhlpln.cxx index 0204b580e7c7..851016e8cc33 100644 --- a/svx/source/svdraw/svdhlpln.cxx +++ b/svx/source/svdraw/svdhlpln.cxx @@ -26,7 +26,6 @@ #include <vcl/lineinfo.hxx> - Pointer SdrHelpLine::GetPointer() const { switch (eKind) { diff --git a/svx/source/svdraw/svdmark.cxx b/svx/source/svdraw/svdmark.cxx index a17bc051e037..0d16464b8120 100644 --- a/svx/source/svdraw/svdmark.cxx +++ b/svx/source/svdraw/svdmark.cxx @@ -18,8 +18,6 @@ */ - - #include <svx/svdmark.hxx> #include <svx/svdetc.hxx> #include <svx/svdobj.hxx> @@ -246,7 +244,6 @@ static bool ImpSdrMarkListSorter(SdrMark* const& lhs, SdrMark* const& rhs) } - void SdrMarkList::ForceSort() const { if(!mbSorted) @@ -773,7 +770,6 @@ bool SdrMarkList::TakeSnapRect(SdrPageView* pPV, Rectangle& rRect) const } - namespace sdr { ViewSelection::ViewSelection() diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index 97eb3a4a69e3..2c89cec99046 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -97,7 +97,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; - struct SdrModelImpl { SfxUndoManager* mpUndoManager; @@ -105,7 +104,6 @@ struct SdrModelImpl }; - void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbeddedHelper, bool bUseExtColorTable, bool bLoadRefCounts) { @@ -339,7 +337,6 @@ void SdrModel::SetReadOnly(bool bYes) } - void SdrModel::SetMaxUndoActionCount(sal_uIntPtr nCount) { if (nCount<1) nCount=1; @@ -1575,7 +1572,6 @@ void SdrModel::MoveMasterPage(sal_uInt16 nPgNum, sal_uInt16 nNewPos) } - void SdrModel::CopyPages(sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum, sal_uInt16 nDestPos, bool bUndo, bool bMoveNoCopy) @@ -1875,7 +1871,6 @@ void SdrModel::setLock( bool bLock ) } - void SdrModel::MigrateItemSet( const SfxItemSet* pSourceSet, SfxItemSet* pDestSet, SdrModel* pNewModel ) { assert(pNewModel != nullptr); @@ -1932,7 +1927,6 @@ void SdrModel::MigrateItemSet( const SfxItemSet* pSourceSet, SfxItemSet* pDestSe } - void SdrModel::SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars ) { if( mpForbiddenCharactersTable ) @@ -2116,7 +2110,6 @@ const css::uno::Sequence< sal_Int8 >& SdrModel::getUnoTunnelImplementationId() } - SdrHint::SdrHint(SdrHintKind eNewHint) : mpPage(nullptr), mpObj(nullptr), @@ -2148,6 +2141,4 @@ void SdrHint::SetKind(SdrHintKind eNewKind) } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index 76eb72d27626..85001e06f46a 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -122,11 +122,9 @@ void ImplMarkingOverlay::SetSecondPosition(const basegfx::B2DPoint& rNewPosition } - // MarkView - void SdrMarkView::ImpClearVars() { meDragMode=SDRDRAG_MOVE; @@ -243,7 +241,6 @@ void SdrMarkView::ModelHasChanged() } - bool SdrMarkView::IsAction() const { return SdrSnapView::IsAction() || IsMarkObj() || IsMarkPoints() || IsMarkGluePoints(); @@ -314,7 +311,6 @@ void SdrMarkView::TakeActionRect(Rectangle& rRect) const } - void SdrMarkView::ClearPageView() { UnmarkAllObj(); @@ -345,7 +341,6 @@ void SdrMarkView::HideSdrPage() } - bool SdrMarkView::BegMarkObj(const Point& rPnt, bool bUnmark) { BrkAction(); @@ -404,7 +399,6 @@ void SdrMarkView::BrkMarkObj() } - bool SdrMarkView::BegMarkPoints(const Point& rPnt, bool bUnmark) { if(HasMarkablePoints()) @@ -470,7 +464,6 @@ void SdrMarkView::BrkMarkPoints() } - bool SdrMarkView::BegMarkGluePoints(const Point& rPnt, bool bUnmark) { if(HasMarkableGluePoints()) @@ -1382,7 +1375,6 @@ void SdrMarkView::SetEditMode(SdrViewEditMode eMode) } - bool SdrMarkView::IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const { if (pObj) @@ -2085,7 +2077,6 @@ const Rectangle& SdrMarkView::GetMarkedObjRect() const } - void SdrMarkView::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr, sal_uInt16 nVal, ImpTakeDescriptionOptions nOpt) const { rStr = ImpGetResStr(nStrCacheID); @@ -2142,7 +2133,6 @@ bool SdrMarkView::EnterMarkedGroup() } - void SdrMarkView::MarkListHasChanged() { GetMarkedObjectListWriteAccess().SetNameDirty(); @@ -2165,7 +2155,6 @@ void SdrMarkView::MarkListHasChanged() } - void SdrMarkView::SetMoveOutside(bool bOn) { maHdlList.SetMoveOutside(bOn); diff --git a/svx/source/svdraw/svdmrkv1.cxx b/svx/source/svdraw/svdmrkv1.cxx index beb13620e84d..298a12a1295a 100644 --- a/svx/source/svdraw/svdmrkv1.cxx +++ b/svx/source/svdraw/svdmrkv1.cxx @@ -374,7 +374,6 @@ void SdrMarkView::UndirtyMrkPnt() const } - bool SdrMarkView::HasMarkableGluePoints() const { bool bRet=false; diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index 6304c471dd5d..9d322122fd30 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -405,7 +405,6 @@ SdrObject* ImpCreateShadowObjectClone(const SdrObject& rOriginal, const SfxItemS } - Reference< XCustomShapeEngine > SdrObjCustomShape::GetCustomShapeEngine() const { if (mxCustomShapeEngine.is()) @@ -1410,7 +1409,6 @@ sal_uInt16 SdrObjCustomShape::GetObjIdentifier() const } - void SdrObjCustomShape::RecalcSnapRect() { SdrTextObj::RecalcSnapRect(); @@ -1728,7 +1726,6 @@ void SdrObjCustomShape::NbcShear( const Point& rRef, long nAngle, double tn, boo } - SdrGluePoint SdrObjCustomShape::GetVertexGluePoint(sal_uInt16 nPosNum) const { sal_Int32 nWdt = ImpGetLineWdt(); // #i25616# @@ -1756,7 +1753,6 @@ SdrGluePoint SdrObjCustomShape::GetVertexGluePoint(sal_uInt16 nPosNum) const } - // #i38892# void SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded() { @@ -1879,7 +1875,6 @@ SdrGluePointList* SdrObjCustomShape::ForceGluePointList() } - sal_uInt32 SdrObjCustomShape::GetHdlCount() const { const sal_uInt32 nBasicHdlCount(SdrTextObj::GetHdlCount()); @@ -1920,7 +1915,6 @@ SdrHdl* SdrObjCustomShape::GetHdl( sal_uInt32 nHdlNum ) const } - bool SdrObjCustomShape::hasSpecialDrag() const { return true; @@ -2142,7 +2136,6 @@ bool SdrObjCustomShape::applySpecialDrag(SdrDragStat& rDrag) } - void SdrObjCustomShape::DragCreateObject( SdrDragStat& rStat ) { Rectangle aRect1; @@ -2220,7 +2213,6 @@ basegfx::B2DPolyPolygon SdrObjCustomShape::TakeCreatePoly(const SdrDragStat& /*r } - // in context with the SdrObjCustomShape the SdrTextAutoGrowHeightItem == true -> Resize Shape to fit text, // the SdrTextAutoGrowWidthItem == true -> Word wrap text in Shape bool SdrObjCustomShape::IsAutoGrowHeight() const diff --git a/svx/source/svdraw/svdoattr.cxx b/svx/source/svdraw/svdoattr.cxx index e6102e9e21b4..ffcb005cb7ca 100644 --- a/svx/source/svdraw/svdoattr.cxx +++ b/svx/source/svdraw/svdoattr.cxx @@ -80,8 +80,6 @@ sdr::properties::BaseProperties* SdrAttrObj::CreateObjectSpecificProperties() } - - SdrAttrObj::SdrAttrObj() { } diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index 3dd1449632a5..4e931a9888d8 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -141,8 +141,6 @@ using namespace ::com::sun::star; - - SdrObjUserCall::~SdrObjUserCall() { } @@ -159,7 +157,6 @@ SdrObjMacroHitRec::SdrObjMacroHitRec() : bDown(false) {} - SdrObjUserData::SdrObjUserData(sal_uInt32 nInv, sal_uInt16 nId, sal_uInt16 nVer) : nInventor(nInv), nIdentifier(nId), @@ -288,15 +285,12 @@ void SdrObject::ActionChanged() const } - void SdrObject::SetBoundRectDirty() { aOutRect = Rectangle(); } - - SdrObject::SdrObject() : mpImpl(new Impl), mpProperties(nullptr) @@ -831,16 +825,12 @@ sal_uInt32 SdrObject::GetNavigationPosition() } - - void SdrObject::SetNavigationPosition (const sal_uInt32 nNewPosition) { mnNavigationPosition = nNewPosition; } - - // To make clearer that this method may trigger RecalcBoundRect and thus may be // expensive and sometimes problematic (inside a bigger object change you will get // non-useful BoundRects sometimes) I rename that method from GetBoundRect() to @@ -1295,7 +1285,6 @@ Rectangle SdrObject::ImpDragCalcRect(const SdrDragStat& rDrag) const } - bool SdrObject::hasSpecialDrag() const { return false; @@ -1877,7 +1866,6 @@ bool SdrObject::IsMacroHit(const SdrObjMacroHitRec& rRec) const } - SdrObjGeoData* SdrObject::NewGeoData() const { return new SdrObjGeoData; @@ -2369,7 +2357,6 @@ SdrObject* SdrObject::GetConnectedNode(bool /*bTail1*/) const } - void extractLineContourFromPrimitive2DSequence( const drawinglayer::primitive2d::Primitive2DSequence& rxSequence, basegfx::B2DPolygonVector& rExtractedHairlines, @@ -2396,7 +2383,6 @@ void extractLineContourFromPrimitive2DSequence( } - SdrObject* SdrObject::ImpConvertToContourObj(SdrObject* pRet, bool bForceLineDash) { bool bNoChange(true); @@ -2561,21 +2547,12 @@ SdrObject* SdrObject::ImpConvertToContourObj(SdrObject* pRet, bool bForceLineDas } - - - - void SdrObject::SetMarkProtect(bool bProt) { bMarkProt = bProt; } - - - - - void SdrObject::SetEmptyPresObj(bool bEpt) { bEmptyPresObj = bEpt; @@ -2588,8 +2565,6 @@ void SdrObject::SetNotVisibleAsMaster(bool bFlg) } - - // convert this path object to contour object, even when it is a group SdrObject* SdrObject::ConvertToContourObj(SdrObject* pRet, bool bForceLineDash) const { @@ -2630,7 +2605,6 @@ SdrObject* SdrObject::ConvertToContourObj(SdrObject* pRet, bool bForceLineDash) } - SdrObject* SdrObject::ConvertToPolyObj(bool bBezier, bool bLineToArea) const { SdrObject* pRet = DoConvertToPolyObj(bBezier, true); @@ -2652,14 +2626,12 @@ SdrObject* SdrObject::ConvertToPolyObj(bool bBezier, bool bLineToArea) const } - SdrObject* SdrObject::DoConvertToPolyObj(bool /*bBezier*/, bool /*bAddText*/) const { return nullptr; } - void SdrObject::SetInserted(bool bIns) { if (bIns!=IsInserted()) { @@ -2727,7 +2699,6 @@ void SdrObject::SetVisible(bool bVisible) } - sal_uInt16 SdrObject::GetUserDataCount() const { if (pPlusData==nullptr || pPlusData->pUserDataList==nullptr) return 0; @@ -2973,7 +2944,6 @@ void SdrObject::notifyShapePropertyChange( const svx::ShapeProperty _eProperty ) } - // transformation interface for StarOfficeAPI. This implements support for // homogeneous 3x3 matrices containing the transformation of the SdrObject. At the // moment it contains a shearX, rotation and translation, but for setting all linear diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx index fc3b0f03ebd1..238fe2a81465 100644 --- a/svx/source/svdraw/svdocapt.cxx +++ b/svx/source/svdraw/svdocapt.cxx @@ -61,7 +61,6 @@ #include <svx/xpool.hxx> - enum EscDir {LKS,RTS,OBN,UNT}; class ImpCaptParams @@ -192,8 +191,6 @@ sdr::contact::ViewContact* SdrCaptionObj::CreateObjectSpecificViewContact() } - - SdrCaptionObj::SdrCaptionObj(): SdrRectObj(OBJ_TEXT), aTailPoly(3), // default size: 3 points = 2 lines @@ -307,7 +304,6 @@ SdrHdl* SdrCaptionObj::GetHdl(sal_uInt32 nHdlNum) const } - bool SdrCaptionObj::hasSpecialDrag() const { return true; @@ -419,7 +415,6 @@ OUString SdrCaptionObj::getSpecialDragComment(const SdrDragStat& rDrag) const } - void SdrCaptionObj::ImpGetCaptParams(ImpCaptParams& rPara) const { const SfxItemSet& rSet = GetObjectItemSet(); diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index 0ceaab15c04c..f273a4ef4df5 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -105,8 +105,6 @@ sdr::contact::ViewContact* SdrCircObj::CreateObjectSpecificViewContact() } - - SdrCircObj::SdrCircObj(SdrObjKind eNewKind) { nStartAngle=0; @@ -467,7 +465,6 @@ SdrHdl* SdrCircObj::GetHdl(sal_uInt32 nHdlNum) const } - bool SdrCircObj::hasSpecialDrag() const { return true; @@ -613,7 +610,6 @@ OUString SdrCircObj::getSpecialDragComment(const SdrDragStat& rDrag) const } - void ImpCircUser::SetCreateParams(SdrDragStat& rStat) { rStat.TakeCreateRect(aR); @@ -1065,7 +1061,6 @@ void SdrCircObj::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) } - void SdrCircObj::ImpSetAttrToCircInfo() { const SfxItemSet& rSet = GetObjectItemSet(); diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index 8e7749a1b3fe..b5d0c0e5e03d 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -49,7 +49,6 @@ #include <svx/xpool.hxx> - SdrObjConnection::~SdrObjConnection() { } @@ -164,7 +163,6 @@ sdr::contact::ViewContact* SdrEdgeObj::CreateObjectSpecificViewContact() } - SdrEdgeObj::SdrEdgeObj() : SdrTextObj(), nNotifyingCount(0), @@ -1809,7 +1807,6 @@ SdrHdl* SdrEdgeObj::GetHdl(sal_uInt32 nHdlNum) const } - bool SdrEdgeObj::hasSpecialDrag() const { return true; @@ -1960,7 +1957,6 @@ OUString SdrEdgeObj::getSpecialDragComment(const SdrDragStat& rDrag) const } - basegfx::B2DPolygon SdrEdgeObj::ImplAddConnectorOverlay(SdrDragMethod& rDragMethod, bool bTail1, bool bTail2, bool bDetail) const { basegfx::B2DPolygon aResult; diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 9c37084504fa..bcc4769f92e2 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -640,7 +640,6 @@ bool SdrGrafObj::IsLinkedGraphic() const } - void SdrGrafObj::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const { bool bNoPresGrf = ( pGraphic->GetType() != GRAPHIC_NONE ) && !bEmptyPresObj; diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx index 7cbaf43f1dce..4bbd9b518377 100644 --- a/svx/source/svdraw/svdogrp.cxx +++ b/svx/source/svdraw/svdogrp.cxx @@ -67,8 +67,6 @@ sdr::contact::ViewContact* SdrObjGroup::CreateObjectSpecificViewContact() } - - SdrObjGroup::SdrObjGroup() { pSub=new SdrObjList(nullptr,nullptr); @@ -714,7 +712,6 @@ void SdrObjGroup::SetAnchorPos(const Point& rPnt) } - void SdrObjGroup::NbcSetRelativePos(const Point& rPnt) { Point aRelPos0(GetSnapRect().TopLeft()-aAnchor); diff --git a/svx/source/svdraw/svdomeas.cxx b/svx/source/svdraw/svdomeas.cxx index 3dc86c494113..23fa3aef6b93 100644 --- a/svx/source/svdraw/svdomeas.cxx +++ b/svx/source/svdraw/svdomeas.cxx @@ -72,7 +72,6 @@ #include <unotools/syslocale.hxx> - SdrMeasureObjGeoData::SdrMeasureObjGeoData() {} SdrMeasureObjGeoData::~SdrMeasureObjGeoData() {} @@ -210,8 +209,6 @@ sdr::contact::ViewContact* SdrMeasureObj::CreateObjectSpecificViewContact() } - - SdrMeasureObj::SdrMeasureObj(): bTextDirty(false) { @@ -797,7 +794,6 @@ SdrHdl* SdrMeasureObj::GetHdl(sal_uInt32 nHdlNum) const } - bool SdrMeasureObj::hasSpecialDrag() const { return true; @@ -968,7 +964,6 @@ void SdrMeasureObj::ImpEvalDrag(ImpMeasureRec& rRec, const SdrDragStat& rDrag) c } - bool SdrMeasureObj::BegCreate(SdrDragStat& rStat) { rStat.SetOrtho8Possible(); diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx index 939ac77b4abe..3825a1dcc600 100644 --- a/svx/source/svdraw/svdomedia.cxx +++ b/svx/source/svdraw/svdomedia.cxx @@ -78,8 +78,6 @@ struct SdrMediaObj::Impl }; - - SdrMediaObj::SdrMediaObj() : SdrRectObj() , m_xImpl( new Impl() ) diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index e786dbfb56e3..49fdf63c58c3 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -589,7 +589,6 @@ void SdrLightEmbeddedClient_Impl::setWindow(const uno::Reference< awt::XWindow > } - class SdrEmbedObjectLink : public sfx2::SvBaseLink { SdrOle2Obj* pObj; @@ -606,7 +605,6 @@ public: }; - SdrEmbedObjectLink::SdrEmbedObjectLink(SdrOle2Obj* pObject): ::sfx2::SvBaseLink( ::SfxLinkUpdateMode::ONCALL, SotClipboardFormatId::SVXB ), pObj(pObject) @@ -615,13 +613,11 @@ SdrEmbedObjectLink::SdrEmbedObjectLink(SdrOle2Obj* pObject): } - SdrEmbedObjectLink::~SdrEmbedObjectLink() { } - ::sfx2::SvBaseLink::UpdateResult SdrEmbedObjectLink::DataChanged( const OUString& /*rMimeType*/, const css::uno::Any & /*rValue*/ ) { @@ -658,7 +654,6 @@ SdrEmbedObjectLink::~SdrEmbedObjectLink() } - void SdrEmbedObjectLink::Closed() { pObj->BreakFileLink_Impl(); @@ -666,7 +661,6 @@ void SdrEmbedObjectLink::Closed() } - class SdrOle2ObjImpl { public: @@ -741,7 +735,6 @@ public: }; - // Predicate determining whether the given OLE is an internal math // object static bool ImplIsMathObj( const uno::Reference < embed::XEmbeddedObject >& rObjRef ) @@ -781,8 +774,6 @@ sdr::contact::ViewContact* SdrOle2Obj::CreateObjectSpecificViewContact() } - - SdrOle2Obj::SdrOle2Obj( bool bFrame_ ) : mpImpl(new SdrOle2ObjImpl(bFrame_)) { @@ -812,7 +803,6 @@ OUString SdrOle2Obj::GetStyleString() } - SdrOle2Obj::~SdrOle2Obj() { mpImpl->mbInDestruction = true; @@ -899,7 +889,6 @@ bool SdrOle2Obj::IsEmpty() const } - void SdrOle2Obj::Connect() { if( IsEmptyPresObj() ) @@ -918,7 +907,6 @@ void SdrOle2Obj::Connect() } - bool SdrOle2Obj::UpdateLinkURL_Impl() { bool bResult = false; @@ -978,7 +966,6 @@ bool SdrOle2Obj::UpdateLinkURL_Impl() } - void SdrOle2Obj::BreakFileLink_Impl() { uno::Reference<document::XStorageBasedDocument> xDoc; @@ -1011,7 +998,6 @@ void SdrOle2Obj::BreakFileLink_Impl() } - void SdrOle2Obj::DisconnectFileLink_Impl() { sfx2::LinkManager* pLinkManager = pModel ? pModel->GetLinkManager() : nullptr; @@ -1023,7 +1009,6 @@ void SdrOle2Obj::DisconnectFileLink_Impl() } - void SdrOle2Obj::CheckFileLink_Impl() { if (pModel && mpImpl->mxObjRef.GetObject().is() && !mpImpl->mpObjectLink) @@ -1061,7 +1046,6 @@ void SdrOle2Obj::CheckFileLink_Impl() } - void SdrOle2Obj::Reconnect_Impl() { DBG_ASSERT( mpImpl->mbConnected, "Assigned unconnected object?!" ); @@ -1186,7 +1170,6 @@ void SdrOle2Obj::AddListeners_Impl() } - void SdrOle2Obj::Disconnect() { if( IsEmptyPresObj() ) @@ -1315,7 +1298,6 @@ void SdrOle2Obj::Disconnect_Impl() } - SdrObject* SdrOle2Obj::createSdrGrafObjReplacement(bool bAddText, bool /* bUseHCGraphic */) const { const Graphic* pOLEGraphic = GetGraphic(); @@ -1393,7 +1375,6 @@ SdrObject* SdrOle2Obj::DoConvertToPolyObj(bool bBezier, bool bAddText) const } - void SdrOle2Obj::SetModel(SdrModel* pNewModel) { ::comphelper::IEmbeddedHelper* pDestPers = pNewModel ? pNewModel->GetPersist() : nullptr; @@ -1469,7 +1450,6 @@ void SdrOle2Obj::SetModel(SdrModel* pNewModel) } - void SdrOle2Obj::SetPage(SdrPage* pNewPage) { bool bRemove=pNewPage==nullptr && pPage!=nullptr; @@ -1505,7 +1485,6 @@ void SdrOle2Obj::SetPage(SdrPage* pNewPage) } - void SdrOle2Obj::SetObjRef( const css::uno::Reference < css::embed::XEmbeddedObject >& rNewObjRef ) { DBG_ASSERT( !rNewObjRef.is() || !mpImpl->mxObjRef.GetObject().is(), "SetObjRef called on already initialized object!"); @@ -1545,7 +1524,6 @@ void SdrOle2Obj::SetObjRef( const css::uno::Reference < css::embed::XEmbeddedObj } - void SdrOle2Obj::SetClosedObj( bool bIsClosed ) { // TODO/LATER: do we still need this hack? @@ -1554,7 +1532,6 @@ void SdrOle2Obj::SetClosedObj( bool bIsClosed ) } - SdrObject* SdrOle2Obj::getFullDragClone() const { // #i118485# use central replacement generator @@ -1562,7 +1539,6 @@ SdrObject* SdrOle2Obj::getFullDragClone() const } - void SdrOle2Obj::SetPersistName( const OUString& rPersistName ) { DBG_ASSERT( mpImpl->aPersistName.isEmpty(), "Persist name changed!"); @@ -1582,14 +1558,12 @@ void SdrOle2Obj::AbandonObject() } - OUString SdrOle2Obj::GetPersistName() const { return mpImpl->aPersistName; } - void SdrOle2Obj::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const { // #i118485# Allowing much more attributes for OLEs @@ -1611,14 +1585,12 @@ void SdrOle2Obj::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const } - sal_uInt16 SdrOle2Obj::GetObjIdentifier() const { return mpImpl->mbFrame ? sal_uInt16(OBJ_FRAME) : sal_uInt16(OBJ_OLE2); } - OUString SdrOle2Obj::TakeObjNameSingul() const { OUStringBuffer sName(ImpGetResStr(mpImpl->mbFrame ? STR_ObjNameSingulFrame : STR_ObjNameSingulOLE2)); @@ -1636,7 +1608,6 @@ OUString SdrOle2Obj::TakeObjNameSingul() const } - OUString SdrOle2Obj::TakeObjNamePlural() const { return ImpGetResStr(mpImpl->mbFrame ? STR_ObjNamePluralFrame : STR_ObjNamePluralOLE2); @@ -1861,7 +1832,6 @@ void SdrOle2Obj::ImpSetVisAreaSize() } - void SdrOle2Obj::NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) { if( pModel && !pModel->isLocked() ) @@ -1882,7 +1852,6 @@ void SdrOle2Obj::NbcResize(const Point& rRef, const Fraction& xFact, const Fract } - void SdrOle2Obj::SetGeoData(const SdrObjGeoData& rGeo) { SdrRectObj::SetGeoData(rGeo); @@ -1892,7 +1861,6 @@ void SdrOle2Obj::SetGeoData(const SdrObjGeoData& rGeo) } - void SdrOle2Obj::NbcSetSnapRect(const Rectangle& rRect) { SdrRectObj::NbcSetSnapRect(rRect); @@ -1910,7 +1878,6 @@ void SdrOle2Obj::NbcSetSnapRect(const Rectangle& rRect) } - void SdrOle2Obj::NbcSetLogicRect(const Rectangle& rRect) { SdrRectObj::NbcSetLogicRect(rRect); @@ -1933,7 +1900,6 @@ void SdrOle2Obj::GetNewReplacement() } - Size SdrOle2Obj::GetOrigObjSize( MapMode* pTargetMapMode ) const { return mpImpl->mxObjRef.GetSize( pTargetMapMode ); @@ -1953,7 +1919,6 @@ void SdrOle2Obj::NbcMove(const Size& rSize) } - bool SdrOle2Obj::CanUnloadRunningObj( const uno::Reference< embed::XEmbeddedObject >& xObj, sal_Int64 nAspect ) { uno::Reference<embed::XEmbedPersist2> xPersist(xObj, uno::UNO_QUERY); @@ -1995,7 +1960,6 @@ bool SdrOle2Obj::CanUnloadRunningObj( const uno::Reference< embed::XEmbeddedObje } - bool SdrOle2Obj::Unload( const uno::Reference< embed::XEmbeddedObject >& xObj, sal_Int64 nAspect ) { bool bResult = false; @@ -2022,7 +1986,6 @@ bool SdrOle2Obj::Unload( const uno::Reference< embed::XEmbeddedObject >& xObj, s } - bool SdrOle2Obj::Unload() { if (!mpImpl->mxObjRef.is()) @@ -2039,7 +2002,6 @@ bool SdrOle2Obj::Unload() } - void SdrOle2Obj::GetObjRef_Impl() { if ( !mpImpl->mxObjRef.is() && !mpImpl->aPersistName.isEmpty() && pModel && pModel->GetPersist() ) @@ -2131,7 +2093,6 @@ uno::Reference < embed::XEmbeddedObject > SdrOle2Obj::GetObjRef_NoInit() const } - uno::Reference< frame::XModel > SdrOle2Obj::getXModel() const { GetObjRef(); @@ -2142,7 +2103,6 @@ uno::Reference< frame::XModel > SdrOle2Obj::getXModel() const } - bool SdrOle2Obj::IsChart() const { if (!mpImpl->mbTypeAsked) @@ -2262,14 +2222,12 @@ bool SdrOle2Obj::AddOwnLightClient() } - Graphic SdrOle2Obj::GetEmptyOLEReplacementGraphic() { return Graphic(BitmapEx(ResId(BMP_SVXOLEOBJ, *ImpGetResMgr()))); } - void SdrOle2Obj::SetWindow(const css::uno::Reference < css::awt::XWindow >& _xWindow) { if ( mpImpl->mxObjRef.is() && mpImpl->pLightClient ) diff --git a/svx/source/svdraw/svdopage.cxx b/svx/source/svdraw/svdopage.cxx index 1b3f0edc36e0..02f2dfcbceaf 100644 --- a/svx/source/svdraw/svdopage.cxx +++ b/svx/source/svdraw/svdopage.cxx @@ -65,8 +65,6 @@ void SdrPageObj::PageInDestruction(const SdrPage& rPage) } - - SdrPageObj::SdrPageObj(SdrPage* pNewPage) : mpShownPage(pNewPage) { diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index 42a0edba9ca1..0a0ee30862af 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -2856,7 +2856,6 @@ void SdrPathObj::impDeleteDAC() const } - // transformation interface for StarOfficeAPI. This implements support for // homogeneous 3x3 matrices containing the transformation of the SdrObject. At the // moment it contains a shearX, rotation and translation, but for setting all linear diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx index 56a491229705..b1692206c6b5 100644 --- a/svx/source/svdraw/svdorect.cxx +++ b/svx/source/svdraw/svdorect.cxx @@ -62,8 +62,6 @@ sdr::contact::ViewContact* SdrRectObj::CreateObjectSpecificViewContact() } - - SdrRectObj::SdrRectObj() : mpXPoly(nullptr) { @@ -382,7 +380,6 @@ SdrHdl* SdrRectObj::GetHdl(sal_uInt32 nHdlNum) const } - bool SdrRectObj::hasSpecialDrag() const { return true; @@ -473,7 +470,6 @@ OUString SdrRectObj::getSpecialDragComment(const SdrDragStat& rDrag) const } - basegfx::B2DPolyPolygon SdrRectObj::TakeCreatePoly(const SdrDragStat& rDrag) const { Rectangle aRect1; diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index 0159d382326a..49e11c898918 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -81,8 +81,6 @@ sdr::contact::ViewContact* SdrTextObj::CreateObjectSpecificViewContact() } - - SdrTextObj::SdrTextObj() : SdrAttrObj(), mpText(nullptr), @@ -1398,7 +1396,6 @@ void SdrTextObj::UpdateOutlinerFormatting( SdrOutliner& rOutl, Rectangle& rPaint } - OutlinerParaObject* SdrTextObj::GetOutlinerParaObject() const { SdrText* pText = getActiveText(); @@ -1636,7 +1633,6 @@ void SdrTextObj::SetVerticalWriting(bool bVertical) } - // transformation interface for StarOfficeAPI. This implements support for // homogeneous 3x3 matrices containing the transformation of the SdrObject. At the // moment it contains a shearX, rotation and translation, but for setting all linear @@ -2209,7 +2205,6 @@ void SdrTextObj::SetObjectItemNoBroadcast(const SfxPoolItem& rItem) } - // The concept of the text object: // ~~~~~~~~~~~~~~~~~~~~~~~~ // Attributes/Variations: @@ -2273,5 +2268,4 @@ void SdrTextObj::SetObjectItemNoBroadcast(const SfxPoolItem& rItem) // - and many more... - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/svdraw/svdotextpathdecomposition.cxx b/svx/source/svdraw/svdotextpathdecomposition.cxx index 78fc7e796708..a3be649f56d3 100644 --- a/svx/source/svdraw/svdotextpathdecomposition.cxx +++ b/svx/source/svdraw/svdotextpathdecomposition.cxx @@ -58,7 +58,6 @@ #include <sdr/attribute/sdrformtextoutlineattribute.hxx> - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::i18n; diff --git a/svx/source/svdraw/svdotxdr.cxx b/svx/source/svdraw/svdotxdr.cxx index 004453006a86..a813da95de73 100644 --- a/svx/source/svdraw/svdotxdr.cxx +++ b/svx/source/svdraw/svdotxdr.cxx @@ -63,7 +63,6 @@ SdrHdl* SdrTextObj::GetHdl(sal_uInt32 nHdlNum) const } - bool SdrTextObj::hasSpecialDrag() const { return true; diff --git a/svx/source/svdraw/svdotxtr.cxx b/svx/source/svdraw/svdotxtr.cxx index 79dfcf938fe9..ce118bc49f8e 100644 --- a/svx/source/svdraw/svdotxtr.cxx +++ b/svx/source/svdraw/svdotxtr.cxx @@ -284,7 +284,6 @@ void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2) } - SdrObject* SdrTextObj::ImpConvertContainedTextToSdrPathObjs(bool bToPoly) const { SdrObject* pRetval = nullptr; @@ -407,7 +406,6 @@ SdrObject* SdrTextObj::ImpConvertContainedTextToSdrPathObjs(bool bToPoly) const } - SdrObject* SdrTextObj::DoConvertToPolyObj(bool bBezier, bool bAddText) const { if(bAddText) diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx index 1f2b33e909f0..319d5599240f 100644 --- a/svx/source/svdraw/svdouno.cxx +++ b/svx/source/svdraw/svdouno.cxx @@ -57,7 +57,6 @@ using namespace sdr::contact; // Defines - // Helper class SdrControlEventListenerImpl #include <com/sun/star/lang/XEventListener.hpp> @@ -335,7 +334,6 @@ void SdrUnoObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fracti } - bool SdrUnoObj::hasSpecialDrag() const { // no special drag; we have no rounding rect and diff --git a/svx/source/svdraw/svdovirt.cxx b/svx/source/svdraw/svdovirt.cxx index 9c16a472a3f8..587363daf1dc 100644 --- a/svx/source/svdraw/svdovirt.cxx +++ b/svx/source/svdraw/svdovirt.cxx @@ -30,7 +30,6 @@ #include <basegfx/matrix/b2dhommatrixtools.hxx> - sdr::properties::BaseProperties& SdrVirtObj::GetProperties() const { return rRefObj.GetProperties(); @@ -44,8 +43,6 @@ sdr::contact::ViewContact* SdrVirtObj::CreateObjectSpecificViewContact() } - - SdrVirtObj::SdrVirtObj(SdrObject& rNewObj): rRefObj(rNewObj) { @@ -60,7 +57,6 @@ SdrVirtObj::~SdrVirtObj() } - const SdrObject& SdrVirtObj::GetReferencedObj() const { return rRefObj; @@ -86,7 +82,6 @@ void SdrVirtObj::NbcSetAnchorPos(const Point& rAnchorPos) } - void SdrVirtObj::SetModel(SdrModel* pNewModel) { SdrObject::SetModel(pNewModel); @@ -189,7 +184,6 @@ basegfx::B2DPolyPolygon SdrVirtObj::TakeXorPoly() const } - sal_uInt32 SdrVirtObj::GetHdlCount() const { return rRefObj.GetHdlCount(); @@ -259,7 +253,6 @@ void SdrVirtObj::AddToHdlList(SdrHdlList& rHdlList) const } - bool SdrVirtObj::hasSpecialDrag() const { return rRefObj.hasSpecialDrag(); @@ -314,7 +307,6 @@ OUString SdrVirtObj::getSpecialDragComment(const SdrDragStat& rDrag) const } - bool SdrVirtObj::BegCreate(SdrDragStat& rStat) { return rRefObj.BegCreate(rStat); @@ -347,7 +339,6 @@ basegfx::B2DPolyPolygon SdrVirtObj::TakeCreatePoly(const SdrDragStat& rDrag) con } - void SdrVirtObj::NbcMove(const Size& rSiz) { MovePoint(aAnchor,rSiz); @@ -379,7 +370,6 @@ void SdrVirtObj::NbcShear(const Point& rRef, long nAngle, double tn, bool bVShea } - void SdrVirtObj::Move(const Size& rSiz) { if (rSiz.Width()!=0 || rSiz.Height()!=0) { @@ -430,7 +420,6 @@ void SdrVirtObj::Shear(const Point& rRef, long nAngle, double tn, bool bVShear) } - void SdrVirtObj::RecalcSnapRect() { aSnapRect=rRefObj.GetSnapRect(); @@ -465,7 +454,6 @@ void SdrVirtObj::NbcSetSnapRect(const Rectangle& rRect) } - const Rectangle& SdrVirtObj::GetLogicRect() const { const_cast<SdrVirtObj*>(this)->aSnapRect=rRefObj.GetLogicRect(); // An abuse of aSnapRect! @@ -492,7 +480,6 @@ void SdrVirtObj::NbcSetLogicRect(const Rectangle& rRect) } - long SdrVirtObj::GetRotateAngle() const { return rRefObj.GetRotateAngle(); @@ -504,7 +491,6 @@ long SdrVirtObj::GetShearAngle(bool bVertical) const } - sal_uInt32 SdrVirtObj::GetSnapPointCount() const { return rRefObj.GetSnapPointCount(); @@ -541,7 +527,6 @@ void SdrVirtObj::NbcSetPoint(const Point& rPnt, sal_uInt32 i) } - SdrObjGeoData* SdrVirtObj::NewGeoData() const { return rRefObj.NewGeoData(); @@ -559,7 +544,6 @@ void SdrVirtObj::RestGeoData(const SdrObjGeoData& rGeo) } - SdrObjGeoData* SdrVirtObj::GetGeoData() const { return rRefObj.GetGeoData(); @@ -574,7 +558,6 @@ void SdrVirtObj::SetGeoData(const SdrObjGeoData& rGeo) } - void SdrVirtObj::NbcReformatText() { rRefObj.NbcReformatText(); @@ -586,7 +569,6 @@ void SdrVirtObj::ReformatText() } - bool SdrVirtObj::HasMacro() const { return rRefObj.HasMacro(); diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index 432648dc6a59..4406cd79b69a 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -68,7 +68,6 @@ public: }; - static const sal_Int32 InitialObjectContainerCapacity (64); @@ -679,8 +678,6 @@ size_t SdrObjList::GetObjCount() const } - - SdrObject* SdrObjList::GetObj(size_t nNum) const { if (nNum >= maList.size()) @@ -693,8 +690,6 @@ SdrObject* SdrObjList::GetObj(size_t nNum) const } - - bool SdrObjList::IsReadOnly() const { bool bRet = false; @@ -760,16 +755,12 @@ void SdrObjList::UnGroupObj( size_t nObjNum ) } - - bool SdrObjList::HasObjectNavigationOrder() const { return mxNavigationOrder.get() != nullptr; } - - void SdrObjList::SetObjectNavigationPosition ( SdrObject& rObject, const sal_uInt32 nNewPosition) @@ -824,8 +815,6 @@ void SdrObjList::SetObjectNavigationPosition ( } - - SdrObject* SdrObjList::GetObjectForNavigationPosition (const sal_uInt32 nNavigationPosition) const { if (HasObjectNavigationOrder()) @@ -854,8 +843,6 @@ SdrObject* SdrObjList::GetObjectForNavigationPosition (const sal_uInt32 nNavigat } - - void SdrObjList::ClearObjectNavigationOrder() { mxNavigationOrder.reset(); @@ -863,8 +850,6 @@ void SdrObjList::ClearObjectNavigationOrder() } - - bool SdrObjList::RecalcNavigationPositions() { if (mbIsNavigationOrderDirty) @@ -885,8 +870,6 @@ bool SdrObjList::RecalcNavigationPositions() } - - void SdrObjList::SetNavigationOrder (const uno::Reference<container::XIndexAccess>& rxOrder) { if (rxOrder.is()) @@ -914,8 +897,6 @@ void SdrObjList::SetNavigationOrder (const uno::Reference<container::XIndexAcces } - - void SdrObjList::InsertObjectIntoContainer ( SdrObject& rObject, const sal_uInt32 nInsertPosition) @@ -942,8 +923,6 @@ void SdrObjList::InsertObjectIntoContainer ( } - - void SdrObjList::ReplaceObjectInContainer ( SdrObject& rNewObject, const sal_uInt32 nObjectPosition) @@ -979,8 +958,6 @@ void SdrObjList::ReplaceObjectInContainer ( } - - void SdrObjList::RemoveObjectFromContainer ( const sal_uInt32 nObjectPosition) { @@ -1024,9 +1001,6 @@ void SdrObjList::dumpAsXml(xmlTextWriterPtr pWriter) const } - - - void SdrPageGridFrameList::Clear() { sal_uInt16 nCount=GetCount(); @@ -1192,8 +1166,6 @@ void SdrPageProperties::SetStyleSheet(SfxStyleSheet* pStyleSheet) } - - SdrPage::SdrPage(SdrModel& rNewModel, bool bMasterPage) : SdrObjList(&rNewModel, this), mpViewContact(nullptr), @@ -1550,7 +1522,6 @@ void SdrPage::SetModel(SdrModel* pNewModel) } - // #i68775# React on PageNum changes (from Model in most cases) void SdrPage::SetPageNum(sal_uInt16 nNew) { diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx index 4d38c950c858..fe3c045b9445 100644 --- a/svx/source/svdraw/svdpagv.cxx +++ b/svx/source/svdraw/svdpagv.cxx @@ -135,7 +135,6 @@ SdrPageWindow* SdrPageView::RemovePageWindow(SdrPageWindow& rOld) } - SdrPageView::SdrPageView(SdrPage* pPage1, SdrView& rNewView) : mrView(rNewView), // col_auto color lets the view takes the default SvxColorConfig entry @@ -267,7 +266,6 @@ void SdrPageView::InvalidateAllWin() } - void SdrPageView::PrePaint() { const sal_uInt32 nCount(PageWindowCount()); @@ -418,7 +416,6 @@ void SdrPageView::SetDesignMode( bool _bDesignMode ) const } - void SdrPageView::DrawPageViewGrid(OutputDevice& rOut, const Rectangle& rRect, Color aColor) { if (GetPage()==nullptr) @@ -961,5 +958,4 @@ void SdrPageView::SetApplicationDocumentColor(Color aDocumentColor) } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 34cc2e0f8d8a..382455f8e153 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -119,16 +119,12 @@ OutputDevice* SdrPaintView::GetFirstOutputDevice() const } - SvxViewHint::SvxViewHint (HintType eHintType) : meHintType(eHintType) { } - - - BitmapEx convertMetafileToBitmapEx( const GDIMetaFile& rMtf, const basegfx::B2DRange& rTargetRange, @@ -154,9 +150,6 @@ BitmapEx convertMetafileToBitmapEx( } - - - void SdrPaintView::ImpClearVars() { #ifdef DBG_UTIL @@ -247,7 +240,6 @@ SdrPaintView::~SdrPaintView() } - void SdrPaintView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { //If the stylesheet has been destroyed @@ -333,7 +325,6 @@ void SdrPaintView::ModelHasChanged() } - bool SdrPaintView::IsAction() const { return false; @@ -373,7 +364,6 @@ SdrPageView* SdrPaintView::GetTextEditPageView() const } - sal_uInt16 SdrPaintView::ImpGetMinMovLogic(short nMinMov, const OutputDevice* pOut) const { if (nMinMov>=0) return sal_uInt16(nMinMov); @@ -417,7 +407,6 @@ void SdrPaintView::SetActualWin(const OutputDevice* pWin) } - void SdrPaintView::ClearPageView() { BrkAction(); @@ -769,7 +758,6 @@ void SdrPaintView::EndCompleteRedraw(SdrPaintWindow& rPaintWindow, bool bPaintFo } - SdrPaintWindow* SdrPaintView::BeginDrawLayers(OutputDevice* pOut, const vcl::Region& rReg, bool bDisableIntersect) { // #i74769# use BeginCompleteRedraw() as common base @@ -853,7 +841,6 @@ vcl::Region SdrPaintView::OptimizeDrawLayersRegion(OutputDevice* pOut, const vcl } - void SdrPaintView::ImpFormLayerDrawing( SdrPaintWindow& rPaintWindow ) { if(mpPageView) @@ -876,7 +863,6 @@ void SdrPaintView::ImpFormLayerDrawing( SdrPaintWindow& rPaintWindow ) } - bool SdrPaintView::KeyInput(const KeyEvent& /*rKEvt*/, vcl::Window* /*pWin*/) { return false; @@ -1117,7 +1103,6 @@ bool SdrPaintView::SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHar } - #ifdef DBG_UTIL void SdrPaintView::ShowItemBrowser(bool bShow) { diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx index da20cab33767..e6d42a81daa6 100644 --- a/svx/source/svdraw/svdpoev.cxx +++ b/svx/source/svdraw/svdpoev.cxx @@ -36,7 +36,6 @@ using namespace sdr; - void SdrPolyEditView::ImpResetPolyPossibilityFlags() { eMarkedPointsSmooth=SDRPATHSMOOTH_DONTCARE; @@ -612,7 +611,6 @@ void SdrPolyEditView::ImpTransformMarkedPoints(PPolyTrFunc pTrFunc, const void* } - static void ImpMove(Point& rPt, Point* pC1, Point* pC2, const void* p1, const void* /*p2*/, const void* /*p3*/, const void* /*p4*/, const void* /*p5*/) { MovePoint(rPt,*static_cast<const Size*>(p1)); diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx index 3d00bf91e14a..c58001ba2cc8 100644 --- a/svx/source/svdraw/svdsnpv.cxx +++ b/svx/source/svdraw/svdsnpv.cxx @@ -208,7 +208,6 @@ SdrSnapView::~SdrSnapView() } - bool SdrSnapView::IsAction() const { return IsSetPageOrg() || IsDragHelpLine() || SdrPaintView::IsAction(); @@ -260,7 +259,6 @@ void SdrSnapView::TakeActionRect(Rectangle& rRect) const } - Point SdrSnapView::GetSnapPos(const Point& rPnt, const SdrPageView* pPV) const { Point aPt(rPnt); @@ -504,7 +502,6 @@ void SdrSnapView::BrkSetPageOrg() } - bool SdrSnapView::PickHelpLine(const Point& rPnt, short nTol, const OutputDevice& rOut, sal_uInt16& rnHelpLineNum, SdrPageView*& rpPV) const { rpPV=nullptr; diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx index c25d34ceed05..53b5685ea593 100644 --- a/svx/source/svdraw/svdtrans.cxx +++ b/svx/source/svdraw/svdtrans.cxx @@ -285,7 +285,6 @@ double CrookStretchXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCen } - void CrookRotatePoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, bool bVert) { double nSin,nCos; @@ -356,7 +355,6 @@ void CrookStretchPoly(XPolygon& rPoly, const Point& rCenter, const Point& rRad, } - void CrookRotatePoly(XPolyPolygon& rPoly, const Point& rCenter, const Point& rRad, bool bVert) { sal_uInt16 nPolyCount=rPoly.Count(); @@ -382,7 +380,6 @@ void CrookStretchPoly(XPolyPolygon& rPoly, const Point& rCenter, const Point& rR } - long GetAngle(const Point& rPnt) { long a=0; @@ -447,7 +444,6 @@ long GetLen(const Point& rPnt) } - void GeoStat::RecalcSinCos() { if (nRotationAngle==0) { @@ -471,7 +467,6 @@ void GeoStat::RecalcTan() } - tools::Polygon Rect2Poly(const Rectangle& rRect, const GeoStat& rGeo) { tools::Polygon aPol(5); @@ -527,7 +522,6 @@ void Poly2Rect(const tools::Polygon& rPol, Rectangle& rRect, GeoStat& rGeo) } - void OrthoDistance8(const Point& rPt0, Point& rPt, bool bBigOrtho) { long dx=rPt.X()-rPt0.X(); @@ -558,7 +552,6 @@ void OrthoDistance4(const Point& rPt0, Point& rPt, bool bBigOrtho) } - long BigMulDiv(long nVal, long nMul, long nDiv) { BigInt aVal(nVal); @@ -660,7 +653,6 @@ FrPair GetMapFactor(FieldUnit eS, FieldUnit eD) }; - // 1 mile = 8 furlong = 63.360" = 1.609.344,0mm // 1 furlong = 10 chains = 7.920" = 201.168,0mm // 1 chain = 4 poles = 792" = 20.116,8mm @@ -1050,6 +1042,4 @@ void SdrFormatter::TakeUnitStr(FieldUnit eUnit, OUString& rStr) } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index f51942dd302c..24d3e0305254 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -58,8 +58,6 @@ static void ImplUnmarkObject( SdrObject* pObj ) } - - SdrUndoAction::~SdrUndoAction() {} bool SdrUndoAction::CanRepeat(SfxRepeatTarget& rView) const @@ -98,7 +96,6 @@ OUString SdrUndoAction::GetSdrRepeatComment(SdrView& /*rView*/) const } - SdrUndoGroup::SdrUndoGroup(SdrModel& rNewMod) : SdrUndoAction(rNewMod), aBuf(), @@ -555,7 +552,6 @@ OUString SdrUndoAttrObj::GetSdrRepeatComment(SdrView& /*rView*/) const } - SdrUndoMoveObj::~SdrUndoMoveObj() {} void SdrUndoMoveObj::Undo() @@ -599,7 +595,6 @@ OUString SdrUndoMoveObj::GetSdrRepeatComment(SdrView& /*rView*/) const } - SdrUndoGeoObj::SdrUndoGeoObj(SdrObject& rNewObj) : SdrUndoObj(rNewObj) , pUndoGeo(nullptr) @@ -686,7 +681,6 @@ OUString SdrUndoGeoObj::GetComment() const } - SdrUndoObjList::SdrUndoObjList(SdrObject& rNewObj, bool bOrdNumDirect) : SdrUndoObj(rNewObj) , bOwner(false) @@ -771,7 +765,6 @@ SdrUndoRemoveObj::~SdrUndoRemoveObj() } - void SdrUndoInsertObj::Undo() { // Trigger PageChangeCall @@ -860,7 +853,6 @@ OUString SdrUndoDelObj::GetSdrRepeatComment(SdrView& /*rView*/) const } - void SdrUndoNewObj::Undo() { SdrUndoInsertObj::Undo(); @@ -980,7 +972,6 @@ void SdrUndoReplaceObj::SetOldOwner(bool bNew) } - OUString SdrUndoCopyObj::GetComment() const { OUString aStr; @@ -1011,7 +1002,6 @@ void SdrUndoObjectLayerChange::Redo() } - SdrUndoObjOrdNum::SdrUndoObjOrdNum(SdrObject& rNewObj, sal_uInt32 nOldOrdNum1, sal_uInt32 nNewOrdNum1) : SdrUndoObj(rNewObj) , nOldOrdNum(nOldOrdNum1) @@ -1055,7 +1045,6 @@ OUString SdrUndoObjOrdNum::GetComment() const } - SdrUndoObjSetText::SdrUndoObjSetText(SdrObject& rNewObj, sal_Int32 nText) : SdrUndoObj(rNewObj) , pOldText(nullptr) @@ -1314,7 +1303,6 @@ SdrUndoLayer::~SdrUndoLayer() } - void SdrUndoNewLayer::Undo() { DBG_ASSERT(!bItsMine,"SdrUndoNewLayer::Undo(): Layer already belongs to UndoAction."); @@ -1336,7 +1324,6 @@ OUString SdrUndoNewLayer::GetComment() const } - void SdrUndoDelLayer::Undo() { DBG_ASSERT(bItsMine,"SdrUndoDelLayer::Undo(): Layer does not belong to UndoAction."); @@ -1358,7 +1345,6 @@ OUString SdrUndoDelLayer::GetComment() const } - void SdrUndoMoveLayer::Undo() { SdrLayer* pCmpLayer= pLayerAdmin->RemoveLayer(nNeuPos); @@ -1442,7 +1428,6 @@ void SdrUndoPage::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr, } - SdrUndoPageList::SdrUndoPageList(SdrPage& rNewPg) : SdrUndoPage(rNewPg) , bItsMine(false) @@ -1459,7 +1444,6 @@ SdrUndoPageList::~SdrUndoPageList() } - SdrUndoDelPage::SdrUndoDelPage(SdrPage& rNewPg) : SdrUndoPageList(rNewPg) , pUndoGroup(nullptr) @@ -1610,7 +1594,6 @@ void SdrUndoDelPage::restoreFillBitmap() } - void SdrUndoNewPage::Undo() { ImpRemovePage(nPageNum); @@ -1633,7 +1616,6 @@ OUString SdrUndoNewPage::GetComment() const } - OUString SdrUndoCopyPage::GetComment() const { OUString aStr; @@ -1659,7 +1641,6 @@ bool SdrUndoCopyPage::CanSdrRepeat(SdrView& /*rView*/) const } - void SdrUndoSetPageNum::Undo() { ImpMovePage(nNewPageNum,nOldPageNum); diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 3c20ccaabf5b..e1dbaa3a30d5 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -51,7 +51,6 @@ #include <drawinglayer/processor2d/contourextractor2d.hxx> - SdrViewEvent::SdrViewEvent() : pHdl(nullptr), pObj(nullptr), @@ -152,7 +151,6 @@ SdrDropMarkerOverlay::~SdrDropMarkerOverlay() } - SdrView::SdrView(SdrModel* pModel1, OutputDevice* pOut) : SdrCreateView(pModel1,pOut), bNoExtendedMouseDispatcher(false), diff --git a/svx/source/svdraw/svdviter.cxx b/svx/source/svdraw/svdviter.cxx index 3cdfc2c1b57f..a34a9e510689 100644 --- a/svx/source/svdraw/svdviter.cxx +++ b/svx/source/svdraw/svdviter.cxx @@ -28,7 +28,6 @@ #include <svx/sdrpaintwindow.hxx> - void SdrViewIter::ImpInitVars() { mnListenerNum = 0L; @@ -38,7 +37,6 @@ void SdrViewIter::ImpInitVars() } - SdrViewIter::SdrViewIter(const SdrPage* pPage, bool bNoMasterPage) { mpPage = pPage; @@ -49,7 +47,6 @@ SdrViewIter::SdrViewIter(const SdrPage* pPage, bool bNoMasterPage) } - SdrViewIter::SdrViewIter(const SdrObject* pObject, bool bNoMasterPage) { mpObject = pObject; @@ -67,7 +64,6 @@ SdrViewIter::SdrViewIter(const SdrObject* pObject, bool bNoMasterPage) } - bool SdrViewIter::ImpCheckPageView(SdrPageView* pPV) const { if(!mpPage) @@ -167,7 +163,6 @@ SdrView* SdrViewIter::ImpFindView() } - SdrView* SdrViewIter::FirstView() { ImpInitVars(); @@ -175,7 +170,6 @@ SdrView* SdrViewIter::FirstView() } - SdrView* SdrViewIter::NextView() { mnListenerNum++; diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx index ab6c8a4c8d2b..83586cc7f828 100644 --- a/svx/source/svdraw/svdxcgv.cxx +++ b/svx/source/svdraw/svdxcgv.cxx @@ -525,7 +525,6 @@ BitmapEx SdrExchangeView::GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked) const } - GDIMetaFile SdrExchangeView::GetMarkedObjMetaFile(bool bNoVDevIfOneMtfMarked) const { GDIMetaFile aMtf; @@ -587,7 +586,6 @@ GDIMetaFile SdrExchangeView::GetMarkedObjMetaFile(bool bNoVDevIfOneMtfMarked) co } - Graphic SdrExchangeView::GetAllMarkedGraphic() const { Graphic aRet; @@ -604,7 +602,6 @@ Graphic SdrExchangeView::GetAllMarkedGraphic() const } - Graphic SdrExchangeView::GetObjGraphic( const SdrModel* pModel, const SdrObject* pObj ) { Graphic aRet; @@ -672,7 +669,6 @@ Graphic SdrExchangeView::GetObjGraphic( const SdrModel* pModel, const SdrObject* } - ::std::vector< SdrObject* > SdrExchangeView::GetMarkedObjects() const { SortMarkedObjects(); @@ -710,7 +706,6 @@ Graphic SdrExchangeView::GetObjGraphic( const SdrModel* pModel, const SdrObject* } - void SdrExchangeView::DrawMarkedObj(OutputDevice& rOut) const { ::std::vector< SdrObject* > aSdrObjects(GetMarkedObjects()); @@ -726,7 +721,6 @@ void SdrExchangeView::DrawMarkedObj(OutputDevice& rOut) const } - SdrModel* SdrExchangeView::GetMarkedObjModel() const { // Sorting the MarkList here might be problematic in the future, so @@ -779,7 +773,6 @@ SdrModel* SdrExchangeView::GetMarkedObjModel() const } - bool SdrExchangeView::Cut( sal_uIntPtr /*nFormat */) { OSL_FAIL( "SdrExchangeView::Cut: Not supported any more." ); @@ -787,7 +780,6 @@ bool SdrExchangeView::Cut( sal_uIntPtr /*nFormat */) } - bool SdrExchangeView::Yank(sal_uIntPtr /*nFormat*/) { OSL_FAIL( "SdrExchangeView::Yank: Not supported any more." ); @@ -795,7 +787,6 @@ bool SdrExchangeView::Yank(sal_uIntPtr /*nFormat*/) } - bool SdrExchangeView::Paste(vcl::Window* /*pWin*/, sal_uIntPtr /*nFormat*/) { OSL_FAIL( "SdrExchangeView::Paste: Not supported any more." ); diff --git a/svx/source/svdraw/textchaincursor.cxx b/svx/source/svdraw/textchaincursor.cxx index 23bd8f54a0a3..798720563f9a 100644 --- a/svx/source/svdraw/textchaincursor.cxx +++ b/svx/source/svdraw/textchaincursor.cxx @@ -164,7 +164,6 @@ void TextChainCursorManager::HandleCursorEvent( SdrTextObj *pPrevLink = mpTextObj->GetPrevLinkInChain(); - switch ( aCurEvt ) { case CursorChainingEvent::UNCHANGED: // Set same selection as before the chaining (which is saved as PostChainingSel) |