diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-31 13:28:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-31 20:21:42 +0200 |
commit | d9e6d51c7a49d612fbc0b5a44d1c2b85e1aac899 (patch) | |
tree | 9a6789a1af344bc081659762660b11ceaf00d3c9 /include/svx | |
parent | 5c7ba324eb1b66b367c3f00164044a80778b8871 (diff) |
loplugin:unusedfields
Change-Id: Id2dea1d3a56d5d3be03c5a2a4f2ef530a05f9b19
Reviewed-on: https://gerrit.libreoffice.org/52185
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/langbox.hxx | 4 | ||||
-rw-r--r-- | include/svx/xmlgrhlp.hxx | 9 |
2 files changed, 1 insertions, 12 deletions
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index 0e5bcd0f6234..00aaaa58a904 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -155,7 +155,6 @@ private: OUString m_aAllString; bool m_bHasLangNone; bool m_bLangNoneIsLangAll; - bool m_bWithCheckmark; SVX_DLLPRIVATE int ImplTypeToPos(LanguageType eType) const; SVX_DLLPRIVATE void InsertLanguage(const LanguageType nLangType); @@ -164,8 +163,7 @@ private: public: LanguageBox(weld::ComboBoxText* pControl); void SetLanguageList( SvxLanguageListFlags nLangList, - bool bHasLangNone, bool bLangNoneIsLangAll = false, - bool bCheckSpellAvail = false ); + bool bHasLangNone, bool bLangNoneIsLangAll = false ); void AddLanguages( const std::vector< LanguageType >& rLanguageTypes, SvxLanguageListFlags nLangList ); void SelectLanguage( const LanguageType eLangType ); LanguageType GetSelectedLanguage() const; diff --git a/include/svx/xmlgrhlp.hxx b/include/svx/xmlgrhlp.hxx index 498b0154e774..7cea0279bab0 100644 --- a/include/svx/xmlgrhlp.hxx +++ b/include/svx/xmlgrhlp.hxx @@ -49,25 +49,18 @@ class SVX_DLLPUBLIC SvXMLGraphicHelper final : public cppu::WeakComponentImplHel css::document::XBinaryStreamResolver> { private: - typedef ::std::pair< OUString, OUString > URLPair; - typedef ::std::vector< URLPair > URLPairVector; - typedef ::std::vector< GraphicObject > GraphicObjectVector; typedef ::std::vector< css::uno::Reference< css::io::XOutputStream > > GraphicOutputStreamVector; ::osl::Mutex maMutex; css::uno::Reference < css::embed::XStorage > mxRootStorage; OUString maCurStorageName; - URLPairVector maGrfURLs; - GraphicObjectVector maGrfObjs; GraphicOutputStreamVector maGrfStms; - ::std::set< OUString > maURLSet; std::unordered_map<OUString, css::uno::Reference<css::graphic::XGraphic>> maGraphicObjects; std::unordered_map<Graphic, std::pair<OUString, OUString>> maExportGraphics; SvXMLGraphicHelperMode meCreateMode; OUString maOutputMimeType; - bool mbDirect; SVX_DLLPRIVATE static bool ImplGetStreamNames( const OUString& rURLStr, OUString& rPictureStorageName, @@ -85,7 +78,6 @@ private: virtual ~SvXMLGraphicHelper() override; void Init( const css::uno::Reference < css::embed::XStorage >& xXMLStorage, SvXMLGraphicHelperMode eCreateMode, - bool bDirect, const OUString& rGraphicMimeType = OUString() ); virtual void SAL_CALL disposing() override; @@ -98,7 +90,6 @@ public: static rtl::Reference<SvXMLGraphicHelper> Create( const css::uno::Reference < css::embed::XStorage >& rXMLStorage, SvXMLGraphicHelperMode eCreateMode, - bool bDirect = true, const OUString& rGraphicMimeType = OUString() ); static rtl::Reference<SvXMLGraphicHelper> Create( SvXMLGraphicHelperMode eCreateMode, const OUString& rMimeType = OUString() ); |