summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-16 11:54:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-18 13:00:38 +0200
commit9fa32e5dce345dea17129587c401c03520fb398b (patch)
treee33696647bcce308420d45b4d25246201f0a27a5 /include/sfx2
parenta0c15b39cb30736e04564420f55c50fefb51e41a (diff)
loplugin:unusedfields in sfx2
and fix leak of HelpListener_Impl in SfxHelpWindow_Impl Change-Id: I7450be10c8deaf63b7c7f1f4359b4eaf0083bdd4 Reviewed-on: https://gerrit.libreoffice.org/54451 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/new.hxx1
-rw-r--r--include/sfx2/prnmon.hxx1
-rw-r--r--include/sfx2/recentdocsview.hxx1
-rw-r--r--include/sfx2/unoctitm.hxx2
4 files changed, 0 insertions, 5 deletions
diff --git a/include/sfx2/new.hxx b/include/sfx2/new.hxx
index e7c355db1341..4eb1fa8d48c3 100644
--- a/include/sfx2/new.hxx
+++ b/include/sfx2/new.hxx
@@ -69,7 +69,6 @@ private:
std::unique_ptr<SfxPreviewWin_Impl> m_xPreviewWin;
std::unique_ptr<weld::Label> m_xAltTitleFt;
Idle m_aPrevIdle;
- OUString m_sLoadTemplate;
SfxNewFileDialogMode m_nFlags;
SfxDocumentTemplates m_aTemplates;
diff --git a/include/sfx2/prnmon.hxx b/include/sfx2/prnmon.hxx
index 66dec0442723..e66d17b73f1d 100644
--- a/include/sfx2/prnmon.hxx
+++ b/include/sfx2/prnmon.hxx
@@ -34,7 +34,6 @@ class SfxPrintOptionsDialog : public weld::GenericDialogController
{
private:
std::unique_ptr<SfxPrintOptDlg_Impl> pDlgImpl;
- SfxViewShell* pViewSh;
std::unique_ptr<SfxItemSet> pOptions;
VclPtr<SfxTabPage> pPage;
std::unique_ptr<weld::Widget> m_xHelpBtn;
diff --git a/include/sfx2/recentdocsview.hxx b/include/sfx2/recentdocsview.hxx
index a2d2f8ad86d8..a22dae2d6e87 100644
--- a/include/sfx2/recentdocsview.hxx
+++ b/include/sfx2/recentdocsview.hxx
@@ -87,7 +87,6 @@ private:
long mnItemMaxSize;
long mnTextHeight;
long mnItemPadding;
- long mnItemMaxTextLength;
size_t mnLastMouseDownItem;
/// Image that appears when there is no recent document.
diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx
index 7f64e5a393d2..81a9ea1a698a 100644
--- a/include/sfx2/unoctitm.hxx
+++ b/include/sfx2/unoctitm.hxx
@@ -107,11 +107,9 @@ class SfxDispatchController_Impl : public SfxControllerItem
SfxDispatcher* pDispatcher;
SfxBindings* pBindings;
const SfxPoolItem* pLastState;
- sal_uInt16 nSlot;
SfxOfficeDispatch* pDispatch;
bool bMasterSlave;
bool bVisible;
- const char* pUnoName;
css::uno::WeakReference< css::frame::XFrame > xFrame;
static void addParametersToArgs( const css::util::URL& aURL,