diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-02 09:12:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-02 12:29:23 +0200 |
commit | 776a1b9b6b9c574d28b3a321a0f3f8110f34ac90 (patch) | |
tree | 5daf8ccb90a0a6e2781d0795522299ef6ecdc8f7 /sd | |
parent | d241107b21e5d2bef3cbc408b020a0c8567b9e15 (diff) |
clang-tidy:readability-redundant-member-init
Change-Id: I0a9b238c0ba551b330bee7b89eb6cd48fad1b265
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121488
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
93 files changed, 56 insertions, 323 deletions
diff --git a/sd/source/core/cusshow.cxx b/sd/source/core/cusshow.cxx index 19b0635fdded..8b51a613da45 100644 --- a/sd/source/core/cusshow.cxx +++ b/sd/source/core/cusshow.cxx @@ -31,7 +31,6 @@ using namespace ::com::sun::star; |* \************************************************************************/ SdCustomShow::SdCustomShow() - : maPages() { } @@ -47,8 +46,7 @@ SdCustomShow::SdCustomShow( const SdCustomShow& rShow ) } SdCustomShow::SdCustomShow(css::uno::Reference< css::uno::XInterface > const & xShow ) - : maPages(), - mxUnoCustomShow( xShow ) + : mxUnoCustomShow( xShow ) { } diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 4791f4696910..8917dd23b44e 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -373,7 +373,6 @@ ShapeExport& PowerPointShapeExport::WriteUnknownShape(const Reference< XShape >& PowerPointExport::PowerPointExport(const Reference< XComponentContext >& rContext, const uno::Sequence<uno::Any>& rArguments) : XmlFilterBase(rContext) - , PPTWriterBase() , mnLayoutFileIdMax(1) , mnSlideIdMax(1 << 8) , mnSlideMasterIdMax(1U << 31) diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx index fa030624a798..14b760e4d3e7 100644 --- a/sd/source/filter/eppt/pptx-text.cxx +++ b/sd/source/filter/eppt/pptx-text.cxx @@ -648,10 +648,7 @@ PortionObj& PortionObj::operator=( const PortionObj& rPortionObj ) ParagraphObj::ParagraphObj(const css::uno::Reference< css::beans::XPropertySet > & rXPropSet, PPTExBulletProvider* pProv) - : PropStateValue() - , SOParagraph() - , mvPortions() - , mnTextSize(0) + : mnTextSize(0) , mbFirstParagraph(false) , mbLastParagraph(false) , mnTextAdjust(0) @@ -676,10 +673,7 @@ ParagraphObj::ParagraphObj(const css::uno::Reference< css::beans::XPropertySet > ParagraphObj::ParagraphObj(css::uno::Reference< css::text::XTextContent > const & rXTextContent, ParaFlags aParaFlags, FontCollection& rFontCollection, PPTExBulletProvider& rProv ) - : PropStateValue() - , SOParagraph() - , mvPortions() - , mnTextSize(0) + : mnTextSize(0) , mbIsBullet(false) , mbFirstParagraph( aParaFlags.bFirstParagraph ) , mbLastParagraph( aParaFlags.bLastParagraph ) @@ -1260,7 +1254,6 @@ struct ImplTextObj ImplTextObj::ImplTextObj( int nInstance ) : mnTextSize(0), mnInstance(nInstance), - maList(), mbHasExtendedBullets(false) { } diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx index 9f6b80f1f4bf..a73561ee446a 100644 --- a/sd/source/filter/html/htmlex.cxx +++ b/sd/source/filter/html/htmlex.cxx @@ -348,7 +348,6 @@ HtmlExport::HtmlExport( : maPath( aPath ), mpDoc(pExpDoc), mpDocSh( pDocShell ), - meEC(), meMode( PUBLISH_SINGLE_DOCUMENT ), mbContentsPage(false), mnButtonThema(-1), diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx index 3ce13b899ef9..51754b8f5158 100644 --- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx +++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx @@ -628,7 +628,6 @@ AccessibleSlideSorterView::Implementation::Implementation ( vcl::Window* pWindow) : mrAccessibleSlideSorter(rAccessibleSlideSorter), mrSlideSorter(rSlideSorter), - maPageObjects(), mnFirstVisibleChild(0), mnLastVisibleChild(-1), mbListeningToDocument(false), diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index 3c67edc5c831..13a4fb652e29 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -238,7 +238,6 @@ public: CustomAnimationListEntryItem::CustomAnimationListEntryItem(const OUString& aDescription, const CustomAnimationEffectPtr& pEffect) : msDescription(aDescription) - , msEffectName(OUString()) , mpEffect(pEffect) { if (!mpEffect) diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 05a65c7e6307..8bae65604b1a 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -151,7 +151,6 @@ CustomAnimationPane::CustomAnimationPane( weld::Widget* pParent, ViewShellBase& , mnCurvePathPos(-1) , mnPolygonPathPos(-1) , mnFreeformPathPos(-1) - , maLateInitTimer() { initialize(); } diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index b3c3d4b44863..09298265a667 100644 --- a/sd/source/ui/animations/SlideTransitionPane.cxx +++ b/sd/source/ui/animations/SlideTransitionPane.cxx @@ -394,13 +394,11 @@ SlideTransitionPane::SlideTransitionPane( weld::Widget* pParent, ViewShellBase & rBase) : PanelLayout( pParent, "SlideTransitionsPanel", "modules/simpress/ui/slidetransitionspanel.ui" ), - mrBase( rBase ), mpDrawDoc( rBase.GetDocShell() ? rBase.GetDocShell()->GetDoc() : nullptr ), mbHasSelection( false ), mbUpdatingControls( false ), - mbIsMainViewChangePending( false ), - maLateInitTimer() + mbIsMainViewChangePending( false ) { Initialize(mpDrawDoc); } diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx index cf683aafd74d..40d7f370ff29 100644 --- a/sd/source/ui/animations/motionpathtag.cxx +++ b/sd/source/ui/animations/motionpathtag.cxx @@ -89,7 +89,6 @@ public: PathDragMove(SdrDragView& rNewView, const rtl::Reference <MotionPathTag >& xTag) : SdrDragMove(rNewView), - maPathPolyPolygon(), mxTag( xTag ) {} @@ -156,7 +155,6 @@ public: PathDragResize(SdrDragView& rNewView, const rtl::Reference <MotionPathTag >& xTag) : SdrDragResize(rNewView), - maPathPolyPolygon(), mxTag( xTag ) {} @@ -215,8 +213,7 @@ public: {} explicit PathDragObjOwn(SdrDragView& rNewView) - : SdrDragObjOwn(rNewView), - maPathPolyPolygon() + : SdrDragObjOwn(rNewView) {} virtual bool EndSdrDrag(bool bCopy) override; diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx index 8ac21d2258d9..f3ec8b3df514 100644 --- a/sd/source/ui/app/sdmod1.cxx +++ b/sd/source/ui/app/sdmod1.cxx @@ -537,8 +537,7 @@ OutlineToImpressFinalizer::OutlineToImpressFinalizer ( SdDrawDocument& rDocument, SvLockBytes const & rBytes) : mrBase(rBase), - mrDocument(rDocument), - mpStream() + mrDocument(rDocument) { // The given stream has a lifetime shorter than this new // OutlineToImpressFinalizer object. Therefore a local copy of the diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx index 02087f853f35..067515bdcea2 100644 --- a/sd/source/ui/app/sdxfer.cxx +++ b/sd/source/ui/app/sdxfer.cxx @@ -88,7 +88,6 @@ SdTransferable::SdTransferable( SdDrawDocument* pSrcDoc, ::sd::View* pWorkView, , mbLateInit( bInitOnGetData ) , mbPageTransferable( false ) , mbPageTransferablePersistent( false ) -, maUserData() { if( mpSourceDoc ) StartListening( *mpSourceDoc ); diff --git a/sd/source/ui/dlg/PaneShells.cxx b/sd/source/ui/dlg/PaneShells.cxx index de13bbba5fa3..8870d1186753 100644 --- a/sd/source/ui/dlg/PaneShells.cxx +++ b/sd/source/ui/dlg/PaneShells.cxx @@ -42,7 +42,6 @@ void LeftImpressPaneShell::InitInterface_Impl() LeftImpressPaneShell::LeftImpressPaneShell() - : SfxShell() { SetName("LeftImpressPane"); } @@ -67,7 +66,6 @@ void LeftDrawPaneShell::InitInterface_Impl() LeftDrawPaneShell::LeftDrawPaneShell() - : SfxShell() { SetName("LeftDrawPane"); } diff --git a/sd/source/ui/dlg/TemplateScanner.cxx b/sd/source/ui/dlg/TemplateScanner.cxx index 5d302c26156f..04f5e8261e90 100644 --- a/sd/source/ui/dlg/TemplateScanner.cxx +++ b/sd/source/ui/dlg/TemplateScanner.cxx @@ -109,13 +109,7 @@ class TemplateScanner::FolderDescriptorList TemplateScanner::TemplateScanner() : meState(INITIALIZE_SCANNING), - maFolderContent(), - mpFolderDescriptors(new FolderDescriptorList), - mxTemplateRoot(), - mxFolderEnvironment(), - mxEntryEnvironment(), - mxFolderResultSet(), - mxEntryResultSet() + mpFolderDescriptors(new FolderDescriptorList) { // empty; } diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx index 6d8edd3e911a..da633a540b5e 100644 --- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx +++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx @@ -51,10 +51,7 @@ namespace sd::framework { ChangeRequestQueueProcessor::ChangeRequestQueueProcessor ( const std::shared_ptr<ConfigurationUpdater>& rpConfigurationUpdater) - : maMutex(), - maQueue(), - mnUserEventId(nullptr), - mxConfiguration(), + : mnUserEventId(nullptr), mpConfigurationUpdater(rpConfigurationUpdater) { } diff --git a/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx b/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx index e2b799a0c912..99fc1297d7f4 100644 --- a/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx @@ -33,9 +33,7 @@ ConfigurationClassifier::ConfigurationClassifier ( const Reference<XConfiguration>& rxConfiguration1, const Reference<XConfiguration>& rxConfiguration2) : mxConfiguration1(rxConfiguration1), - mxConfiguration2(rxConfiguration2), - maC1minusC2(), - maC2minusC1() + mxConfiguration2(rxConfiguration2) { } diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx index b2ec80bdee68..0a40bc8bc3f8 100644 --- a/sd/source/ui/framework/configuration/ConfigurationController.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx @@ -103,7 +103,6 @@ ConfigurationController::Lock::~Lock() ConfigurationController::ConfigurationController() noexcept : ConfigurationControllerInterfaceBase(MutexOwner::maMutex) - , mpImplementation() , mbIsDisposed(false) { } @@ -522,7 +521,6 @@ ConfigurationController::Implementation::Implementation ( mpConfigurationUpdater( std::make_shared<ConfigurationUpdater>(mpBroadcaster, mpResourceManager,mxControllerManager)), mpQueueProcessor(new ChangeRequestQueueProcessor(mpConfigurationUpdater)), - mpConfigurationUpdaterLock(), mnLockCount(0) { mpQueueProcessor->SetConfiguration(mxRequestedConfiguration); diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx index f9e491bf487e..5d9f22255051 100644 --- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx @@ -33,8 +33,7 @@ namespace sd::framework { ConfigurationControllerBroadcaster::ConfigurationControllerBroadcaster ( const Reference<XConfigurationController>& rxController) - : mxConfigurationController(rxController), - maListenerMap() + : mxConfigurationController(rxController) { } diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx index 8b536831561d..7c31619e8b48 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx @@ -65,14 +65,11 @@ ConfigurationUpdater::ConfigurationUpdater ( const std::shared_ptr<ConfigurationControllerBroadcaster>& rpBroadcaster, const std::shared_ptr<ConfigurationControllerResourceManager>& rpResourceManager, const Reference<XControllerManager>& rxControllerManager) - : mxControllerManager(), - mpBroadcaster(rpBroadcaster), + : mpBroadcaster(rpBroadcaster), mxCurrentConfiguration(Reference<XConfiguration>(new Configuration(nullptr, false))), - mxRequestedConfiguration(), mbUpdatePending(false), mbUpdateBeingProcessed(false), mnLockCount(0), - maUpdateTimer(), mnFailedUpdateCount(0), mpResourceManager(rpResourceManager) { diff --git a/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx b/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx index c3fc1b207ece..4817c1360201 100644 --- a/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx +++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx @@ -38,11 +38,7 @@ using namespace ::com::sun::star::drawing::framework; namespace sd::framework { ResourceFactoryManager::ResourceFactoryManager (const Reference<XControllerManager>& rxManager) - : maMutex(), - maFactoryMap(), - maFactoryPatternList(), - mxControllerManager(rxManager), - mxURLTransformer() + : mxControllerManager(rxManager) { // Create the URL transformer. Reference<uno::XComponentContext> xContext(::comphelper::getProcessComponentContext()); diff --git a/sd/source/ui/framework/configuration/ResourceId.cxx b/sd/source/ui/framework/configuration/ResourceId.cxx index 981e4105a607..d8dd98d9f06c 100644 --- a/sd/source/ui/framework/configuration/ResourceId.cxx +++ b/sd/source/ui/framework/configuration/ResourceId.cxx @@ -47,26 +47,20 @@ namespace sd::framework { WeakReference<util::XURLTransformer> ResourceId::mxURLTransformerWeak; ResourceId::ResourceId() - : ResourceIdInterfaceBase(), - maResourceURLs(0), - mpURL() + : maResourceURLs(0) { } ResourceId::ResourceId ( const std::vector<OUString>& rResourceURLs) - : ResourceIdInterfaceBase(), - maResourceURLs(rResourceURLs), - mpURL() + : maResourceURLs(rResourceURLs) { ParseResourceURL(); } ResourceId::ResourceId ( const OUString& rsResourceURL) - : ResourceIdInterfaceBase(), - maResourceURLs(1, rsResourceURL), - mpURL() + : maResourceURLs(1, rsResourceURL) { // Handle the special case of an empty resource URL. if (rsResourceURL.isEmpty()) @@ -77,9 +71,7 @@ ResourceId::ResourceId ( ResourceId::ResourceId ( const OUString& rsResourceURL, const OUString& rsAnchorURL) - : ResourceIdInterfaceBase(), - maResourceURLs(2), - mpURL() + : maResourceURLs(2) { maResourceURLs[0] = rsResourceURL; maResourceURLs[1] = rsAnchorURL; @@ -90,9 +82,7 @@ ResourceId::ResourceId ( const OUString& rsResourceURL, const OUString& rsFirstAnchorURL, const Sequence<OUString>& rAnchorURLs) - : ResourceIdInterfaceBase(), - maResourceURLs(2+rAnchorURLs.getLength()), - mpURL() + : maResourceURLs(2+rAnchorURLs.getLength()) { maResourceURLs[0] = rsResourceURL; maResourceURLs[1] = rsFirstAnchorURL; diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.cxx b/sd/source/ui/framework/factories/BasicPaneFactory.cxx index d60476dcaf76..b746090a6534 100644 --- a/sd/source/ui/framework/factories/BasicPaneFactory.cxx +++ b/sd/source/ui/framework/factories/BasicPaneFactory.cxx @@ -86,7 +86,6 @@ BasicPaneFactory::BasicPaneFactory ( const Reference<XComponentContext>& rxContext) : BasicPaneFactoryInterfaceBase(m_aMutex), mxComponentContext(rxContext), - mxConfigurationControllerWeak(), mpViewShellBase(nullptr), mpPaneContainer(new PaneContainer) { diff --git a/sd/source/ui/framework/factories/BasicToolBarFactory.cxx b/sd/source/ui/framework/factories/BasicToolBarFactory.cxx index c23053231e0a..b8ed1a055941 100644 --- a/sd/source/ui/framework/factories/BasicToolBarFactory.cxx +++ b/sd/source/ui/framework/factories/BasicToolBarFactory.cxx @@ -38,9 +38,7 @@ namespace sd::framework { //===== BasicToolBarFactory =================================================== BasicToolBarFactory::BasicToolBarFactory () - : BasicToolBarFactoryInterfaceBase(m_aMutex), - mxConfigurationController(), - mxController() + : BasicToolBarFactoryInterfaceBase(m_aMutex) { } diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx index 52505b8fab0b..d97c62d06d8e 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.cxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx @@ -83,7 +83,6 @@ public: BasicViewFactory::BasicViewFactory () : BasicViewFactoryInterfaceBase(MutexOwner::maMutex), - mxConfigurationController(), mpViewShellContainer(new ViewShellContainer()), mpBase(nullptr), mpFrameView(nullptr), diff --git a/sd/source/ui/framework/module/CenterViewFocusModule.cxx b/sd/source/ui/framework/module/CenterViewFocusModule.cxx index 44b6e75128dd..afb350666dfe 100644 --- a/sd/source/ui/framework/module/CenterViewFocusModule.cxx +++ b/sd/source/ui/framework/module/CenterViewFocusModule.cxx @@ -42,7 +42,6 @@ namespace sd::framework { CenterViewFocusModule::CenterViewFocusModule (Reference<frame::XController> const & rxController) : CenterViewFocusModuleInterfaceBase(MutexOwner::maMutex), mbValid(false), - mxConfigurationController(), mpBase(nullptr), mbNewViewCreated(false) { diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx index ff79439786d5..93d1efa9dbdf 100644 --- a/sd/source/ui/framework/module/ModuleController.cxx +++ b/sd/source/ui/framework/module/ModuleController.cxx @@ -66,7 +66,6 @@ Reference<XModuleController> ModuleController::CreateInstance ( ModuleController::ModuleController (const Reference<XComponentContext>& rxContext) : ModuleControllerInterfaceBase(MutexOwner::maMutex), - mxController(), mpResourceToFactoryMap(new ResourceToFactoryMap()), mpLoadedFactories(new LoadedFactoryContainer()) { diff --git a/sd/source/ui/framework/module/ShellStackGuard.cxx b/sd/source/ui/framework/module/ShellStackGuard.cxx index e20fa1dd6e7a..289788baebd6 100644 --- a/sd/source/ui/framework/module/ShellStackGuard.cxx +++ b/sd/source/ui/framework/module/ShellStackGuard.cxx @@ -40,9 +40,7 @@ namespace sd::framework { ShellStackGuard::ShellStackGuard (Reference<frame::XController> const & rxController) : ShellStackGuardInterfaceBase(m_aMutex), - mxConfigurationController(), mpBase(nullptr), - mpUpdateLock(), maPrinterPollingIdle("sd ShellStackGuard PrinterPollingIdle") { Reference<XControllerManager> xControllerManager (rxController, UNO_QUERY); diff --git a/sd/source/ui/framework/module/SlideSorterModule.cxx b/sd/source/ui/framework/module/SlideSorterModule.cxx index b6e9e658b099..fd632a83b232 100644 --- a/sd/source/ui/framework/module/SlideSorterModule.cxx +++ b/sd/source/ui/framework/module/SlideSorterModule.cxx @@ -49,10 +49,8 @@ SlideSorterModule::SlideSorterModule ( const Reference<frame::XController>& rxController, const OUString& rsLeftPaneURL) : SlideSorterModuleBase(MutexOwner::maMutex), - mxConfigurationController(), mxResourceId(FrameworkHelper::CreateResourceId(FrameworkHelper::msSlideSorterURL, rsLeftPaneURL)), mxMainViewAnchorId(FrameworkHelper::CreateResourceId(FrameworkHelper::msCenterPaneURL)), - msCurrentMainViewURL(), mxViewTabBarId(FrameworkHelper::CreateResourceId( FrameworkHelper::msViewTabBarURL, FrameworkHelper::msCenterPaneURL)), diff --git a/sd/source/ui/framework/module/ToolBarModule.cxx b/sd/source/ui/framework/module/ToolBarModule.cxx index 969a94f031c5..f5cb3f8078fa 100644 --- a/sd/source/ui/framework/module/ToolBarModule.cxx +++ b/sd/source/ui/framework/module/ToolBarModule.cxx @@ -43,9 +43,7 @@ namespace sd::framework { ToolBarModule::ToolBarModule ( const Reference<frame::XController>& rxController) : ToolBarModuleInterfaceBase(m_aMutex), - mxConfigurationController(), mpBase(nullptr), - mpToolBarManagerLock(), mbMainViewSwitchUpdatePending(false) { // Tunnel through the controller to obtain a ViewShellBase. diff --git a/sd/source/ui/framework/module/ViewTabBarModule.cxx b/sd/source/ui/framework/module/ViewTabBarModule.cxx index 994e09e816fd..592af1165c7c 100644 --- a/sd/source/ui/framework/module/ViewTabBarModule.cxx +++ b/sd/source/ui/framework/module/ViewTabBarModule.cxx @@ -49,7 +49,6 @@ ViewTabBarModule::ViewTabBarModule ( const Reference<frame::XController>& rxController, const Reference<XResourceId>& rxViewTabBarId) : ViewTabBarModuleInterfaceBase(MutexOwner::maMutex), - mxConfigurationController(), mxViewTabBarId(rxViewTabBarId) { Reference<XControllerManager> xControllerManager (rxController, UNO_QUERY); diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index 985c72d6d576..61245ecf1da6 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -335,10 +335,7 @@ void FrameworkHelper::ReleaseInstance (const ViewShellBase& rBase) } FrameworkHelper::FrameworkHelper (ViewShellBase& rBase) - : mrBase(rBase), - mxConfigurationController(), - mxDisposeListener() - + : mrBase(rBase) { Reference<XControllerManager> xControllerManager (rBase.GetController(), UNO_QUERY); if (xControllerManager.is()) @@ -815,7 +812,6 @@ CallbackCaller::CallbackCaller ( const ::sd::framework::FrameworkHelper::Callback& rCallback) : CallbackCallerInterfaceBase(MutexOwner::maMutex), msEventType(rsEventType), - mxConfigurationController(), maFilter(rFilter), maCallback(rCallback) { diff --git a/sd/source/ui/presenter/PresenterCanvas.cxx b/sd/source/ui/presenter/PresenterCanvas.cxx index d657d6f37596..017fed5c7bd8 100644 --- a/sd/source/ui/presenter/PresenterCanvas.cxx +++ b/sd/source/ui/presenter/PresenterCanvas.cxx @@ -108,7 +108,6 @@ PresenterCanvas::PresenterCanvas ( mxSharedCanvas(rxSharedCanvas), mxSharedWindow(rxSharedWindow), mxWindow(rxWindow), - maOffset(), mbOffsetUpdatePending(true) { if (mxWindow.is()) diff --git a/sd/source/ui/presenter/PresenterPreviewCache.cxx b/sd/source/ui/presenter/PresenterPreviewCache.cxx index 135fc45bf0f2..4a3e64501152 100644 --- a/sd/source/ui/presenter/PresenterPreviewCache.cxx +++ b/sd/source/ui/presenter/PresenterPreviewCache.cxx @@ -188,11 +188,8 @@ void PresenterPreviewCache::ThrowIfDisposed() //===== PresenterPreviewCache::PresenterCacheContext ========================== PresenterPreviewCache::PresenterCacheContext::PresenterCacheContext() - : mxSlides(), - mxDocument(), - mnFirstVisibleSlideIndex(-1), - mnLastVisibleSlideIndex(-1), - maListeners() + : mnFirstVisibleSlideIndex(-1), + mnLastVisibleSlideIndex(-1) { } diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx index 6f40fd36b0d3..046aad1d42db 100644 --- a/sd/source/ui/presenter/PresenterTextView.cxx +++ b/sd/source/ui/presenter/PresenterTextView.cxx @@ -90,8 +90,7 @@ private: // PresenterTextView PresenterTextView::PresenterTextView () - : PresenterTextViewInterfaceBase(), - mpImplementation(new Implementation()) + : mpImplementation(new Implementation()) { } @@ -206,12 +205,9 @@ void PresenterTextView::ThrowIfDisposed() // PresenterTextView::Implementation PresenterTextView::Implementation::Implementation() - : mxBitmap(), - mpCanvas(), - mpOutputDevice(VclPtr<VirtualDevice>::Create(*Application::GetDefaultDevice(), DeviceFormat::DEFAULT, DeviceFormat::DEFAULT)), + : mpOutputDevice(VclPtr<VirtualDevice>::Create(*Application::GetDefaultDevice(), DeviceFormat::DEFAULT, DeviceFormat::DEFAULT)), mpEditEngineItemPool(EditEngine::CreatePool()), maSize(100,100), - msText(), mnTop(0), mnTotalHeight(-1) { diff --git a/sd/source/ui/presenter/SlideRenderer.cxx b/sd/source/ui/presenter/SlideRenderer.cxx index 3db4c7355ca5..393bf483bc5e 100644 --- a/sd/source/ui/presenter/SlideRenderer.cxx +++ b/sd/source/ui/presenter/SlideRenderer.cxx @@ -32,8 +32,7 @@ namespace sd::presenter { //===== SlideRenderer ========================================================== SlideRenderer::SlideRenderer () - : SlideRendererInterfaceBase(m_aMutex), - maPreviewRenderer() + : SlideRendererInterfaceBase(m_aMutex) { } diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx index 58adb13ca7bf..f437f498e46a 100644 --- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx +++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx @@ -31,17 +31,14 @@ BufferedStreamSocket::BufferedStreamSocket( const osl::StreamSocket &aSocket ): StreamSocket( aSocket ), aRet( 0 ), aRead( 0 ), - aBuffer(), mSocket( 0 ), usingCSocket( false ) { } BufferedStreamSocket::BufferedStreamSocket( int aSocket ): - StreamSocket(), aRet( 0 ), aRead( 0 ), - aBuffer(), mSocket( aSocket ), usingCSocket( true ) { diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx index 83a80e9916df..9bd8eb9e1b09 100644 --- a/sd/source/ui/remotecontrol/Server.cxx +++ b/sd/source/ui/remotecontrol/Server.cxx @@ -64,9 +64,7 @@ namespace sd { } RemoteServer::RemoteServer() : - Thread( "RemoteServerThread" ), - mSocket(), - mAvailableClients() + Thread( "RemoteServerThread" ) { SAL_INFO( "sdremote", "Instantiated RemoteServer" ); } diff --git a/sd/source/ui/remotecontrol/Transmitter.cxx b/sd/source/ui/remotecontrol/Transmitter.cxx index f00f15502a45..1ed8cc9767c3 100644 --- a/sd/source/ui/remotecontrol/Transmitter.cxx +++ b/sd/source/ui/remotecontrol/Transmitter.cxx @@ -16,11 +16,7 @@ using namespace sd; Transmitter::Transmitter( IBluetoothSocket* aSocket ) : pStreamSocket( aSocket ), - mProcessingRequired(), - mMutex(), - mFinishRequested( false ), - mLowPriority(), - mHighPriority() + mFinishRequested( false ) { } diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx index 3db225efba2d..c528e54a70a5 100644 --- a/sd/source/ui/sidebar/MasterPageContainer.cxx +++ b/sd/source/ui/sidebar/MasterPageContainer.cxx @@ -468,19 +468,9 @@ bool MasterPageContainer::RequestPreview (Token aToken) //==== Implementation ================================================ MasterPageContainer::Implementation::Implementation() - : maMutex(), - maContainer(), - meInitializationState(InitializationState::NotInitialized), + : meInitializationState(InitializationState::NotInitialized), mpDocument(nullptr), - maPreviewRenderer(), - mbFirstPageObjectSeen(false), - maLargePreviewBeingCreated(), - maSmallPreviewBeingCreated(), - maLargePreviewNotAvailable(), - maSmallPreviewNotAvailable(), - maChangeListeners(), - maSmallPreviewSizePixel(), - maLargePreviewSizePixel() + mbFirstPageObjectSeen(false) { UpdatePreviewSizePixel(); } diff --git a/sd/source/ui/sidebar/MasterPageContainerFiller.cxx b/sd/source/ui/sidebar/MasterPageContainerFiller.cxx index 57401a90ff48..3568d9c71529 100644 --- a/sd/source/ui/sidebar/MasterPageContainerFiller.cxx +++ b/sd/source/ui/sidebar/MasterPageContainerFiller.cxx @@ -31,7 +31,6 @@ namespace sd::sidebar { MasterPageContainerFiller::MasterPageContainerFiller (ContainerAdapter& rpAdapter) : mrContainerAdapter(rpAdapter), meState(INITIALIZE_TEMPLATE_SCANNER), - mpScannerTask(), mpLastAddedEntry(nullptr), mnIndex(1) { diff --git a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx index b935673695c0..785536daad79 100644 --- a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx +++ b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx @@ -99,8 +99,7 @@ bool TemplatePreviewProvider::NeedsPageObject() //===== TemplatePageObjectProvider ============================================= TemplatePageObjectProvider::TemplatePageObjectProvider (const OUString& rsURL) - : msURL(rsURL), - mxDocumentShell() + : msURL(rsURL) { } diff --git a/sd/source/ui/sidebar/MasterPageContainerQueue.cxx b/sd/source/ui/sidebar/MasterPageContainerQueue.cxx index b1067c9a6bee..325ad4ff704c 100644 --- a/sd/source/ui/sidebar/MasterPageContainerQueue.cxx +++ b/sd/source/ui/sidebar/MasterPageContainerQueue.cxx @@ -94,7 +94,6 @@ MasterPageContainerQueue::MasterPageContainerQueue ( const std::weak_ptr<ContainerAdapter>& rpContainer) : mpWeakContainer(rpContainer), mpRequestQueue(new RequestQueue()), - maDelayedPreviewCreationTimer(), mnRequestsServedCount(0) { } diff --git a/sd/source/ui/sidebar/MasterPageDescriptor.cxx b/sd/source/ui/sidebar/MasterPageDescriptor.cxx index 0e886023e620..183ec29e4d1b 100644 --- a/sd/source/ui/sidebar/MasterPageDescriptor.cxx +++ b/sd/source/ui/sidebar/MasterPageDescriptor.cxx @@ -48,8 +48,6 @@ MasterPageDescriptor::MasterPageDescriptor ( mbIsPrecious(bIsPrecious), mpMasterPage(nullptr), mpSlide(nullptr), - maSmallPreview(), - maLargePreview(), mpPreviewProvider(rpPreviewProvider), mpPageObjectProvider(rpPageObjectProvider), mnTemplateIndex(nTemplateIndex), diff --git a/sd/source/ui/sidebar/MasterPagesSelector.cxx b/sd/source/ui/sidebar/MasterPagesSelector.cxx index fe4af9be67a4..d5f332148cb5 100644 --- a/sd/source/ui/sidebar/MasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/MasterPagesSelector.cxx @@ -61,15 +61,11 @@ MasterPagesSelector::MasterPagesSelector ( const OUString& rUIFileName, const OString& rValueSetName) : PanelLayout( pParent, "MasterPagePanel", rUIFileName ), - maMutex(), mpContainer(rpContainer), mxPreviewValueSet(new PreviewValueSet), mxPreviewValueSetWin(new weld::CustomWeld(*m_xBuilder, rValueSetName, *mxPreviewValueSet)), mrDocument(rDocument), mrBase(rBase), - maCurrentItemList(), - maTokenToValueSetIndex(), - maLockedMasterPages(), mxSidebar(rxSidebar) { mxPreviewValueSet->SetSelectHdl ( diff --git a/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx b/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx index 07fafaa667c7..3ca6deaad002 100644 --- a/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx +++ b/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx @@ -80,9 +80,7 @@ RecentlyUsedMasterPages& RecentlyUsedMasterPages::Instance() constexpr size_t gnMaxListSize(8); RecentlyUsedMasterPages::RecentlyUsedMasterPages() - : maListeners(), - mvMasterPages(), - mpContainer(std::make_shared<MasterPageContainer>()) + : mpContainer(std::make_shared<MasterPageContainer>()) { } diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx index 97a1672b2920..4f02a5864ef6 100644 --- a/sd/source/ui/sidebar/SlideBackground.cxx +++ b/sd/source/ui/sidebar/SlideBackground.cxx @@ -125,14 +125,9 @@ SlideBackground::SlideBackground( maMetricController(SID_ATTR_METRIC, *pBindings, *this), maCloseMasterController(SID_CLOSE_MASTER_VIEW, *pBindings, *this), mpPageItem( new SvxPageItem(SID_ATTR_PAGE) ), - mpColorItem(), - mpGradientItem(), - mpHatchItem(), - mpBitmapItem(), mbSwitchModeToNormal(false), mbSwitchModeToMaster(false), mxFrame(rxFrame), - maContext(), maDrawOtherContext(vcl::EnumContext::Application::Draw, vcl::EnumContext::Context::DrawPage), maDrawMasterContext(vcl::EnumContext::Application::Draw, vcl::EnumContext::Context::MasterPage), maImpressOtherContext(vcl::EnumContext::Application::Impress, vcl::EnumContext::Context::DrawPage), @@ -147,7 +142,6 @@ SlideBackground::SlideBackground( m_nPageTopMargin(0), m_nPageBottomMargin(0), meFUnit(GetModuleFieldUnit()), - maCustomEntry(), mpBindings(pBindings) { //let the listbox shrink to any size so the sidebar isn't forced to grow to diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx index 7f3d8c90b7e9..d0829f8f1e8f 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.cxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx @@ -186,7 +186,6 @@ SlideShowView::SlideShowView( ShowWindow& rOutputWindow, mpCanvas( ::cppcanvas::VCLFactory::createSpriteCanvas( rOutputWindow ) ), mxWindow( VCLUnoHelper::GetInterface( &rOutputWindow ), uno::UNO_SET_THROW ), mxWindowPeer( mxWindow, uno::UNO_QUERY_THROW ), - mxPointer(), mpSlideShow( pSlideShow ), mrOutputWindow( rOutputWindow ), mpViewListeners( new SlideShowViewListeners( m_aMutex ) ), diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx index 6343c230d033..87c727408cfe 100644 --- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx +++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx @@ -119,13 +119,11 @@ typedef ::std::vector< //===== BitmapCache ========================================================= BitmapCache::BitmapCache () - : maMutex(), - mpBitmapContainer(new CacheBitmapContainer()), + : mpBitmapContainer(new CacheBitmapContainer()), mnNormalCacheSize(0), mnPreciousCacheSize(0), mnCurrentAccessTime(0), mnMaximalNormalCacheSize(MAXIMAL_CACHE_SIZE), - mpCacheCompactor(), mbIsFull(false) { Any aCacheSize (CacheConfiguration::Instance()->GetValue("CacheSize")); @@ -447,9 +445,7 @@ void BitmapCache::UpdateCacheSize (const CacheEntry& rEntry, CacheOperation eOpe BitmapCache::CacheEntry::CacheEntry( sal_Int32 nLastAccessTime, bool bIsPrecious) - : maPreview(), - maMarkedPreview(), - mbIsUpToDate(true), + : mbIsUpToDate(true), mnLastAccessTime(nLastAccessTime), mbIsPrecious(bIsPrecious) { @@ -460,7 +456,6 @@ BitmapCache::CacheEntry::CacheEntry( sal_Int32 nLastAccessTime, bool bIsPrecious) : maPreview(rPreview), - maMarkedPreview(), mbIsUpToDate(true), mnLastAccessTime(nLastAccessTime), mbIsPrecious(bIsPrecious) diff --git a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx index 4136cb49d6bc..6275754fa65e 100644 --- a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx +++ b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx @@ -32,9 +32,7 @@ GenericPageCache::GenericPageCache ( const Size& rPreviewSize, const bool bDoSuperSampling, const SharedCacheContext& rpCacheContext) - : mpBitmapCache(), - maRequestQueue(rpCacheContext), - mpQueueProcessor(), + : maRequestQueue(rpCacheContext), mpCacheContext(rpCacheContext), maPreviewSize(rPreviewSize), mbDoSuperSampling(bDoSuperSampling) diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx index 4b060879ae24..eb6b8cf40005 100644 --- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx +++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx @@ -35,14 +35,11 @@ QueueProcessor::QueueProcessor ( const Size& rPreviewSize, const bool bDoSuperSampling, const SharedCacheContext& rpCacheContext) - : maMutex(), - maTimer(), - maPreviewSize(rPreviewSize), + : maPreviewSize(rPreviewSize), mbDoSuperSampling(bDoSuperSampling), mpCacheContext(rpCacheContext), mrQueue(rQueue), mpCache(rpCache), - maBitmapFactory(), mbIsPaused(false) { maTimer.SetInvokeHandler (LINK(this,QueueProcessor,ProcessRequestHdl)); diff --git a/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx b/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx index f84d6265ee56..931c1a8f6ce1 100644 --- a/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx +++ b/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx @@ -92,8 +92,7 @@ class RequestQueue::Container //===== GenericRequestQueue ================================================= RequestQueue::RequestQueue (const SharedCacheContext& rpCacheContext) - : maMutex(), - mpRequestQueue(new Container), + : mpRequestQueue(new Container), mpCacheContext(rpCacheContext), mnMinimumPriority(0), mnMaximumPriority(1) diff --git a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx index 7e7862d78e49..a8dea819c428 100644 --- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx +++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx @@ -85,25 +85,15 @@ SlideSorterController::SlideSorterController (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), mrModel(mrSlideSorter.GetModel()), mrView(mrSlideSorter.GetView()), - mpPageSelector(), - mpFocusManager(), - mpSlotManager(), - mpScrollBarManager(), - mpCurrentSlideManager(), - mpSelectionManager(), - mpClipboard(), mpInsertionIndicatorHandler(std::make_shared<InsertionIndicatorHandler>(rSlideSorter)), mpAnimator(std::make_shared<Animator>(rSlideSorter)), mpVisibleAreaManager(new VisibleAreaManager(rSlideSorter)), - mpListener(), mnModelChangeLockCount(0), mbIsForcedRearrangePending(false), mbContextMenuOpen(false), mbPostModelChangePending(false), - maSelectionBeforeSwitch(), mnCurrentPageBeforeSwitch(0), mpEditModeChangeMasterPage(nullptr), - maTotalWindowArea(), mnPaintEntranceCount(0) { sd::Window *pWindow (mrSlideSorter.GetContentWindow().get()); diff --git a/sd/source/ui/slidesorter/controller/SlsAnimationFunction.cxx b/sd/source/ui/slidesorter/controller/SlsAnimationFunction.cxx index a219a9c2ebf4..31978baf7189 100644 --- a/sd/source/ui/slidesorter/controller/SlsAnimationFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsAnimationFunction.cxx @@ -71,7 +71,6 @@ double AnimationBezierFunction::EvaluateComponent ( //===== AnimationParametricFunction =========================================== AnimationParametricFunction::AnimationParametricFunction (const ParametricFunction& rFunction) - : maY() { const sal_Int32 nSampleCount (64); diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx index 025eb7fab554..b400ec4dc49f 100644 --- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx +++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx @@ -61,9 +61,6 @@ Animator::Animator (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), maIdle("sd slidesorter controller Animator"), mbIsDisposed(false), - maAnimations(), - maElapsedTime(), - mpDrawLock(), mnNextAnimationId(0) { maIdle.SetPriority(TaskPriority::REPAINT); diff --git a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx index c7f333a5f0b9..6e1da49fcedd 100644 --- a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx +++ b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx @@ -136,9 +136,6 @@ Clipboard::Clipboard (SlideSorter& rSlideSorter) : ViewClipboard(rSlideSorter.GetView()), mrSlideSorter(rSlideSorter), mrController(mrSlideSorter.GetController()), - maPagesToRemove(), - mxUndoContext(), - mxSelectionObserverContext(), mnDragFinishedUserEventId(nullptr) { } diff --git a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx index c07bbe5b4363..cb3067a6ec59 100644 --- a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx @@ -43,9 +43,7 @@ namespace sd::slidesorter::controller { CurrentSlideManager::CurrentSlideManager (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), - mnCurrentSlideIndex(-1), - mpCurrentSlide(), - maSwitchPageDelayTimer() + mnCurrentSlideIndex(-1) { maSwitchPageDelayTimer.SetTimeout(100); maSwitchPageDelayTimer.SetInvokeHandler(LINK(this,CurrentSlideManager,SwitchPageCallback)); diff --git a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx index afa802fec852..ff1a05ef1b30 100644 --- a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx +++ b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx @@ -35,9 +35,7 @@ namespace sd::slidesorter::controller { InsertionIndicatorHandler::InsertionIndicatorHandler (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), - mpInsertAnimator(), mpInsertionIndicatorOverlay(std::make_shared<view::InsertionIndicatorOverlay>(rSlideSorter)), - maInsertPosition(), meMode(MoveMode), mbIsInsertionTrivial(false), mbIsActive(false), diff --git a/sd/source/ui/slidesorter/controller/SlsListener.cxx b/sd/source/ui/slidesorter/controller/SlsListener.cxx index 7e956734ed2a..d61e6b27caf6 100644 --- a/sd/source/ui/slidesorter/controller/SlsListener.cxx +++ b/sd/source/ui/slidesorter/controller/SlsListener.cxx @@ -62,10 +62,7 @@ Listener::Listener ( mbListeningToUNODocument (false), mbListeningToController (false), mbListeningToFrame (false), - mbIsMainViewChangePending(false), - mxControllerWeak(), - mxFrameWeak(), - mpModelChangeLock() + mbIsMainViewChangePending(false) { StartListening(*mrSlideSorter.GetModel().GetDocument()); StartListening(*mrSlideSorter.GetModel().GetDocument()->GetDocSh()); diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx index 9854f900c964..21affcf2f5da 100644 --- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx +++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx @@ -48,8 +48,6 @@ PageSelector::PageSelector (SlideSorter& rSlideSorter) mnSelectedPageCount(0), mnBroadcastDisableLevel(0), mbSelectionChangeBroadcastPending(false), - mpMostRecentlySelectedPage(), - mpSelectionAnchor(), mnUpdateLockCount(0), mbIsUpdateCurrentPagePending(true) { diff --git a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx index c3e4b74ff761..0a922859c6de 100644 --- a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx @@ -46,11 +46,9 @@ ScrollBarManager::ScrollBarManager (SlideSorter& rSlideSorter) mnVerticalPosition (0), maScrollBorder (20,20), mpScrollBarFiller(mrSlideSorter.GetScrollBarFiller()), - maAutoScrollTimer(), maAutoScrollOffset(0,0), mbIsAutoScrollActive(false), - mpContentWindow(mrSlideSorter.GetContentWindow()), - maAutoScrollFunctor() + mpContentWindow(mrSlideSorter.GetContentWindow()) { // Hide the scroll bars by default to prevent display errors while // switching between view shells: In the short time between initiating diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index 27cabfefd921..1432fc7dd57e 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -714,8 +714,6 @@ SelectionFunction::EventDescriptor::EventDescriptor ( const MouseEvent& rEvent, SlideSorter const & rSlideSorter) : maMousePosition(rEvent.GetPosPixel()), - maMouseModelPosition(), - mpHitDescriptor(), mpHitPage(), mnEventCode(nEventType), meDragMode(InsertionIndicatorHandler::MoveMode), @@ -745,8 +743,6 @@ SelectionFunction::EventDescriptor::EventDescriptor ( const sal_Int8 nDragAction, SlideSorter const & rSlideSorter) : maMousePosition(rEvent.maPosPixel), - maMouseModelPosition(), - mpHitDescriptor(), mpHitPage(), mnEventCode(nEventType), meDragMode(InsertionIndicatorHandler::GetModeFromDndAction(nDragAction)), @@ -965,8 +961,7 @@ void SelectionFunction::ModeHandler::StartDrag ( NormalModeHandler::NormalModeHandler ( SlideSorter& rSlideSorter, SelectionFunction& rSelectionFunction) - : ModeHandler(rSlideSorter, rSelectionFunction, true), - maButtonDownLocation() + : ModeHandler(rSlideSorter, rSelectionFunction, true) { } diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx index 952303c67db1..4f733dc5c9c6 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx @@ -57,7 +57,6 @@ SelectionObserver::SelectionObserver(SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter) , mbIsObservationActive(false) , mbPageEventOccurred(false) - , maInsertedPages() { } diff --git a/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx b/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx index 10115eafcca2..6f85f362d1fb 100644 --- a/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx @@ -50,8 +50,6 @@ namespace { VisibleAreaManager::VisibleAreaManager (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), - maVisibleRequests(), - maRequestedVisibleTopLeft(), mbIsCurrentSlideTrackingActive(true), mnDisableCount(0) { diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx index ccf933346167..365c9127944d 100644 --- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx +++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx @@ -117,9 +117,7 @@ void collectUIInformation(const OUString& num, const OUString& rAction) } SlideSorterModel::SlideSorterModel (SlideSorter& rSlideSorter) - : maMutex(), - mrSlideSorter(rSlideSorter), - mxSlides(), + : mrSlideSorter(rSlideSorter), meEditMode(EditMode::Page), maPageDescriptors(0) { diff --git a/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx b/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx index c3e0356f5a73..5118cf58ec09 100644 --- a/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx +++ b/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx @@ -34,7 +34,6 @@ PageDescriptor::PageDescriptor ( mxPage(rxPage), mpMasterPage(nullptr), mnIndex(nIndex), - maBoundingBox(), maVisualState(nIndex), mbIsSelected(false), mbWasSelected(false), diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx index 5d933dcd379f..550a4046909e 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx @@ -106,10 +106,6 @@ SlideSorter::SlideSorter ( ScrollBar* pVerticalScrollBar, ScrollBarBox* pScrollBarBox) : mbIsValid(false), - mpSlideSorterController(), - mpSlideSorterModel(), - mpSlideSorterView(), - mxControllerWeak(), mpViewShell(&rViewShell), mpViewShellBase(&rViewShell.GetViewShellBase()), mpContentWindow(pContentWindow), @@ -125,10 +121,6 @@ SlideSorter::SlideSorter ( ViewShellBase& rBase, vcl::Window& rParentWindow) : mbIsValid(false), - mpSlideSorterController(), - mpSlideSorterModel(), - mpSlideSorterView(), - mxControllerWeak(), mpViewShell(nullptr), mpViewShellBase(&rBase), mpContentWindow(VclPtr<ContentWindow>::Create(rParentWindow,*this )), @@ -406,8 +398,7 @@ ContentWindow::ContentWindow( vcl::Window& rParent, SlideSorter& rSlideSorter) : ::sd::Window(&rParent), - mrSlideSorter(rSlideSorter), - mpCurrentFunction() + mrSlideSorter(rSlideSorter) { SetDialogControlFlags(GetDialogControlFlags() & ~DialogControlFlags::WantFocus); SetStyle(GetStyle() | WB_NOPOINTERFOCUS); diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.cxx b/sd/source/ui/slidesorter/shell/SlideSorterService.cxx index 41d05c37f0b3..2691fbcf1778 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterService.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterService.cxx @@ -40,9 +40,7 @@ namespace sd::slidesorter { //===== SlideSorterService ========================================================== SlideSorterService::SlideSorterService() - : SlideSorterServiceInterfaceBase(m_aMutex), - mpSlideSorter(), - mxParentWindow() + : SlideSorterServiceInterfaceBase(m_aMutex) { } diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx index 5e7c9716a7e1..af5bd5791ba4 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx @@ -127,7 +127,6 @@ SlideSorterViewShell::SlideSorterViewShell ( vcl::Window* pParentWindow, FrameView* pFrameViewArgument) : ViewShell (pParentWindow, rViewShellBase), - mpSlideSorter(), mbIsArrangeGUIElementsPending(true) { GetContentWindow()->set_id("slidesorter"); diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx index c1eaf8302d08..a299f9327843 100644 --- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx +++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx @@ -121,19 +121,15 @@ SlideSorterView::SlideSorterView (SlideSorter& rSlideSorter) mbIsDisposed(false), mpLayouter (new Layouter(rSlideSorter.GetContentWindow(), rSlideSorter.GetTheme())), mbPageObjectVisibilitiesValid (false), - mpPreviewCache(), mpLayeredDevice(std::make_shared<LayeredDevice>(rSlideSorter.GetContentWindow())), maVisiblePageRange(-1,-1), maPreviewSize(0,0), mbPreciousFlagUpdatePending(true), meOrientation(Layouter::GRID), - mpPageUnderMouse(), - mpPageObjectPainter(), mpBackgroundPainter( std::make_shared<BackgroundPainter>(mrSlideSorter.GetTheme()->GetColor(Theme::Color_Background))), mpToolTip(new ToolTip(mrSlideSorter)), - mbIsRearrangePending(true), - maVisibilityChangeListeners() + mbIsRearrangePending(true) { // Hide the page that contains the page objects. SetPageVisible (false); diff --git a/sd/source/ui/slidesorter/view/SlsFramePainter.cxx b/sd/source/ui/slidesorter/view/SlsFramePainter.cxx index b93601ee2fd5..31c301868a93 100644 --- a/sd/source/ui/slidesorter/view/SlsFramePainter.cxx +++ b/sd/source/ui/slidesorter/view/SlsFramePainter.cxx @@ -101,8 +101,6 @@ FramePainter::OffsetBitmap::OffsetBitmap ( const BitmapEx& rBitmap, const sal_Int32 nHorizontalPosition, const sal_Int32 nVerticalPosition) - : maBitmap(), - maOffset() { OSL_ASSERT(nHorizontalPosition>=-1 && nHorizontalPosition<=+1); OSL_ASSERT(nVerticalPosition>=-1 && nVerticalPosition<=+1); diff --git a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx index 9e1eae75778a..361c55f05aa3 100644 --- a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx +++ b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx @@ -168,9 +168,7 @@ InsertAnimator::Implementation::Implementation (SlideSorter& rSlideSorter) : mrModel(rSlideSorter.GetModel()), mrView(rSlideSorter.GetView()), mrSlideSorter(rSlideSorter), - mpAnimator(rSlideSorter.GetController().GetAnimator()), - maRuns(), - maInsertPosition() + mpAnimator(rSlideSorter.GetController().GetAnimator()) { } @@ -301,8 +299,6 @@ PageObjectRun::PageObjectRun ( mnLocalInsertIndex(-1), mnStartIndex(nStartIndex), mnEndIndex(nEndIndex), - maStartOffset(), - maEndOffset(), mnStartTime(-1), mnAnimationId(controller::Animator::NotAnAnimationId), mrAnimatorAccess(rAnimatorAccess), diff --git a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx index 6b674f4f7302..b8fd20551cc8 100644 --- a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx +++ b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx @@ -64,9 +64,6 @@ const sal_Int32 gnLayerIndex = 2; InsertionIndicatorOverlay::InsertionIndicatorOverlay (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), mbIsVisible(false), - mpLayerInvalidator(), - maLocation(), - maIcon(), mpShadowPainter( new FramePainter(mrSlideSorter.GetTheme()->GetIcon(Theme::Icon_RawInsertShadow))) { diff --git a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx index 9c2ce78303c7..b41bbe307a9c 100644 --- a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx +++ b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx @@ -133,7 +133,7 @@ typedef std::shared_ptr<Layer> SharedLayer; class LayeredDevice::LayerContainer { public: - LayerContainer() : mvLayers() {} + LayerContainer() {} bool empty() const { return mvLayers.empty(); } @@ -374,9 +374,6 @@ bool LayeredDevice::HandleMapModeChange() //===== Layer ================================================================= Layer::Layer() - : mpLayerDevice(), - maPainters(), - maInvalidationRegion() { } diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx index 86205e8eca63..21f0be13cb32 100644 --- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx +++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx @@ -445,7 +445,6 @@ Layouter::Implementation::Implementation ( mnMaxColumnCount(0), mnMaxRowCount(0), maPageObjectSize(1,1), - mpPageObjectLayouter(), mpTheme(rpTheme) { } @@ -467,7 +466,6 @@ Layouter::Implementation::Implementation (const Implementation& rImplementation) mnMaxColumnCount(rImplementation.mnMaxColumnCount), mnMaxRowCount(rImplementation.mnMaxRowCount), maPageObjectSize(rImplementation.maPageObjectSize), - mpPageObjectLayouter(), mpTheme(rImplementation.mpTheme) { } diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx index 928c60306a7c..b26eb0746f30 100644 --- a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx +++ b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx @@ -42,10 +42,6 @@ PageObjectLayouter::PageObjectLayouter ( sd::Window *pWindow, const sal_Int32 nPageCount) : mpWindow(pWindow), - maPageObjectBoundingBox(), - maPageNumberAreaBoundingBox(), - maPreviewBoundingBox(), - maTransitionEffectBoundingBox(), maTransitionEffectIcon(IconCache::Instance().GetIcon(BMP_FADE_EFFECT_INDICATOR)), maCustomAnimationEffectIcon(IconCache::Instance().GetIcon(BMP_CUSTOM_ANIMATION_INDICATOR)), mpPageNumberFont(Theme::GetFont(Theme::Font_PageNumber, *pWindow->GetOutDev())) diff --git a/sd/source/ui/slidesorter/view/SlsTheme.cxx b/sd/source/ui/slidesorter/view/SlsTheme.cxx index 639bbac87660..5172e6241eaa 100644 --- a/sd/source/ui/slidesorter/view/SlsTheme.cxx +++ b/sd/source/ui/slidesorter/view/SlsTheme.cxx @@ -57,10 +57,7 @@ static Color HGBAdapt ( } Theme::Theme (const std::shared_ptr<controller::Properties>& rpProperties) - : maBackgroundColor(rpProperties->GetBackgroundColor()), - maGradients(), - maIcons(), - maColor() + : maBackgroundColor(rpProperties->GetBackgroundColor()) { maColor.resize(ColorType_Size_); maColor[Color_Background] = maBackgroundColor; diff --git a/sd/source/ui/slidesorter/view/SlsToolTip.cxx b/sd/source/ui/slidesorter/view/SlsToolTip.cxx index fa24cbd4c94c..08a4ff6ec7f8 100644 --- a/sd/source/ui/slidesorter/view/SlsToolTip.cxx +++ b/sd/source/ui/slidesorter/view/SlsToolTip.cxx @@ -35,10 +35,7 @@ namespace sd::slidesorter::view { ToolTip::ToolTip (SlideSorter& rSlideSorter) : mrSlideSorter(rSlideSorter), - msCurrentHelpText(), - mnHelpWindowHandle(nullptr), - maShowTimer(), - maHiddenTimer() + mnHelpWindowHandle(nullptr) { maShowTimer.SetDebugName("sd::slidesorter::view::ToolTip maShowTimer"); maShowTimer.SetTimeout(HelpSettings::GetTipDelay()); diff --git a/sd/source/ui/tools/AsynchronousCall.cxx b/sd/source/ui/tools/AsynchronousCall.cxx index d7c7220ea5d6..5d7323775dd4 100644 --- a/sd/source/ui/tools/AsynchronousCall.cxx +++ b/sd/source/ui/tools/AsynchronousCall.cxx @@ -23,8 +23,6 @@ namespace sd::tools { AsynchronousCall::AsynchronousCall() - : maTimer() - , mpFunction() { maTimer.SetInvokeHandler(LINK(this, AsynchronousCall, TimerCallback)); } diff --git a/sd/source/ui/tools/ConfigurationAccess.cxx b/sd/source/ui/tools/ConfigurationAccess.cxx index 9b14a03a1768..4bb4f58735b8 100644 --- a/sd/source/ui/tools/ConfigurationAccess.cxx +++ b/sd/source/ui/tools/ConfigurationAccess.cxx @@ -37,7 +37,6 @@ ConfigurationAccess::ConfigurationAccess ( const Reference<XComponentContext>& rxContext, const OUString& rsRootName, const WriteMode eMode) - : mxRoot() { Reference<lang::XMultiServiceFactory> xProvider = configuration::theDefaultProvider::get( rxContext ); @@ -47,7 +46,6 @@ ConfigurationAccess::ConfigurationAccess ( ConfigurationAccess::ConfigurationAccess ( const OUString& rsRootName, const WriteMode eMode) - : mxRoot() { Reference<lang::XMultiServiceFactory> xProvider = configuration::theDefaultProvider::get( ::comphelper::getProcessComponentContext() ); diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx index 59fa6e115ab8..9bb5b410fdba 100644 --- a/sd/source/ui/tools/EventMultiplexer.cxx +++ b/sd/source/ui/tools/EventMultiplexer.cxx @@ -188,14 +188,12 @@ void EventMultiplexer::MultiplexEvent( EventMultiplexer::Implementation::Implementation (ViewShellBase& rBase) : MutexOwner(), EventMultiplexerImplementationInterfaceBase(maMutex), - SfxListener(), mrBase (rBase), mbListeningToController (false), mbListeningToFrame (false), mxControllerWeak(nullptr), mxFrameWeak(nullptr), - mpDocument(nullptr), - mxConfigurationControllerWeak() + mpDocument(nullptr) { // Connect to the frame to listen for controllers being exchanged. // Listen to changes of certain properties. diff --git a/sd/source/ui/tools/SlotStateListener.cxx b/sd/source/ui/tools/SlotStateListener.cxx index 5fb078f14127..aba0d066c966 100644 --- a/sd/source/ui/tools/SlotStateListener.cxx +++ b/sd/source/ui/tools/SlotStateListener.cxx @@ -34,7 +34,6 @@ SlotStateListener::SlotStateListener ( const uno::Reference<frame::XDispatchProvider>& rxDispatchProvider, const OUString& rSlotName) : SlotStateListenerInterfaceBase(maMutex), - maCallback(), mxDispatchProviderWeak(nullptr) { SetCallback(rCallback); diff --git a/sd/source/ui/tools/TimerBasedTaskExecution.cxx b/sd/source/ui/tools/TimerBasedTaskExecution.cxx index 3af789b9eec8..b3343b701b2d 100644 --- a/sd/source/ui/tools/TimerBasedTaskExecution.cxx +++ b/sd/source/ui/tools/TimerBasedTaskExecution.cxx @@ -84,8 +84,6 @@ TimerBasedTaskExecution::TimerBasedTaskExecution ( sal_uInt32 nMillisecondsBetweenSteps, sal_uInt32 nMaxTimePerStep) : mpTask(rpTask), - maTimer(), - mpSelf(), mnMaxTimePerStep(nMaxTimePerStep) { maTimer.SetInvokeHandler( LINK(this,TimerBasedTaskExecution,TimerCallback) ); diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx index 6cf3fdb3a5a5..e477f8b9b725 100644 --- a/sd/source/ui/unoidl/DrawController.cxx +++ b/sd/source/ui/unoidl/DrawController.cxx @@ -66,14 +66,10 @@ DrawController::DrawController (ViewShellBase& rBase) noexcept m_aSelectionTypeIdentifier( cppu::UnoType<view::XSelectionChangeListener>::get()), mpBase(&rBase), - maLastVisArea(), mpCurrentPage(nullptr), mbMasterPageMode(false), mbLayerMode(false), - mbDisposing(false), - mxSubController(), - mxConfigurationController(), - mxModuleController() + mbDisposing(false) { ProvideFrameworkControllers(); } diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index e44ee53a7899..54827450a64d 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -1512,8 +1512,7 @@ public: } ImplRenderPaintProc::ImplRenderPaintProc( const SdrLayerAdmin& rLA, SdrPageView* pView, vcl::PDFExtOutDevData* pData ) -: ViewObjectContactRedirector(), - rLayerAdmin ( rLA ), +: rLayerAdmin ( rLA ), pSdrPageView ( pView ), pPDFExtOutDevData ( pData ) { diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index 2aa37302eb03..38989bd61c2a 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -272,12 +272,9 @@ namespace { const bool bPrintMarkedOnly) : mpPrinter(pPrinter), mnDrawMode(DrawModeFlags::Default), - msTimeDate(), - msPageString(), maPrintSize(0,0), maPageSize(0,0), meOrientation(Orientation::Portrait), - maMap(), mbPrintMarkedOnly(bPrintMarkedOnly) {} @@ -1164,9 +1161,6 @@ public: , mrBase(rBase) , mbIsDisposed(false) , mpPrinter(nullptr) - , mpOptions() - , maPrinterPages() - , mpPrintView() , mbHasOrientationWarningBeenShown(false) { DialogCreator aCreator( mrBase, mrBase.GetDocShell()->GetDocumentType() == DocumentType::Impress, GetCurrentPageIndex() ); diff --git a/sd/source/ui/view/FormShellManager.cxx b/sd/source/ui/view/FormShellManager.cxx index c9126714cc24..3efa9bed71bb 100644 --- a/sd/source/ui/view/FormShellManager.cxx +++ b/sd/source/ui/view/FormShellManager.cxx @@ -53,7 +53,6 @@ FormShellManager::FormShellManager (ViewShellBase& rBase) : mrBase(rBase), mpFormShell(nullptr), mbFormShellAboveViewShell(false), - mpSubShellFactory(), mbIsMainViewChangePending(false), mpMainViewShellWindow(nullptr) { diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 316e330a7bed..16e86f239d83 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -134,7 +134,6 @@ SdOutliner::SdOutliner( SdDrawDocument* pDoc, OutlinerMode nMode ) mpImpl(new Implementation()), meMode(SEARCH), mpView(nullptr), - mpWeakViewShell(), mpWindow(nullptr), mpDrawDocument(pDoc), mnConversionLanguage(LANGUAGE_NONE), @@ -146,7 +145,6 @@ SdOutliner::SdOutliner( SdDrawDocument* pDoc, OutlinerMode nMode ) mbFoundObject(false), mbDirectionIsForward(true), mbRestrictSearchToSelection(false), - maMarkListCopy(), mpObj(nullptr), mpFirstObj(nullptr), mpSearchSpellTextObj(nullptr), @@ -156,12 +154,7 @@ SdOutliner::SdOutliner( SdDrawDocument* pDoc, OutlinerMode nMode ) meStartEditMode(EditMode::Page), mnStartPageIndex(sal_uInt16(-1)), mpStartEditedObject(nullptr), - maStartSelection(), mpSearchItem(nullptr), - maObjectIterator(), - maCurrentPosition(), - maSearchStartPosition(), - maLastValidPosition(), mbPrepareSpellingPending(true) { SetStyleSheetPool(static_cast<SfxStyleSheetPool*>( mpDrawDocument->GetStyleSheetPool() )); diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx index e839e71b9ba4..8cdb29330e6e 100644 --- a/sd/source/ui/view/OutlinerIterator.cxx +++ b/sd/source/ui/view/OutlinerIterator.cxx @@ -338,8 +338,7 @@ sal_Int32 OutlinerContainer::GetPageIndex ( IteratorImplBase::IteratorImplBase(SdDrawDocument* pDocument, const std::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward) -: maPosition() -, mpDocument (pDocument) +: mpDocument (pDocument) , mpViewShellWeak (rpViewShellWeak) , mbDirectionIsForward (bDirectionIsForward) { @@ -362,8 +361,7 @@ IteratorImplBase::IteratorImplBase(SdDrawDocument* pDocument, IteratorImplBase::IteratorImplBase( SdDrawDocument* pDocument, const std::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward, PageKind ePageKind, EditMode eEditMode) -: maPosition() -, mpDocument (pDocument) +: mpDocument (pDocument) , mpViewShellWeak (rpViewShellWeak) , mbDirectionIsForward (bDirectionIsForward) { diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index 78dc658584df..0bb0f9528cb1 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -342,7 +342,6 @@ std::shared_ptr<ToolBarManager> ToolBarManager::Create ( } ToolBarManager::ToolBarManager() - : mpImpl() { } @@ -500,18 +499,12 @@ ToolBarManager::Implementation::Implementation ( const std::shared_ptr<sd::tools::EventMultiplexer>& rpMultiplexer, const std::shared_ptr<ViewShellManager>& rpViewShellManager, const std::shared_ptr<ToolBarManager>& rpToolBarManager) - : maMutex(), - mrBase(rBase), + : mrBase(rBase), mpEventMultiplexer(rpMultiplexer), mbIsValid(false), - maToolBarList(), - maToolBarShellList(), mnLockCount(0), mbPreUpdatePending(false), mbPostUpdatePending(false), - mpSynchronousLayouterLock(), - mpAsynchronousLayouterLock(), - mpViewShellManagerLock(), mnPendingUpdateCall(nullptr), mnPendingSetValidCall(nullptr), maToolBarRules(rpToolBarManager,rpViewShellManager) @@ -1176,8 +1169,6 @@ void ToolBarRules::SubShellRemoved ( //===== ToolBarList =========================================================== ToolBarList::ToolBarList() - : maGroups(), - maActiveToolBars() { } @@ -1294,8 +1285,6 @@ ToolBarShellList::ShellDescriptor::ShellDescriptor ( } ToolBarShellList::ToolBarShellList() -: maNewList() -, maCurrentList() { } diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index d4067944f802..897aed6f1524 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -223,7 +223,6 @@ ViewShellBase::ViewShellBase ( SfxViewFrame* _pFrame, SfxViewShell*) : SfxViewShell (_pFrame, SfxViewShellFlags::HAS_PRINTOPTIONS), - mpImpl(), mpDocShell (nullptr), mpDocument (nullptr) { @@ -1024,15 +1023,7 @@ void ViewShellBase::NotifyCursor(SfxViewShell* pOtherShell) const //===== ViewShellBase::Implementation ========================================= ViewShellBase::Implementation::Implementation (ViewShellBase& rBase) - : mpController(), - mpViewTabBar(), - maClientArea(), - mbIsClosing(false), - mpViewWindow(), - mpToolBarManager(), - mpViewShellManager(), - mpEventMultiplexer(), - mpFormShellManager(), + : mbIsClosing(false), mrBase(rBase), mbUserWantsTabBar(false), mbTabBarShouldBeVisible(true), diff --git a/sd/source/ui/view/ViewShellHint.cxx b/sd/source/ui/view/ViewShellHint.cxx index 6605ee9232c2..b86cbaa325d7 100644 --- a/sd/source/ui/view/ViewShellHint.cxx +++ b/sd/source/ui/view/ViewShellHint.cxx @@ -22,8 +22,7 @@ namespace sd { ViewShellHint::ViewShellHint(HintId eHintId) - : SfxHint() - , meHintId(eHintId) + : meHintId(eHintId) { } diff --git a/sd/source/ui/view/ViewShellImplementation.cxx b/sd/source/ui/view/ViewShellImplementation.cxx index 4ca73b2bb5dc..3f301c2efcd1 100644 --- a/sd/source/ui/view/ViewShellImplementation.cxx +++ b/sd/source/ui/view/ViewShellImplementation.cxx @@ -59,8 +59,6 @@ ViewShell::Implementation::Implementation (ViewShell& rViewShell) : mbIsMainViewShell(false), mbIsInitialized(false), mbArrangeActive(false), - mpSubShellFactory(), - mpUpdateLockForMouse(), mrViewShell(rViewShell) { } @@ -333,8 +331,7 @@ std::shared_ptr<ViewShell::Implementation::ToolBarManagerLock> ViewShell::Implementation::ToolBarManagerLock::ToolBarManagerLock ( const std::shared_ptr<ToolBarManager>& rpManager) - : mpLock(new ToolBarManager::UpdateLock(rpManager)), - maTimer() + : mpLock(new ToolBarManager::UpdateLock(rpManager)) { // Start a timer that will unlock the ToolBarManager update lock when // that is not done explicitly by calling Release(). diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx index 7f4039a0fc5d..db2ee5f8f158 100644 --- a/sd/source/ui/view/ViewShellManager.cxx +++ b/sd/source/ui/view/ViewShellManager.cxx @@ -353,9 +353,6 @@ void ViewShellManager::UnlockUpdate() ViewShellManager::Implementation::Implementation ( ViewShellBase& rBase) : mrBase(rBase), - maMutex(), - maShellFactories(), - maActiveViewShells(), mnUpdateLockCount(0), mbShellStackIsUpToDate(true), mpFormShell(nullptr), @@ -1143,7 +1140,6 @@ namespace { ShellDescriptor::ShellDescriptor() : mpShell(nullptr), mnId(ToolbarId::None), - mpFactory(), mbIsListenerAddedToWindow(false) { } @@ -1152,7 +1148,6 @@ ShellDescriptor::ShellDescriptor ( ShellId nId) : mpShell(nullptr), mnId(nId), - mpFactory(), mbIsListenerAddedToWindow(false) { } diff --git a/sd/source/ui/view/ViewTabBar.cxx b/sd/source/ui/view/ViewTabBar.cxx index cd09d77d479a..3760d34dcc5c 100644 --- a/sd/source/ui/view/ViewTabBar.cxx +++ b/sd/source/ui/view/ViewTabBar.cxx @@ -61,7 +61,6 @@ ViewTabBar::ViewTabBar ( : ViewTabBarInterfaceBase(maMutex), mpTabControl(VclPtr<TabBarControl>::Create(GetAnchorWindow(rxViewTabBarId,rxController), this)), mxController(rxController), - maTabBarButtons(), mxViewTabBarId(rxViewTabBarId), mpViewShellBase(nullptr), mnNoteBookWidthPadding(0) |