diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-08 13:55:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-09 14:17:08 +0200 |
commit | f4fb14ed796cec7a02f3a06a6556997ae415e79d (patch) | |
tree | f4d1cd6d31d8b9530786ee90ce9034e5e4d950c6 /include | |
parent | d84bf553afa510e5c674817fa480ac0af62e4945 (diff) |
loplugin:unusedmethods
Change-Id: I0308ddd467ab6e283c0503f98885a248eb28290c
Reviewed-on: https://gerrit.libreoffice.org/58738
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/charsetcoloritem.hxx | 3 | ||||
-rw-r--r-- | include/editeng/outlobj.hxx | 1 | ||||
-rw-r--r-- | include/editeng/twolinesitem.hxx | 3 | ||||
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 1 | ||||
-rw-r--r-- | include/oox/crypto/AgileEngine.hxx | 2 | ||||
-rw-r--r-- | include/oox/crypto/Standard2007Engine.hxx | 2 | ||||
-rw-r--r-- | include/svx/colorwindow.hxx | 1 | ||||
-rw-r--r-- | include/svx/relfld.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/contact/objectcontact.hxx | 3 | ||||
-rw-r--r-- | include/svx/svdograf.hxx | 2 | ||||
-rw-r--r-- | include/svx/unoshape.hxx | 2 | ||||
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 2 |
12 files changed, 0 insertions, 24 deletions
diff --git a/include/editeng/charsetcoloritem.hxx b/include/editeng/charsetcoloritem.hxx index 33ff2c2fa522..71f57e9ec611 100644 --- a/include/editeng/charsetcoloritem.hxx +++ b/include/editeng/charsetcoloritem.hxx @@ -32,7 +32,6 @@ class EDITENG_DLLPUBLIC SvxCharSetColorItem : public SvxColorItem { - rtl_TextEncoding eFrom; public: explicit SvxCharSetColorItem( const sal_uInt16 nId ); SvxCharSetColorItem( const Color& aColor, const sal_uInt16 nId ); @@ -44,8 +43,6 @@ public: OUString &rText, const IntlWrapper& ) const override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; - - rtl_TextEncoding GetCharSet() const { return eFrom; } }; #endif diff --git a/include/editeng/outlobj.hxx b/include/editeng/outlobj.hxx index b7ddc4c59403..8b21c25eb044 100644 --- a/include/editeng/outlobj.hxx +++ b/include/editeng/outlobj.hxx @@ -92,7 +92,6 @@ public: sal_Int32 Count() const; sal_Int16 GetDepth(sal_Int32 nPara) const; const EditTextObject& GetTextObject() const; - bool IsEditDoc() const; const ParagraphData& GetParagraphData(sal_Int32 nIndex) const; // portion info support diff --git a/include/editeng/twolinesitem.hxx b/include/editeng/twolinesitem.hxx index 2833d49e9df6..91b2470f3020 100644 --- a/include/editeng/twolinesitem.hxx +++ b/include/editeng/twolinesitem.hxx @@ -56,13 +56,10 @@ public: virtual sal_uInt16 GetVersion( sal_uInt16 nFFVer ) const override; bool GetValue() const { return bOn; } - void SetValue( bool bFlag ) { bOn = bFlag; } sal_Unicode GetStartBracket() const { return cStartBracket; } - void SetStartBracket( sal_Unicode c ) { cStartBracket = c; } sal_Unicode GetEndBracket() const { return cEndBracket; } - void SetEndBracket( sal_Unicode c ) { cEndBracket = c; } }; #endif diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index 4eadb1c779b0..6bfa44087b51 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -291,7 +291,6 @@ public: bool empty() const { return m_Records.empty(); } void insert(SvxMSDffImportRec* pImpRec); void unmap(const SdrObject* pObj) { m_ObjToRecMap.erase(pObj); } - SvxMSDffImportRec* front() { return m_Records.begin()->get(); } size_t size() const { return m_Records.size(); } SvxMSDffImportRec* find(const SdrObject* pObj); MSDffImportRecords::const_iterator begin() const { return m_Records.begin(); } diff --git a/include/oox/crypto/AgileEngine.hxx b/include/oox/crypto/AgileEngine.hxx index 8d4183619f9c..02f139bcfc11 100644 --- a/include/oox/crypto/AgileEngine.hxx +++ b/include/oox/crypto/AgileEngine.hxx @@ -96,8 +96,6 @@ private: static Crypto::CryptoType cryptoType(const AgileEncryptionInfo& rInfo); - bool calculateDecryptionKey(const OUString& rPassword); - public: AgileEngine(); diff --git a/include/oox/crypto/Standard2007Engine.hxx b/include/oox/crypto/Standard2007Engine.hxx index 996467ddde82..68871d2e1ab8 100644 --- a/include/oox/crypto/Standard2007Engine.hxx +++ b/include/oox/crypto/Standard2007Engine.hxx @@ -36,8 +36,6 @@ class OOX_DLLPUBLIC Standard2007Engine : public CryptoEngine public: Standard2007Engine() = default; - msfilter::StandardEncryptionInfo& getInfo() { return mInfo;} - bool readEncryptionInfo(css::uno::Reference<css::io::XInputStream> & rxInputStream) override; virtual bool generateEncryptionKey(OUString const & rPassword) override; diff --git a/include/svx/colorwindow.hxx b/include/svx/colorwindow.hxx index 8c061ec0d895..653214a9d3e4 100644 --- a/include/svx/colorwindow.hxx +++ b/include/svx/colorwindow.hxx @@ -152,7 +152,6 @@ public: weld::Container* GetWidget() { return mxTopLevel.get(); } virtual ~ColorWindow() override; void SetNoSelection(); - bool IsNoSelection() const; void SelectEntry(const NamedColor& rColor); void SelectEntry(const Color& rColor); NamedColor GetSelectEntryColor() const; diff --git a/include/svx/relfld.hxx b/include/svx/relfld.hxx index 9702c2402894..8b4d50503fdb 100644 --- a/include/svx/relfld.hxx +++ b/include/svx/relfld.hxx @@ -29,8 +29,6 @@ class SVX_DLLPUBLIC SvxRelativeField : public MetricField { public: SvxRelativeField(vcl::Window* pParent, WinBits nBits, FieldUnit eUnit); - - void SetRelative( bool bRelative ); }; class SVX_DLLPUBLIC RelativeField diff --git a/include/svx/sdr/contact/objectcontact.hxx b/include/svx/sdr/contact/objectcontact.hxx index eaf74e3dc0ed..9af38ca77d62 100644 --- a/include/svx/sdr/contact/objectcontact.hxx +++ b/include/svx/sdr/contact/objectcontact.hxx @@ -128,9 +128,6 @@ public: // check if graphic animation is allowed. Default is sal_true. virtual bool IsGraphicAnimationAllowed() const; - // check if asynchronious graphis loading is allowed. Default is sal_False. - virtual bool IsAsynchronGraphicsLoadingAllowed() const; - // access to ViewObjectContactRedirector ViewObjectContactRedirector* GetViewObjectContactRedirector() const { return mpViewObjectContactRedirector; } void SetViewObjectContactRedirector(ViewObjectContactRedirector* pNew); diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx index 11334b98f4cc..42cc1a37f83a 100644 --- a/include/svx/svdograf.hxx +++ b/include/svx/svdograf.hxx @@ -114,7 +114,6 @@ private: void ImpRegisterLink(); void ImpDeregisterLink(); - bool ImpUpdateGraphicLink( bool bAsynchron = true ) const; void ImpSetLinkedGraphic( const Graphic& rGraphic ); DECL_LINK( ImpSwapHdl, const GraphicObject*, SvStream* ); DECL_LINK( ReplacementSwapHdl, const GraphicObject*, SvStream* ); @@ -167,7 +166,6 @@ public: bool IsLinkedGraphic() const; const OUString& GetFileName() const { return aFileName;} - const OUString& GetFilterName() const { return aFilterName;} void StartAnimation(); diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx index f2b40fa32472..14f7f2b64cb7 100644 --- a/include/svx/unoshape.hxx +++ b/include/svx/unoshape.hxx @@ -198,8 +198,6 @@ public: SvxShape( SdrObject* pObj ); /// @throws css::uno::RuntimeException SvxShape( SdrObject* pObject, const SfxItemPropertyMapEntry* pEntries, const SvxItemPropertySet* pPropertySet ); - /// @throws css::uno::RuntimeException - SvxShape(); virtual ~SvxShape() throw () override; // Internals diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index 621e425c8f5f..fc4f74b0be1e 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -76,7 +76,6 @@ public: void requestLegacyContext(); bool init(vcl::Window* pParent); - bool init(SystemChildWindow* pChildWindow); void reset(); @@ -95,7 +94,6 @@ public: // retrieve a program from the cache or compile/link it OpenGLProgram* GetProgram( const OUString& rVertexShader, const OUString& rFragmentShader, const OString& preamble = "" ); OpenGLProgram* UseProgram( const OUString& rVertexShader, const OUString& rFragmentShader, const OString& preamble = "" ); - void UseNoProgram(); RenderState& state() { |