diff options
30 files changed, 23 insertions, 108 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index 272ed2fe97b7..86786e8f7dc6 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -62,7 +62,7 @@ DlgEditor& DlgEdObj::GetDialogEditor () } DlgEdObj::DlgEdObj() - :SdrUnoObj(OUString(), false) + :SdrUnoObj(OUString()) ,bIsListening(false) ,pDlgEdForm( nullptr ) { @@ -70,7 +70,7 @@ DlgEdObj::DlgEdObj() DlgEdObj::DlgEdObj(const OUString& rModelName, const css::uno::Reference< css::lang::XMultiServiceFactory >& rxSFac) - :SdrUnoObj(rModelName, rxSFac, false) + :SdrUnoObj(rModelName, rxSFac) ,bIsListening(false) ,pDlgEdForm( nullptr ) { diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index 88409708d340..460fef5b15a9 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -95,7 +95,7 @@ SvxBitmapTabPage::SvxBitmapTabPage( vcl::Window* pParent, const SfxItemSet& rIn m_pCtlPreview->set_width_request(aSize2.Width()); m_pCtlPreview->set_height_request(aSize2.Height()); - m_pBitmapCtl = new SvxBitmapCtl(this, aSize2); + m_pBitmapCtl = new SvxBitmapCtl; // this page needs ExchangeSupport SetExchangeSupport(); diff --git a/include/svx/EnhancedCustomShape2d.hxx b/include/svx/EnhancedCustomShape2d.hxx index c4052fb65834..667ad5c18c73 100644 --- a/include/svx/EnhancedCustomShape2d.hxx +++ b/include/svx/EnhancedCustomShape2d.hxx @@ -151,10 +151,6 @@ class SVX_DLLPUBLIC EnhancedCustomShape2d : public SfxItemSet { HandleFlags nFlags; - bool bMirroredX; - bool bMirroredY; - bool bSwitched; - css::drawing::EnhancedCustomShapeParameterPair aPosition; css::drawing::EnhancedCustomShapeParameterPair aPolar; @@ -172,9 +168,6 @@ class SVX_DLLPUBLIC EnhancedCustomShape2d : public SfxItemSet Handle() : nFlags(HandleFlags::NONE) - , bMirroredX ( false ) - , bMirroredY ( false ) - , bSwitched( false ) , nRefX( -1 ) , nRefY( -1 ) , nRefAngle( -1 ) diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index f19a07e66284..9757cd0e7d38 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -149,13 +149,12 @@ public: class SVX_DLLPUBLIC SAL_WARN_UNUSED SvxBitmapCtl { protected: - Size aSize; sal_uInt16 nLines; Color aPixelColor, aBackgroundColor; const sal_uInt16* pBmpArray; public: - SvxBitmapCtl( vcl::Window* pParent, const Size& rSize ); + SvxBitmapCtl(); ~SvxBitmapCtl(); BitmapEx GetBitmapEx(); diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx index dad6668973f1..9747eab45432 100644 --- a/include/svx/fmgridif.hxx +++ b/include/svx/fmgridif.hxx @@ -210,7 +210,6 @@ class SVX_DLLPUBLIC SAL_WARN_UNUSED FmXGridControl :public UnoControl FmXGridControlMultiplexer m_aGridControlListeners; protected: - sal_uInt16 m_nPeerCreationLevel; bool m_bInDraw; css::uno::Reference< css::uno::XComponentContext > m_xContext; diff --git a/include/svx/fmshell.hxx b/include/svx/fmshell.hxx index 0549cbd31d2d..9c00f8ce9ba3 100644 --- a/include/svx/fmshell.hxx +++ b/include/svx/fmshell.hxx @@ -74,7 +74,6 @@ class SVX_DLLPUBLIC FmFormShell : public SfxShell FmXFormShell* m_pImpl; FmFormView* m_pFormView; FmFormModel* m_pFormModel; - SfxViewShell* m_pParentShell; sal_uInt16 m_nLastSlot; bool m_bDesignMode : 1; diff --git a/include/svx/gallery1.hxx b/include/svx/gallery1.hxx index 8c334f0662b7..dc5d0a9fd479 100644 --- a/include/svx/gallery1.hxx +++ b/include/svx/gallery1.hxx @@ -108,7 +108,6 @@ private: GalleryCacheThemeList aThemeCache; INetURLObject aRelURL; INetURLObject aUserURL; - rtl_TextEncoding nReadTextEncoding; bool bMultiPath; SAL_DLLPRIVATE void ImplLoad( const OUString& rMultiPath ); diff --git a/include/svx/galtheme.hxx b/include/svx/galtheme.hxx index 6d44850bad47..6c18776e5431 100644 --- a/include/svx/galtheme.hxx +++ b/include/svx/galtheme.hxx @@ -59,20 +59,6 @@ class SgaObject; class FmFormModel; class ListBox; - -// - GalDragParams - - - -struct GalDragParams -{ - vcl::Region aDragRegion; - sal_uIntPtr nDragObjPos; - OUString aThemeName; - OUString aFileName; - SgaObjKind eObjKind; -}; - - // - GalleryTheme - diff --git a/include/svx/msdffdef.hxx b/include/svx/msdffdef.hxx index 7d4323be5618..fc2f7aff8830 100644 --- a/include/svx/msdffdef.hxx +++ b/include/svx/msdffdef.hxx @@ -767,20 +767,7 @@ enum MSO_LineCap { // Various enums from the OfficeDraw documentation Appendix D - End // BStore-Container -// FBSE - File Blip Store Entry -struct MSOF_BSE { - sal_uInt8 btWin32; // Required type on Win32 - sal_uInt8 btMacOS; // Required type on Mac - sal_uInt8 rgbUid[16]; // Identifier of blip - sal_uInt16 tag; // currently unused - sal_uIntPtr size; // Blip size in stream - sal_uIntPtr cRef; // Reference count on the blip - sal_uIntPtr /*MSOFO*/ foDelay; // File offset in the delay stream - sal_uInt8 usage; // How this blip is used (MSOBLIPUSAGE) - sal_uInt8 cbName; // length of the blip name - sal_uInt8 unused2; // for the future - sal_uInt8 unused3; // for the future -}; + enum MSO_BLIPUSAGE { mso_blipUsageDefault, // All non-texture fill blips get this. diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index dca1fd9dee4a..cc4beda36eab 100644 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -206,7 +206,6 @@ private: bool bFormat; SearchOptionFlags nOptions; bool bSet; - bool bReadOnly; bool bConstruct; sal_uIntPtr nModifyFlag; OUString aStylesStr; diff --git a/include/svx/svdetc.hxx b/include/svx/svdetc.hxx index 48698441d128..0cc1798979ca 100644 --- a/include/svx/svdetc.hxx +++ b/include/svx/svdetc.hxx @@ -65,8 +65,6 @@ SVX_DLLPUBLIC SdrOutliner* SdrMakeOutliner(sal_uInt16 nOutlinerMode, SdrModel& r class SVX_DLLPUBLIC SdrEngineDefaults { friend class SdrAttrObj; - OUString aFontName; - FontFamily eFontFamily; Color aFontColor; sal_uIntPtr nFontHeight; MapUnit eMapUnit; @@ -228,10 +226,8 @@ class SVX_DLLPUBLIC SdrGlobalData public: SdrLinkList aUserMakeObjHdl; SdrLinkList aUserMakeObjUserDataHdl; - SdrOutliner* pOutliner; SdrEngineDefaults* pDefaults; ResMgr* pResMgr; - sal_uIntPtr nExchangeFormat; OLEObjCache aOLEObjCache; diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index 8f80c02fa697..49e8c551cb3f 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -125,7 +125,6 @@ public: Rectangle maRectangle; const SdrPage* mpPage; const SdrObject* mpObj; - const SdrObjList* mpObjList; SdrHintKind meHint; public: @@ -153,7 +152,6 @@ struct SdrModelImpl; class SVX_DLLPUBLIC SdrModel : public SfxBroadcaster, public tools::WeakBase< SdrModel > { protected: - DateTime aReadDate; // date of the incoming stream std::vector<SdrPage*> maMaPag; // master pages std::vector<SdrPage*> maPages; Link<SdrUndoAction*,void> aUndoLink; // link to a NotifyUndo-Handler diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx index 132b5b8416f3..d43bc5062575 100644 --- a/include/svx/svdotext.hxx +++ b/include/svx/svdotext.hxx @@ -102,7 +102,6 @@ class ImpSdrObjTextLinkUserData : public SdrObjUserData friend class SdrTextObj; friend class ImpSdrObjTextLink; - SdrTextObj* pObj; OUString aFileName; // Name des referenzierten Dokuments OUString aFilterName; // ggf. ein Filter DateTime aFileDate0; // Unnoetiges neuladen vermeiden @@ -110,7 +109,7 @@ class ImpSdrObjTextLinkUserData : public SdrObjUserData rtl_TextEncoding eCharSet; public: - ImpSdrObjTextLinkUserData(SdrTextObj* pObj1); + ImpSdrObjTextLinkUserData(); virtual ~ImpSdrObjTextLinkUserData(); virtual SdrObjUserData* Clone(SdrObject* pObj1) const override; @@ -226,7 +225,6 @@ public: void SetTextEditOffset(const Point& rNew) { maTextEditOffset = rNew; } protected: - OverflowingText *mpOverflowingText = nullptr; bool mbIsUnchainableClone = false; // the successor in a chain diff --git a/include/svx/svdouno.hxx b/include/svx/svdouno.hxx index 3ffe9698d431..73f086486755 100644 --- a/include/svx/svdouno.hxx +++ b/include/svx/svdouno.hxx @@ -53,7 +53,6 @@ class SVX_DLLPUBLIC SdrUnoObj : public SdrRectObj OUString aUnoControlModelTypeName; OUString aUnoControlTypeName; - bool bOwnUnoControlModel; protected: css::uno::Reference< css::awt::XControlModel > xUnoControlModel; // kann auch von aussen gesetzt werden @@ -65,10 +64,9 @@ private: public: - explicit SdrUnoObj(const OUString& rModelName, bool bOwnsModel = true); + explicit SdrUnoObj(const OUString& rModelName); SdrUnoObj(const OUString& rModelName, - const css::uno::Reference< css::lang::XMultiServiceFactory >& rxSFac, - bool bOwnsModel = true); + const css::uno::Reference< css::lang::XMultiServiceFactory >& rxSFac); virtual ~SdrUnoObj(); virtual void SetPage(SdrPage* pNewPage) override; diff --git a/include/svx/svdsnpv.hxx b/include/svx/svdsnpv.hxx index 6f39b104c31a..e041b7e0bdb6 100644 --- a/include/svx/svdsnpv.hxx +++ b/include/svx/svdsnpv.hxx @@ -63,7 +63,7 @@ protected: Fraction aSnapWdtX; Fraction aSnapWdtY; - sal_uInt16 nMagnSizPix; + sal_uInt16 nMagnSizPix; long nSnapAngle; long nEliminatePolyPointLimitAngle; @@ -71,16 +71,11 @@ protected: bool bSnapEnab : 1; bool bGridSnap : 1; - bool bSnapTo1Pix : 1; // If GridSnap off, snap to one Pixel to avoid values like 10.01 bool bBordSnap : 1; bool bHlplSnap : 1; bool bOFrmSnap : 1; bool bOPntSnap : 1; bool bOConSnap : 1; - bool bMoveMFrmSnap : 1; - bool bMoveOFrmSnap : 1; - bool bMoveOPntSnap : 1; - bool bMoveOConSnap : 1; bool bMoveSnapOnlyTopLeft : 1; // Special for dialogeditor bool bOrtho : 1; bool bBigOrtho : 1; diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx index d90345c35561..966e40849450 100644 --- a/include/svx/svdundo.hxx +++ b/include/svx/svdundo.hxx @@ -238,8 +238,6 @@ private: protected: SdrObjList* pObjList; - SdrView* pView; // To be able to re-create the selection for a - SdrPageView* pPageView; // for a ObjDel, Undo sal_uInt32 nOrdNum; protected: diff --git a/include/svx/svdview.hxx b/include/svx/svdview.hxx index 5414581e48af..eb2b653606ea 100644 --- a/include/svx/svdview.hxx +++ b/include/svx/svdview.hxx @@ -102,7 +102,6 @@ struct SVX_DLLPUBLIC SdrViewEvent Point aLogicPos; SdrHitKind eHit; SdrEventKind eEvent; - SdrHdlKind eHdlKind; SdrCreateCmd eEndCreateCmd; // for EndInsPoint too sal_uInt16 nMouseClicks; @@ -113,7 +112,6 @@ struct SVX_DLLPUBLIC SdrViewEvent bool bMouseDown : 1; bool bMouseUp : 1; - bool bDoubleHdlSize : 1; // Double Handlesize because of TextEdit bool bIsAction : 1; // Action is active bool bIsTextEdit : 1; // TextEdit runs currently bool bTextEditHit : 1; // hit open OutlinerView? diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx index 629c73151ff9..c7fd48ffec2b 100644 --- a/reportdesign/source/core/sdr/RptObject.cxx +++ b/reportdesign/source/core/sdr/RptObject.cxx @@ -581,7 +581,7 @@ void OCustomShape::impl_setUnoShape( const uno::Reference< uno::XInterface >& rx OUnoObject::OUnoObject(const OUString& _sComponentName ,const OUString& rModelName ,sal_uInt16 _nObjectType) - :SdrUnoObj(rModelName, true) + :SdrUnoObj(rModelName) ,OObjectBase(_sComponentName) ,m_nObjectType(_nObjectType) { @@ -592,7 +592,7 @@ OUnoObject::OUnoObject(const OUString& _sComponentName OUnoObject::OUnoObject(const uno::Reference< report::XReportComponent>& _xComponent ,const OUString& rModelName ,sal_uInt16 _nObjectType) - :SdrUnoObj(rModelName, true) + :SdrUnoObj(rModelName) ,OObjectBase(_xComponent) ,m_nObjectType(_nObjectType) { diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index 9ac39b334142..d1b9a485f61a 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -1119,9 +1119,8 @@ void SvxPixelCtl::Reset() // Constructor: BitmapCtl for SvxPixelCtl -SvxBitmapCtl::SvxBitmapCtl( vcl::Window* /*pParent*/, const Size& rSize ) - : aSize(rSize) - , nLines(0) +SvxBitmapCtl::SvxBitmapCtl() + : nLines(0) , pBmpArray(nullptr) { } diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 54ee17f290d8..5741e29eeeda 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -258,7 +258,6 @@ SvxSearchDialog::SvxSearchDialog( vcl::Window* pParent, SfxChildWindow* pChildWi , bFormat(false) , nOptions(SearchOptionFlags::ALL) , bSet(false) - , bReadOnly(false) , bConstruct(true) , nModifyFlag(0) , pImpl(nullptr) diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index e91d2f32b576..12adb13e440a 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -342,7 +342,6 @@ FmXGridControl::FmXGridControl(const Reference< XComponentContext >& _rxContext) ,m_aContainerListeners(*this, GetMutex()) ,m_aSelectionListeners(*this, GetMutex()) ,m_aGridControlListeners(*this, GetMutex()) - ,m_nPeerCreationLevel(0) ,m_bInDraw(false) ,m_xContext(_rxContext) { diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index e9e39a0cf100..c8bbc1bc60bd 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -207,7 +207,6 @@ FmFormShell::FmFormShell( SfxViewShell* _pParent, FmFormView* pView ) ,m_pImpl(new FmXFormShell(*this, _pParent->GetViewFrame())) ,m_pFormView( pView ) ,m_pFormModel( nullptr ) - ,m_pParentShell(_pParent) ,m_nLastSlot( 0 ) ,m_bDesignMode( true ) ,m_bHasForms(false) diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index fb8132586cd5..a5ce139331ad 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -166,8 +166,7 @@ public: // - Gallery - Gallery::Gallery( const OUString& rMultiPath ) -: nReadTextEncoding ( osl_getThreadTextEncoding() ) -, bMultiPath ( false ) +: bMultiPath ( false ) { ImplLoad( rMultiPath ); } diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx index 9efc087bfef5..1912588117ba 100644 --- a/svx/source/svdraw/svdetc.cxx +++ b/svx/source/svdraw/svdetc.cxx @@ -71,10 +71,8 @@ using namespace ::com::sun::star; SdrGlobalData::SdrGlobalData() : pSysLocale(nullptr), pLocaleData(nullptr), - pOutliner(nullptr), pDefaults(nullptr), - pResMgr(nullptr), - nExchangeFormat(0) + pResMgr(nullptr) { if (!utl::ConfigManager::IsAvoidConfig()) { @@ -397,8 +395,6 @@ bool GetDraftFillColor(const SfxItemSet& rSet, Color& rCol) } SdrEngineDefaults::SdrEngineDefaults(): - aFontName( OutputDevice::GetDefaultFont( DefaultFontType::SERIF, LANGUAGE_SYSTEM, GetDefaultFontFlags::OnlyOne ).GetName() ), - eFontFamily(FAMILY_ROMAN), aFontColor(COL_AUTO), nFontHeight(847), // 847/100mm = ca. 24 Point eMapUnit(MAP_100TH_MM), diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index 7a688dac7c6d..9d3fe0747384 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -234,7 +234,6 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe } SdrModel::SdrModel(): - aReadDate( DateTime::EMPTY ), maMaPag(), maPages() { @@ -242,7 +241,6 @@ SdrModel::SdrModel(): } SdrModel::SdrModel(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable, bool bLoadRefCounts): - aReadDate( DateTime::EMPTY ), maMaPag(), maPages() { @@ -250,7 +248,6 @@ SdrModel::SdrModel(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, boo } SdrModel::SdrModel(const OUString& rPath, SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable, bool bLoadRefCounts): - aReadDate( DateTime::EMPTY ), maMaPag(), maPages(), aTablePath(rPath) @@ -2101,7 +2098,6 @@ const css::uno::Sequence< sal_Int8 >& SdrModel::getUnoTunnelImplementationId() SdrHint::SdrHint(SdrHintKind eNewHint) : mpPage(nullptr), mpObj(nullptr), - mpObjList(nullptr), meHint(eNewHint) { } @@ -2109,7 +2105,6 @@ SdrHint::SdrHint(SdrHintKind eNewHint) SdrHint::SdrHint(const SdrObject& rNewObj) : mpPage(rNewObj.GetPage()), mpObj(&rNewObj), - mpObjList(rNewObj.GetObjList()), meHint(HINT_OBJCHG) { maRectangle = rNewObj.GetLastBoundRect(); diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx index 840dbbe618a3..7374491a40ed 100644 --- a/svx/source/svdraw/svdotxln.cxx +++ b/svx/source/svdraw/svdotxln.cxx @@ -100,9 +100,8 @@ void ImpSdrObjTextLink::Closed() } -ImpSdrObjTextLinkUserData::ImpSdrObjTextLinkUserData(SdrTextObj* pObj1): +ImpSdrObjTextLinkUserData::ImpSdrObjTextLinkUserData(): SdrObjUserData(SdrInventor,SDRUSERDATA_OBJTEXTLINK,0), - pObj(pObj1), aFileDate0( DateTime::EMPTY ), pLink(nullptr), eCharSet(RTL_TEXTENCODING_DONTKNOW) @@ -114,9 +113,9 @@ ImpSdrObjTextLinkUserData::~ImpSdrObjTextLinkUserData() delete pLink; } -SdrObjUserData* ImpSdrObjTextLinkUserData::Clone(SdrObject* pObj1) const +SdrObjUserData* ImpSdrObjTextLinkUserData::Clone(SdrObject* ) const { - ImpSdrObjTextLinkUserData* pData=new ImpSdrObjTextLinkUserData(static_cast<SdrTextObj*>(pObj1)); + ImpSdrObjTextLinkUserData* pData=new ImpSdrObjTextLinkUserData; pData->aFileName =aFileName; pData->aFilterName=aFilterName; pData->aFileDate0 =aFileDate0; @@ -135,7 +134,7 @@ void SdrTextObj::SetTextLink(const OUString& rFileName, const OUString& rFilterN if (pData!=nullptr) { ReleaseTextLink(); } - pData=new ImpSdrObjTextLinkUserData(this); + pData=new ImpSdrObjTextLinkUserData; pData->aFileName=rFileName; pData->aFilterName=rFilterName; pData->eCharSet=eCharSet; diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx index d51809ad0372..1f2b33e909f0 100644 --- a/svx/source/svdraw/svdouno.cxx +++ b/svx/source/svdraw/svdouno.cxx @@ -148,9 +148,8 @@ namespace } -SdrUnoObj::SdrUnoObj(const OUString& rModelName, bool _bOwnUnoControlModel) -: m_pImpl( new SdrUnoObjDataHolder ), - bOwnUnoControlModel( _bOwnUnoControlModel ) +SdrUnoObj::SdrUnoObj(const OUString& rModelName) +: m_pImpl( new SdrUnoObjDataHolder ) { bIsUnoObj = true; @@ -162,10 +161,8 @@ SdrUnoObj::SdrUnoObj(const OUString& rModelName, bool _bOwnUnoControlModel) } SdrUnoObj::SdrUnoObj(const OUString& rModelName, - const uno::Reference< lang::XMultiServiceFactory >& rxSFac, - bool _bOwnUnoControlModel) -: m_pImpl( new SdrUnoObjDataHolder ), - bOwnUnoControlModel( _bOwnUnoControlModel ) + const uno::Reference< lang::XMultiServiceFactory >& rxSFac) +: m_pImpl( new SdrUnoObjDataHolder ) { bIsUnoObj = true; diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx index 2a97790136cc..3d00bf91e14a 100644 --- a/svx/source/svdraw/svdsnpv.cxx +++ b/svx/source/svdraw/svdsnpv.cxx @@ -184,16 +184,11 @@ SdrSnapView::SdrSnapView(SdrModel* pModel1, OutputDevice* pOut) , eCrookMode(SDRCROOK_ROTATE) , bSnapEnab(true) , bGridSnap(true) - , bSnapTo1Pix(true) , bBordSnap(true) , bHlplSnap(true) , bOFrmSnap(true) , bOPntSnap(false) , bOConSnap(true) - , bMoveMFrmSnap(true) - , bMoveOFrmSnap(true) - , bMoveOPntSnap(true) - , bMoveOConSnap(true) , bMoveSnapOnlyTopLeft(false) , bOrtho(false) , bBigOrtho(true) diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index f9132dc38ec6..b3cf6ae637fa 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -681,8 +681,6 @@ OUString SdrUndoGeoObj::GetComment() const SdrUndoObjList::SdrUndoObjList(SdrObject& rNewObj, bool bOrdNumDirect) : SdrUndoObj(rNewObj) , bOwner(false) - , pView(nullptr) - , pPageView(nullptr) { pObjList=pObj->GetObjList(); if (bOrdNumDirect) diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 526a7b281c13..3c20ccaabf5b 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -60,7 +60,6 @@ SdrViewEvent::SdrViewEvent() pURLField(nullptr), eHit(SDRHIT_NONE), eEvent(SDREVENT_NONE), - eHdlKind(HDL_MOVE), eEndCreateCmd(SDRCREATE_NEXTPOINT), nMouseClicks(0), nMouseMode(MouseEventModifiers::NONE), @@ -69,7 +68,6 @@ SdrViewEvent::SdrViewEvent() nGlueId(0), bMouseDown(false), bMouseUp(false), - bDoubleHdlSize(false), bIsAction(false), bIsTextEdit(false), bTextEditHit(false), |