diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 12:25:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 18:03:27 +0100 |
commit | e79e8117dcc7475d8d90afeaaac9eb7050ff244e (patch) | |
tree | bba5f505c33796799aef9d19464132b22cccaa5d /include/sfx2 | |
parent | bacd06e9270ab64fa2c8243181c19c977d2bb649 (diff) |
loplugin:unusedfields in sfx2
Change-Id: I92b25efa78e156c89a0532aec632a31ec2029e05
Reviewed-on: https://gerrit.libreoffice.org/68202
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/docfilt.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/frmdescr.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/mailmodelapi.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/sidebar/DeckDescriptor.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/sidebar/PanelDescriptor.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/sidebar/TabBar.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/tabdlg.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/templatelocalview.hxx | 1 |
8 files changed, 1 insertions, 11 deletions
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx index 54d4a26922c4..2cd8d5fa0fb2 100644 --- a/include/sfx2/docfilt.hxx +++ b/include/sfx2/docfilt.hxx @@ -47,7 +47,6 @@ class SFX2_DLLPUBLIC SfxFilter OUString aServiceName; OUString aMimeType; OUString maFilterName; - OUString aPattern; OUString aUIName; OUString aDefaultTemplate; @@ -101,7 +100,6 @@ public: const OUString& GetDefaultTemplate() const { return aDefaultTemplate; } void SetDefaultTemplate( const OUString& rStr ) { aDefaultTemplate = rStr; } bool UsesStorage() const { return GetFormat() != SotClipboardFormatId::NONE; } - void SetURLPattern( const OUString& rStr ); void SetUIName( const OUString& rName ) { aUIName = rName; } void SetVersion( sal_Int32 nVersionP ) { nVersion = nVersionP; } sal_Int32 GetVersion() const { return nVersion; } diff --git a/include/sfx2/frmdescr.hxx b/include/sfx2/frmdescr.hxx index 295ba098dcfb..99e26280bebb 100644 --- a/include/sfx2/frmdescr.hxx +++ b/include/sfx2/frmdescr.hxx @@ -51,7 +51,6 @@ class SfxItemSet; class SFX2_DLLPUBLIC SfxFrameDescriptor { INetURLObject aURL; - INetURLObject aActualURL; OUString aName; Size aMargin; ScrollingMode eScroll; diff --git a/include/sfx2/mailmodelapi.hxx b/include/sfx2/mailmodelapi.hxx index 5c16060d7934..e28b148a9523 100644 --- a/include/sfx2/mailmodelapi.hxx +++ b/include/sfx2/mailmodelapi.hxx @@ -51,7 +51,6 @@ protected: private: std::unique_ptr<AddressList_Impl> mpToList; OUString maFromAddress; - OUString maSubject; static SaveResult ShowFilterOptionsDialog( const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR, const css::uno::Reference< css::frame::XModel >& xModel, @@ -73,7 +72,6 @@ public: ~SfxMailModel(); void AddToAddress( const OUString& rAddress ); - void SetSubject( const OUString& rSubject ) { maSubject = rSubject; } /** attaches a document to the current attachment list, can be called more than once. * at the moment there will be a dialog for export executed for every model which is going to be attached. diff --git a/include/sfx2/sidebar/DeckDescriptor.hxx b/include/sfx2/sidebar/DeckDescriptor.hxx index 49c290d0f369..086de40068b8 100644 --- a/include/sfx2/sidebar/DeckDescriptor.hxx +++ b/include/sfx2/sidebar/DeckDescriptor.hxx @@ -35,7 +35,6 @@ public: OUString msHighContrastIconURL; OUString msTitleBarIconURL; OUString msHighContrastTitleBarIconURL; - OUString msHelpURL; OUString msHelpText; ContextList maContextList; bool mbIsEnabled; diff --git a/include/sfx2/sidebar/PanelDescriptor.hxx b/include/sfx2/sidebar/PanelDescriptor.hxx index f62076e12bd0..ad40f6a42af0 100644 --- a/include/sfx2/sidebar/PanelDescriptor.hxx +++ b/include/sfx2/sidebar/PanelDescriptor.hxx @@ -33,7 +33,6 @@ public: OUString msDeckId; OUString msTitleBarIconURL; OUString msHighContrastTitleBarIconURL; - OUString msHelpURL; ContextList maContextList; OUString msImplementationURL; sal_Int32 mnOrderIndex; diff --git a/include/sfx2/sidebar/TabBar.hxx b/include/sfx2/sidebar/TabBar.hxx index 783741ac7443..1736a478aea2 100644 --- a/include/sfx2/sidebar/TabBar.hxx +++ b/include/sfx2/sidebar/TabBar.hxx @@ -50,7 +50,7 @@ class SFX2_DLLPUBLIC TabBar : public vcl::Window { public: - /** DeckMenuData has entries for display name, deck id, and a flag: + /** DeckMenuData has entries for display name, and a flag: - isCurrentDeck for the deck selection data - isEnabled for the show/hide menu */ @@ -58,7 +58,6 @@ public: { public: OUString msDisplayName; - OUString msDeckId; bool mbIsCurrentDeck; bool mbIsActive; bool mbIsEnabled; diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index 47c6418c2707..33ff5175769e 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -69,7 +69,6 @@ friend class SfxTabDialogUIObject; VclPtr<TabControl> m_pTabCtrl; VclPtr<PushButton> m_pOKBtn; - VclPtr<PushButton> m_pApplyBtn; VclPtr<PushButton> m_pUserBtn; VclPtr<CancelButton> m_pCancelBtn; VclPtr<HelpButton> m_pHelpBtn; diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx index ce2e64b828b7..b739549580a8 100644 --- a/include/sfx2/templatelocalview.hxx +++ b/include/sfx2/templatelocalview.hxx @@ -173,7 +173,6 @@ protected: protected: sal_uInt16 mnCurRegionId; - OUString maCurRegionName; TemplateViewItem *maSelectedItem; |