summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-26 14:36:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-27 12:16:53 +0200
commit928dfebe109794eb079469a46f549e25b3b1e89d (patch)
tree2b3c438c25bc4f46ea22ada901699fe204d8b28c /include/svtools
parentbd28564be85ee51dc08cb2591840e1cb00263e28 (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/svtools')
-rw-r--r--include/svtools/colorcfg.hxx2
-rw-r--r--include/svtools/extcolorcfg.hxx2
-rw-r--r--include/svtools/imap.hxx4
-rw-r--r--include/svtools/svlbitm.hxx2
4 files changed, 5 insertions, 5 deletions
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,