summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-02 09:14:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-02 16:06:48 +0200
commit34a9f93018804044b756e0e49c7ea759a65d3dc4 (patch)
treee8a5908463694f5979ab390b2e11db6fa3d9545e
parentc085fc7cd335e3ea50a6bbaedf2f6e8cffadf559 (diff)
clang-tidy:readability-redundant-member-init
Change-Id: I396b83c089fef3aeb7789c17a3013ce61691504e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121489 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sfx2/source/appl/fileobj.cxx1
-rw-r--r--sfx2/source/appl/linksrc.cxx2
-rw-r--r--sfx2/source/control/recentdocsview.cxx1
-rw-r--r--sfx2/source/control/sorgitm.cxx5
-rw-r--r--sfx2/source/control/thumbnailviewitem.cxx1
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx16
-rw-r--r--sfx2/source/dialog/infobar.cxx2
-rw-r--r--sfx2/source/dialog/titledockwin.cxx1
-rw-r--r--sfx2/source/dialog/tplpitem.cxx3
-rw-r--r--sfx2/source/doc/DocumentMetadataAccess.cxx3
-rw-r--r--sfx2/source/doc/Metadatable.cxx8
-rw-r--r--sfx2/source/doc/docundomanager.cxx1
-rw-r--r--sfx2/source/doc/objmisc.cxx2
-rw-r--r--sfx2/source/doc/saveastemplatedlg.cxx2
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx5
-rw-r--r--sfx2/source/doc/templatedlg.cxx2
-rw-r--r--sfx2/source/sidebar/ContextChangeBroadcaster.cxx3
-rw-r--r--sfx2/source/sidebar/ContextList.cxx1
-rw-r--r--sfx2/source/sidebar/DeckDescriptor.cxx13
-rw-r--r--sfx2/source/sidebar/FocusManager.cxx2
-rw-r--r--sfx2/source/sidebar/Panel.cxx2
-rw-r--r--sfx2/source/sidebar/PanelDescriptor.cxx9
-rw-r--r--sfx2/source/sidebar/PanelTitleBar.cxx3
-rw-r--r--sfx2/source/sidebar/ResourceManager.cxx3
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx8
-rw-r--r--sfx2/source/sidebar/SidebarDockingWindow.cxx1
-rw-r--r--sfx2/source/sidebar/TabBar.cxx1
-rw-r--r--sfx2/source/sidebar/Theme.cxx11
-rw-r--r--sfx2/source/sidebar/UnoPanel.cxx4
-rw-r--r--sfx2/source/statbar/stbitem.cxx3
-rw-r--r--sfx2/source/view/frame.cxx2
-rw-r--r--sfx2/source/view/viewsh.cxx3
-rw-r--r--shell/source/cmdmail/cmdmailsuppl.cxx3
-rw-r--r--shell/source/unix/exec/shellexec.cxx1
34 files changed, 19 insertions, 109 deletions
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx
index f58ffe086770..f420e2704a8c 100644
--- a/sfx2/source/appl/fileobj.cxx
+++ b/sfx2/source/appl/fileobj.cxx
@@ -47,7 +47,6 @@ enum class SvFileObjectType
SvFileObject::SvFileObject()
: nPostUserEventId(nullptr)
- , mxDelMed()
, nType(SvFileObjectType::Text)
, bLoadAgain(true)
, bSynchron(false)
diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx
index d249f8e282a3..83b5c83cf055 100644
--- a/sfx2/source/appl/linksrc.cxx
+++ b/sfx2/source/appl/linksrc.cxx
@@ -95,7 +95,7 @@ private:
std::vector<std::unique_ptr<SvLinkSource_Entry_Impl>> mvData;
public:
- SvLinkSource_Array_Impl() : mvData() {}
+ SvLinkSource_Array_Impl() {}
size_t size() const { return mvData.size(); }
SvLinkSource_Entry_Impl *operator[](size_t idx) const { return mvData[idx].get(); }
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index c3d83741033d..dd38fb8dc7ea 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -126,7 +126,6 @@ RecentDocsView::RecentDocsView(std::unique_ptr<weld::ScrolledWindow> xWindow, st
: ThumbnailView(std::move(xWindow), std::move(xMenu))
, mnFileTypes(ApplicationType::TYPE_NONE)
, mnLastMouseDownItem(THUMBNAILVIEW_ITEM_NOTFOUND)
- , maWelcomeImage()
, maWelcomeLine1(SfxResId(STR_WELCOME_LINE1))
, maWelcomeLine2(SfxResId(STR_WELCOME_LINE2))
, mpLoadRecentFile(nullptr)
diff --git a/sfx2/source/control/sorgitm.cxx b/sfx2/source/control/sorgitm.cxx
index 6f23e3fcf33f..a9005619a3a6 100644
--- a/sfx2/source/control/sorgitm.cxx
+++ b/sfx2/source/control/sorgitm.cxx
@@ -25,10 +25,7 @@
SfxPoolItem* SfxScriptOrganizerItem::CreateDefault() { return new SfxScriptOrganizerItem; }
-SfxScriptOrganizerItem::SfxScriptOrganizerItem() :
-
- SfxStringItem()
-
+SfxScriptOrganizerItem::SfxScriptOrganizerItem()
{
}
diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx
index 80a1da50a01c..0e82be466f7e 100644
--- a/sfx2/source/control/thumbnailviewitem.cxx
+++ b/sfx2/source/control/thumbnailviewitem.cxx
@@ -47,7 +47,6 @@ ThumbnailViewItem::ThumbnailViewItem(ThumbnailViewBase &rView, sal_uInt16 nId)
, mbBorder(true)
, mbSelected(false)
, mbHover(false)
- , mxAcc()
{
}
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 82265a0d7a1d..7427d441ff8c 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -167,24 +167,10 @@ OUString ConvertDateTime_Impl( std::u16string_view rName,
SfxDocumentInfoItem::SfxDocumentInfoItem()
- : SfxStringItem()
- , m_AutoloadDelay(0)
- , m_AutoloadURL()
+ : m_AutoloadDelay(0)
, m_isAutoloadEnabled(false)
- , m_DefaultTarget()
- , m_TemplateName()
- , m_Author()
- , m_CreationDate()
- , m_ModifiedBy()
- , m_ModificationDate()
- , m_PrintedBy()
- , m_PrintDate()
, m_EditingCycles(0)
, m_EditingDuration(0)
- , m_Description()
- , m_Keywords()
- , m_Subject()
- , m_Title()
, m_bHasTemplate( true )
, m_bDeleteUserData( false )
, m_bUseUserData( true )
diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx
index 40095a7b8a25..d6e2a34e0043 100644
--- a/sfx2/source/dialog/infobar.cxx
+++ b/sfx2/source/dialog/infobar.cxx
@@ -200,7 +200,6 @@ SfxInfoBarWindow::SfxInfoBarWindow(vcl::Window* pParent, const OUString& sId,
, m_xSecondaryMessage(m_xBuilder->weld_text_view("secondary"))
, m_xButtonBox(m_xBuilder->weld_container("buttonbox"))
, m_xCloseBtn(m_xBuilder->weld_toolbar("closebar"))
- , m_aActionBtns()
{
SetStyle(GetStyle() | WB_DIALOGCONTROL);
@@ -348,7 +347,6 @@ IMPL_LINK_NOARG(SfxInfoBarWindow, CloseHandler, const OString&, void)
SfxInfoBarContainerWindow::SfxInfoBarContainerWindow(SfxInfoBarContainerChild* pChildWin)
: Window(pChildWin->GetParent(), WB_DIALOGCONTROL)
, m_pChildWin(pChildWin)
- , m_pInfoBars()
, m_bResizing(false)
{
m_aLayoutIdle.SetPriority(TaskPriority::HIGHEST);
diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx
index 30dd8907933c..e060a343a8a4 100644
--- a/sfx2/source/dialog/titledockwin.cxx
+++ b/sfx2/source/dialog/titledockwin.cxx
@@ -35,7 +35,6 @@ namespace sfx2
//= TitledDockingWindow
TitledDockingWindow::TitledDockingWindow( SfxBindings* i_pBindings, SfxChildWindow* i_pChildWindow, vcl::Window* i_pParent )
:SfxDockingWindow( i_pBindings, i_pChildWindow, i_pParent, WB_MOVEABLE|WB_CLOSEABLE|WB_DOCKABLE|WB_HIDE|WB_3DLOOK )
- ,m_sTitle()
,m_aToolbox( VclPtr<ToolBox>::Create(this) )
,m_aContentWindow( VclPtr<vcl::Window>::Create(this, WB_DIALOGCONTROL) )
,m_aBorder( 3, 1, 3, 3 )
diff --git a/sfx2/source/dialog/tplpitem.cxx b/sfx2/source/dialog/tplpitem.cxx
index 11d48584d304..1662634440bd 100644
--- a/sfx2/source/dialog/tplpitem.cxx
+++ b/sfx2/source/dialog/tplpitem.cxx
@@ -23,8 +23,7 @@
SfxPoolItem* SfxTemplateItem::CreateDefault() { return new SfxTemplateItem; }
-SfxTemplateItem::SfxTemplateItem() :
- SfxFlagItem()
+SfxTemplateItem::SfxTemplateItem()
{
}
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index 1c3d87d8c5b0..33c60ec0b268 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -224,9 +224,6 @@ struct DocumentMetadataAccess_Impl
SfxObjectShell const & i_rRegistrySupplier)
: m_xContext(i_xContext)
, m_rXmlIdRegistrySupplier(i_rRegistrySupplier)
- , m_xBaseURI()
- , m_xRepository()
- , m_xManifest()
{
OSL_ENSURE(m_xContext.is(), "context null");
}
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx
index 595adefd256b..1906967cabe0 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -450,8 +450,7 @@ typedef std::unordered_map< const Metadatable*,
struct XmlIdRegistryDocument::XmlIdRegistry_Impl
{
- XmlIdRegistry_Impl()
- : m_XmlIdMap(), m_XmlIdReverseMap() { }
+ XmlIdRegistry_Impl() {}
bool TryInsertMetadatable(Metadatable& i_xObject,
std::u16string_view i_rStream, const OUString & i_rIdref);
@@ -892,7 +891,7 @@ namespace {
struct RMapEntry
{
- RMapEntry() : m_xLink() { }
+ RMapEntry() {}
RMapEntry(OUString const& i_rStream,
OUString const& i_rXmlId,
std::shared_ptr<MetadatableClipboard> const& i_pLink
@@ -920,8 +919,7 @@ typedef std::unordered_map< OUString,
struct XmlIdRegistryClipboard::XmlIdRegistry_Impl
{
- XmlIdRegistry_Impl()
- : m_XmlIdMap(), m_XmlIdReverseMap() { }
+ XmlIdRegistry_Impl() {}
bool TryInsertMetadatable(Metadatable& i_xObject,
std::u16string_view i_rStream, const OUString & i_rIdref);
diff --git a/sfx2/source/doc/docundomanager.cxx b/sfx2/source/doc/docundomanager.cxx
index 45102c961c99..ab7438a7b880 100644
--- a/sfx2/source/doc/docundomanager.cxx
+++ b/sfx2/source/doc/docundomanager.cxx
@@ -168,7 +168,6 @@ namespace sfx2
public:
explicit UndoManagerGuard( DocumentUndoManager& i_undoManager )
:m_guard( i_undoManager )
- ,m_solarMutexFacade()
{
}
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 18042c7eca70..48c3491f91a3 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -126,7 +126,7 @@ private:
public:
explicit SfxHeaderAttributes_Impl( SfxObjectShell* pSh ) :
- SvKeyValueIterator(), pDoc( pSh ),
+ pDoc( pSh ),
xIter( pSh->GetMedium()->GetHeaderAttributes_Impl() ),
bAlert( false ) {}
diff --git a/sfx2/source/doc/saveastemplatedlg.cxx b/sfx2/source/doc/saveastemplatedlg.cxx
index a17ca283ed8f..6f9fd1b4757f 100644
--- a/sfx2/source/doc/saveastemplatedlg.cxx
+++ b/sfx2/source/doc/saveastemplatedlg.cxx
@@ -38,8 +38,6 @@ SfxSaveAsTemplateDialog::SfxSaveAsTemplateDialog(weld::Window* pParent, const un
, m_xCBXDefault(m_xBuilder->weld_check_button("defaultcb"))
, m_xTemplateNameEdit(m_xBuilder->weld_entry("name_entry"))
, m_xOKButton(m_xBuilder->weld_button("ok"))
- , msSelectedCategory(OUString())
- , msTemplateName(OUString())
, mnRegionPos(0)
, m_xModel(rModel)
{
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 0632d52cbca4..6903b81709a7 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -228,11 +228,6 @@ struct IMPL_SfxBaseModel_DataContainer : public ::sfx2::IModifiableDocument
, m_bSuicide ( false )
, m_bExternalTitle ( false )
, m_bModifiedSinceLastSave( false )
- , m_xTitleHelper ()
- , m_xNumberedControllers ()
- , m_xDocumentMetadata () // lazy
- , m_pDocumentUndoManager ()
- , m_cmisProperties ()
{
// increase global instance counter.
++g_nInstanceCounter;
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 9bc816dc0eba..2c2d2a87a157 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -1276,7 +1276,6 @@ static std::vector<OUString> lcl_getAllFactoryURLs ()
SfxTemplateCategoryDialog::SfxTemplateCategoryDialog(weld::Window* pParent)
: GenericDialogController(pParent, "sfx/ui/templatecategorydlg.ui", "TemplatesCategoryDialog")
- , msSelectedCategory(OUString())
, mbIsNewCategory(false)
, mxLBCategory(m_xBuilder->weld_tree_view("categorylb"))
, mxSelectLabel(m_xBuilder->weld_label("select_label"))
@@ -1342,7 +1341,6 @@ void SfxTemplateCategoryDialog::SetCategoryLBEntries(std::vector<OUString> aFold
SfxTemplateSelectionDlg::SfxTemplateSelectionDlg(weld::Window* pParent)
: SfxTemplateManagerDlg(pParent)
- , msTemplatePath(OUString())
{
mxCBApp->set_active(MNI_IMPRESS);
mxCBFolder->set_active(0);
diff --git a/sfx2/source/sidebar/ContextChangeBroadcaster.cxx b/sfx2/source/sidebar/ContextChangeBroadcaster.cxx
index b000ec3f8c97..0350929eedf1 100644
--- a/sfx2/source/sidebar/ContextChangeBroadcaster.cxx
+++ b/sfx2/source/sidebar/ContextChangeBroadcaster.cxx
@@ -33,8 +33,7 @@ using namespace css::uno;
namespace sfx2::sidebar {
ContextChangeBroadcaster::ContextChangeBroadcaster()
- : msContextName(),
- mbIsBroadcasterEnabled(true)
+ : mbIsBroadcasterEnabled(true)
{
}
diff --git a/sfx2/source/sidebar/ContextList.cxx b/sfx2/source/sidebar/ContextList.cxx
index 36e9872d3d0b..9f171644717a 100644
--- a/sfx2/source/sidebar/ContextList.cxx
+++ b/sfx2/source/sidebar/ContextList.cxx
@@ -22,7 +22,6 @@
namespace sfx2::sidebar {
ContextList::ContextList()
- : maEntries()
{
}
diff --git a/sfx2/source/sidebar/DeckDescriptor.cxx b/sfx2/source/sidebar/DeckDescriptor.cxx
index 79bb3afdab54..fee839f08ad0 100644
--- a/sfx2/source/sidebar/DeckDescriptor.cxx
+++ b/sfx2/source/sidebar/DeckDescriptor.cxx
@@ -22,18 +22,9 @@
namespace sfx2::sidebar {
DeckDescriptor::DeckDescriptor()
- : msTitle(),
- msId(),
- msIconURL(),
- msHighContrastIconURL(),
- msTitleBarIconURL(),
- msHighContrastTitleBarIconURL(),
- msHelpText(),
- maContextList(),
- mbIsEnabled(true),
+ : mbIsEnabled(true),
mnOrderIndex(10000), // Default value as defined in Sidebar.xcs
- mbExperimental(false),
- mpDeck()
+ mbExperimental(false)
{
}
diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx
index ebdc03939d66..f23eabc427f9 100644
--- a/sfx2/source/sidebar/FocusManager.cxx
+++ b/sfx2/source/sidebar/FocusManager.cxx
@@ -36,8 +36,6 @@ FocusManager::FocusLocation::FocusLocation (const PanelComponent eComponent, con
FocusManager::FocusManager(const std::function<void(const Panel&)>& rShowPanelFunctor)
: mpDeckTitleBar(nullptr),
- maPanels(),
- maButtons(),
maShowPanelFunctor(rShowPanelFunctor)
{
}
diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx
index a18f1879b898..519c6eb52f43 100644
--- a/sfx2/source/sidebar/Panel.cxx
+++ b/sfx2/source/sidebar/Panel.cxx
@@ -56,8 +56,6 @@ Panel::Panel(const PanelDescriptor& rPanelDescriptor,
, msTitle(rPanelDescriptor.msTitle)
, mbIsTitleBarOptional(rPanelDescriptor.mbIsTitleBarOptional)
, mbWantsAWT(rPanelDescriptor.mbWantsAWT)
- , mxElement()
- , mxPanelComponent()
, mbIsExpanded(bIsInitiallyExpanded)
, mbLurking(false)
, maContextAccess(rContextAccess)
diff --git a/sfx2/source/sidebar/PanelDescriptor.cxx b/sfx2/source/sidebar/PanelDescriptor.cxx
index b980d7f1e751..6ca328de28f7 100644
--- a/sfx2/source/sidebar/PanelDescriptor.cxx
+++ b/sfx2/source/sidebar/PanelDescriptor.cxx
@@ -22,14 +22,7 @@
namespace sfx2::sidebar {
PanelDescriptor::PanelDescriptor()
- : msTitle(),
- mbIsTitleBarOptional(false),
- msId(),
- msDeckId(),
- msTitleBarIconURL(),
- msHighContrastTitleBarIconURL(),
- maContextList(),
- msImplementationURL(),
+ : mbIsTitleBarOptional(false),
mnOrderIndex(10000), // Default value as defined in Sidebar.xcs
mbShowForReadOnlyDocuments(false),
mbWantsCanvas(false),
diff --git a/sfx2/source/sidebar/PanelTitleBar.cxx b/sfx2/source/sidebar/PanelTitleBar.cxx
index c99672a0f1c5..9b656b8323f0 100644
--- a/sfx2/source/sidebar/PanelTitleBar.cxx
+++ b/sfx2/source/sidebar/PanelTitleBar.cxx
@@ -36,8 +36,7 @@ PanelTitleBar::PanelTitleBar(const OUString& rsTitle,
: TitleBar(rBuilder, Theme::Color_PanelTitleBarBackground),
mxExpander(rBuilder.weld_expander("expander")),
mpPanel(pPanel),
- msIdent("button"),
- msMoreOptionsCommand()
+ msIdent("button")
{
mxExpander->set_label(rsTitle);
mxExpander->connect_expanded(LINK(this, PanelTitleBar, ExpandHdl));
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index 3fdfcb25a7b1..6c3452e70fc3 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -98,9 +98,6 @@ css::uno::Sequence<OUString> BuildContextList (const ContextList& rContextList)
} //end anonymous namespace
ResourceManager::ResourceManager()
- : maDecks(),
- maPanels(),
- maProcessedApplications()
{
ReadDeckList();
ReadPanelList();
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index b399a1a415d1..d1245bc489a2 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -111,7 +111,6 @@ SidebarController::SidebarController (
SidebarDockingWindow* pParentWindow,
const SfxViewFrame* pViewFrame)
: SidebarControllerInterfaceBase(m_aMutex),
- mpCurrentDeck(),
mpParentWindow(pParentWindow),
mpViewFrame(pViewFrame),
mxFrame(pViewFrame->GetFrame().GetFrameInterface()),
@@ -123,23 +122,18 @@ SidebarController::SidebarController (
const ::std::vector<TabBar::DeckMenuData>& rMenuData) { return this->ShowPopupMenu(rMainMenu, rSubMenu, rMenuData); },
this)),
maCurrentContext(OUString(), OUString()),
- maRequestedContext(),
mnRequestedForceFlags(SwitchFlag_NoForce),
mnMaximumSidebarWidth(officecfg::Office::UI::Sidebar::General::MaximumWidth::get()),
mbMinimumSidebarWidth(officecfg::Office::UI::Sidebar::General::MinimumWidth::get()),
msCurrentDeckId(gsDefaultDeckId),
maPropertyChangeForwarder([this](){ return this->BroadcastPropertyChange(); }),
maContextChangeUpdate([this](){ return this->UpdateConfigurations(); }),
- mbIsDeckRequestedOpen(),
- mbIsDeckOpen(),
mbFloatingDeckClosed(!pParentWindow->IsFloatingMode()),
mnSavedSidebarWidth(pParentWindow->GetSizePixel().Width()),
maFocusManager([this](const Panel& rPanel){ return this->ShowPanel(rPanel); }),
- mxReadOnlyModeDispatch(),
mbIsDocumentReadOnly(false),
mpSplitWindow(nullptr),
- mnWidthOnSplitterButtonDown(0),
- mpResourceManager()
+ mnWidthOnSplitterButtonDown(0)
{
// Decks and panel collections for this sidebar
mpResourceManager = std::make_unique<ResourceManager>();
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index b9fcdc43b62b..068946cb5b65 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -44,7 +44,6 @@ namespace sfx2::sidebar {
SidebarDockingWindow::SidebarDockingWindow(SfxBindings* pSfxBindings, SidebarChildWindow& rChildWindow,
vcl::Window* pParentWindow, WinBits nBits)
: SfxDockingWindow(pSfxBindings, &rChildWindow, pParentWindow, nBits)
- , mpSidebarController()
, mbIsReadyToDrag(false)
{
// Get the XFrame from the bindings.
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index b823a7c61b3d..878c87c67360 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -54,7 +54,6 @@ TabBar::TabBar(vcl::Window* pParentWindow,
, mxMainMenu(mxAuxBuilder->weld_menu("mainmenu"))
, mxSubMenu(mxAuxBuilder->weld_menu("submenu"))
, mxMeasureBox(mxAuxBuilder->weld_widget("measure"))
- , maItems()
, maDeckActivationFunctor(rDeckActivationFunctor)
, maPopupMenuProvider(rPopupMenuProvider)
, pParentSidebarController(rParentSidebarController)
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx
index e918a992376c..c6238bb3def0 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -38,17 +38,8 @@ Theme& Theme::GetCurrentTheme()
Theme::Theme()
: ThemeInterfaceBase(m_aMutex),
- maColors(),
- maIntegers(),
- maBooleans(),
mbIsHighContrastMode(Application::GetSettings().GetStyleSettings().GetHighContrastMode()),
- mbIsHighContrastModeSetManually(false),
- maPropertyNameToIdMap(),
- maPropertyIdToNameMap(),
- maRawValues(),
- maChangeListeners(),
- maVetoableListeners()
-
+ mbIsHighContrastModeSetManually(false)
{
SetupPropertyMaps();
}
diff --git a/sfx2/source/sidebar/UnoPanel.cxx b/sfx2/source/sidebar/UnoPanel.cxx
index 802126873a7a..d47399b85b5d 100644
--- a/sfx2/source/sidebar/UnoPanel.cxx
+++ b/sfx2/source/sidebar/UnoPanel.cxx
@@ -27,9 +27,7 @@ using namespace ::sfx2::sidebar;
SfxUnoPanel::SfxUnoPanel(const uno::Reference<frame::XFrame>& rFrame, const OUString& panelId, const OUString& deckId):
xFrame(rFrame),
mPanelId(panelId),
-mDeckId(deckId),
-mpDeck(),
-mxPanel()
+mDeckId(deckId)
{
SidebarController* pSidebarController = getSidebarController();
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 5daf22dae11b..494bb186ba03 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -137,8 +137,7 @@ SfxStatusBarControl::SfxStatusBarControl
for which no specific ones have been registered.
*/
-: svt::StatusbarController(),
- nSlotId( nSlotID ),
+: nSlotId( nSlotID ),
nId( nCtrlID ),
pBar( &rBar )
{
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx
index 3c3b68f0a628..5f5aed2d208f 100644
--- a/sfx2/source/view/frame.cxx
+++ b/sfx2/source/view/frame.cxx
@@ -478,8 +478,6 @@ bool SfxUnoAnyItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nMemberId*/
}
SfxUnoFrameItem::SfxUnoFrameItem()
- : SfxPoolItem()
- , m_xFrame()
{
}
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index ba1e54c4a661..73d709436d9b 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -218,8 +218,7 @@ void SAL_CALL SfxClipboardChangeListener::changedContents( const datatransfer::c
sal_uInt32 SfxViewShell_Impl::m_nLastViewShellId = 0;
SfxViewShell_Impl::SfxViewShell_Impl(SfxViewShellFlags const nFlags, ViewShellDocId nDocId)
-: aInterceptorContainer()
-, m_bHasPrintOptions(nFlags & SfxViewShellFlags::HAS_PRINTOPTIONS)
+: m_bHasPrintOptions(nFlags & SfxViewShellFlags::HAS_PRINTOPTIONS)
, m_nFamily(0xFFFF) // undefined, default set by TemplateDialog
, m_pLibreOfficeKitViewCallback(nullptr)
, m_pLibreOfficeKitViewData(nullptr)
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx
index 12bd5101dba8..c65372f5430e 100644
--- a/shell/source/cmdmail/cmdmailsuppl.cxx
+++ b/shell/source/cmdmail/cmdmailsuppl.cxx
@@ -49,8 +49,7 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::configuration;
-CmdMailSuppl::CmdMailSuppl( const Reference< XComponentContext >& xContext ) :
- WeakImplHelper< XSimpleMailClientSupplier, XSimpleMailClient, XServiceInfo >()
+CmdMailSuppl::CmdMailSuppl( const Reference< XComponentContext >& xContext )
{
m_xConfigurationProvider = theDefaultProvider::get(xContext);
}
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
index 87b78fe1d882..5248c934ab16 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -65,7 +65,6 @@ namespace
}
ShellExec::ShellExec( const Reference< XComponentContext >& xContext ) :
- WeakImplHelper< XSystemShellExecute, XServiceInfo >(),
m_xContext(xContext)
{
}