summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-24 16:05:34 +0200
committerNoel Grandin <noel@peralex.com>2015-11-25 08:25:09 +0200
commit85c758a4618d3a485f778bda5b20a8221161e399 (patch)
treecdd2e94f660d10af379d27dfcf216f499b353acb /sfx2
parenta78182a993288680b04d1329536af5953e8ca31c (diff)
loplugin:unusedfields in include/sfx2/
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/templatedefaultview.cxx1
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx2
-rw-r--r--sfx2/source/dialog/tabdlg.cxx26
-rw-r--r--sfx2/source/doc/objxtor.cxx2
4 files changed, 1 insertions, 30 deletions
diff --git a/sfx2/source/control/templatedefaultview.cxx b/sfx2/source/control/templatedefaultview.cxx
index 39ee41552f68..5c1753605785 100644
--- a/sfx2/source/control/templatedefaultview.cxx
+++ b/sfx2/source/control/templatedefaultview.cxx
@@ -20,7 +20,6 @@ TemplateDefaultView::TemplateDefaultView( Window* pParent)
: TemplateLocalView(pParent)
, mnTextHeight(30)
, mnItemPadding(5)
- , mnLastMouseDownItem( THUMBNAILVIEW_ITEM_NOTFOUND )
{
Rectangle aScreen = Application::GetScreenPosSizePixel(Application::GetDisplayBuiltInScreen());
mnItemMaxSize = std::min(aScreen.GetWidth(),aScreen.GetHeight()) > 800 ? 256 : 192;
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index fb9fddcfe300..ffb7cfcd497c 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1182,7 +1182,7 @@ void SfxDocumentPage::Reset( const SfxItemSet* rSet )
SfxDocumentInfoDialog::SfxDocumentInfoDialog( vcl::Window* pParent,
const SfxItemSet& rItemSet )
- : SfxTabDialog(nullptr, pParent, "DocumentPropertiesDialog",
+ : SfxTabDialog(pParent, "DocumentPropertiesDialog",
"sfx/ui/documentpropertiesdialog.ui", &rItemSet)
, m_nDocInfoId(0)
{
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 10464439f4fa..795b7015c298 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -312,30 +312,6 @@ SfxTabDialog* SfxTabPage::GetTabDialog() const
SfxTabDialog::SfxTabDialog
-(
- SfxViewFrame* pViewFrame, // Frame, to which the Dialog belongs
- vcl::Window* pParent, // Parent Window
- const OUString& rID, const OUString& rUIXMLDescription, //Dialog Name, Dialog .ui path
- const SfxItemSet* pItemSet, // Itemset with the data;
- // can be NULL, when Pages are onDemand
- bool bEditFmt // when yes -> additional Button for standard
-)
- : TabDialog(pParent, rID, rUIXMLDescription)
- , pFrame(pViewFrame)
- , pSet(pItemSet ? new SfxItemSet(*pItemSet) : nullptr)
- , pOutSet(nullptr)
- , pRanges(nullptr)
- , nAppPageId(USHRT_MAX)
- , bItemsReset(false)
- , bStandardPushed(false)
- , pExampleSet(nullptr)
-{
- Init_Impl(bEditFmt);
-}
-
-
-
-SfxTabDialog::SfxTabDialog
/* [Description]
@@ -350,7 +326,6 @@ SfxTabDialog::SfxTabDialog
bool bEditFmt // when yes -> additional Button for standard
)
: TabDialog(pParent, rID, rUIXMLDescription)
- , pFrame(nullptr)
, pSet(pItemSet ? new SfxItemSet(*pItemSet) : nullptr)
, pOutSet(nullptr)
, pRanges(nullptr)
@@ -360,7 +335,6 @@ SfxTabDialog::SfxTabDialog
, pExampleSet(nullptr)
{
Init_Impl(bEditFmt);
- SAL_INFO( "sfx.config", "Please use the Construtor with the ViewFrame" );
}
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index 9a75ed9e3bd4..5d1bf3e782c2 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -281,7 +281,6 @@ SfxObjectShell_Impl::~SfxObjectShell_Impl()
SfxObjectShell::SfxObjectShell( const SfxModelFlags i_nCreationFlags )
: pImp(new SfxObjectShell_Impl(*this))
, pMedium(nullptr)
- , pStyleSheetPool(nullptr)
, eCreateMode(SfxObjectCreateMode::STANDARD)
, bHasName(false)
, bIsInGenerateThumbnail (false)
@@ -312,7 +311,6 @@ SfxObjectShell::SfxObjectShell( const SfxModelFlags i_nCreationFlags )
SfxObjectShell::SfxObjectShell(SfxObjectCreateMode eMode)
: pImp(new SfxObjectShell_Impl(*this))
, pMedium(nullptr)
- , pStyleSheetPool(nullptr)
, eCreateMode(eMode)
, bHasName(false)
, bIsInGenerateThumbnail(false)