diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-26 14:36:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-27 12:16:53 +0200 |
commit | 928dfebe109794eb079469a46f549e25b3b1e89d (patch) | |
tree | 2b3c438c25bc4f46ea22ada901699fe204d8b28c /include | |
parent | bd28564be85ee51dc08cb2591840e1cb00263e28 (diff) |
loplugin:returnconstant in svl,svtools
Change-Id: Id297a513f3313e10531f0ccd99a16277e4e37fa1
Reviewed-on: https://gerrit.libreoffice.org/58111
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/filenotation.hxx | 2 | ||||
-rw-r--r-- | include/svtools/colorcfg.hxx | 2 | ||||
-rw-r--r-- | include/svtools/extcolorcfg.hxx | 2 | ||||
-rw-r--r-- | include/svtools/imap.hxx | 4 | ||||
-rw-r--r-- | include/svtools/svlbitm.hxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/include/svl/filenotation.hxx b/include/svl/filenotation.hxx index e5cf1c78a320..d33e442b9396 100644 --- a/include/svl/filenotation.hxx +++ b/include/svl/filenotation.hxx @@ -47,7 +47,7 @@ namespace svt private: SVL_DLLPRIVATE void construct( const OUString& _rUrlOrPath ); SVL_DLLPRIVATE bool implInitWithSystemNotation( const OUString& _rSystemPath ); - SVL_DLLPRIVATE bool implInitWithURLNotation( const OUString& _rURL ); + SVL_DLLPRIVATE void implInitWithURLNotation( const OUString& _rURL ); OUString m_sSystem; OUString m_sFileURL; diff --git a/include/svtools/colorcfg.hxx b/include/svtools/colorcfg.hxx index 450eed0e82c0..381ef70570c4 100644 --- a/include/svtools/colorcfg.hxx +++ b/include/svtools/colorcfg.hxx @@ -121,7 +121,7 @@ public: css::uno::Sequence< OUString > GetSchemeNames() const; void DeleteScheme(const OUString& rScheme ); void AddScheme(const OUString& rScheme ); - bool LoadScheme(const OUString& rScheme ); + void LoadScheme(const OUString& rScheme ); const OUString& GetCurrentSchemeName() const; void SetCurrentSchemeName(const OUString& rScheme); diff --git a/include/svtools/extcolorcfg.hxx b/include/svtools/extcolorcfg.hxx index 17e885661371..752784c92390 100644 --- a/include/svtools/extcolorcfg.hxx +++ b/include/svtools/extcolorcfg.hxx @@ -87,7 +87,7 @@ public: void DeleteScheme(const OUString& rScheme ); void AddScheme(const OUString& rScheme ); - bool LoadScheme(const OUString& rScheme ); + void LoadScheme(const OUString& rScheme ); void SetCurrentSchemeName(const OUString& rScheme); sal_Int32 GetComponentCount() const; diff --git a/include/svtools/imap.hxx b/include/svtools/imap.hxx index 232248d20039..af094cbab817 100644 --- a/include/svtools/imap.hxx +++ b/include/svtools/imap.hxx @@ -46,8 +46,8 @@ private: // Import/Export void ImpWriteCERN( SvStream& rOStm ) const; void ImpWriteNCSA( SvStream& rOStm ) const; - sal_uLong ImpReadCERN( SvStream& rOStm ); - sal_uLong ImpReadNCSA( SvStream& rOStm ); + void ImpReadCERN( SvStream& rOStm ); + void ImpReadNCSA( SvStream& rOStm ); void ImpReadCERNLine( const OString& rLine ); static Point ImpReadCERNCoords( const char** ppStr ); diff --git a/include/svtools/svlbitm.hxx b/include/svtools/svlbitm.hxx index a6ca61dceef0..3b603f47bbcf 100644 --- a/include/svtools/svlbitm.hxx +++ b/include/svtools/svlbitm.hxx @@ -154,7 +154,7 @@ public: SvViewDataItem* pViewData = nullptr) override; virtual SvLBoxItemType GetType() const override; - bool ClickHdl( SvTreeListEntry* ); + void ClickHdl( SvTreeListEntry* ); virtual void Paint(const Point& rPos, SvTreeListBox& rOutDev, |