diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-25 13:56:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-26 08:31:55 +0200 |
commit | ba42d00ed5a04850f88abdf184a4855db7cf2700 (patch) | |
tree | af8ec0b48accf0abb7dce9f0fb0194cd60440e14 /l10ntools/inc | |
parent | ee025b744ac9efafe7c083ed80f8e2cc7cb3e2c1 (diff) |
loplugin:returnconstant in sal,l10ntools,sot
Change-Id: I3f4e4efa8ea839f48b9700ebc26c7e5ab279ce49
Reviewed-on: https://gerrit.libreoffice.org/57975
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/inc')
-rw-r--r-- | l10ntools/inc/helpmerge.hxx | 2 | ||||
-rw-r--r-- | l10ntools/inc/lngmerge.hxx | 4 | ||||
-rw-r--r-- | l10ntools/inc/xmlparse.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/inc/helpmerge.hxx b/l10ntools/inc/helpmerge.hxx index 5837cc2f7765..99c9270df9fe 100644 --- a/l10ntools/inc/helpmerge.hxx +++ b/l10ntools/inc/helpmerge.hxx @@ -52,7 +52,7 @@ public: const OString& sLanguage , MergeDataFile* pMergeDataFile ); private: - bool MergeSingleFile( XMLFile* file , MergeDataFile* pMergeDataFile , const OString& sLanguage , OString const & sPath ); + void MergeSingleFile( XMLFile* file , MergeDataFile* pMergeDataFile , const OString& sLanguage , OString const & sPath ); static void ProcessHelp( LangHashMap* aLangHM , const OString& sCur , ResData *pResData , MergeDataFile* pMergeDataFile ); }; diff --git a/l10ntools/inc/lngmerge.hxx b/l10ntools/inc/lngmerge.hxx index 35c7868b01a3..56eaec71b11d 100644 --- a/l10ntools/inc/lngmerge.hxx +++ b/l10ntools/inc/lngmerge.hxx @@ -54,8 +54,8 @@ public: LngParser(const OString &rLngFile); ~LngParser(); - bool CreatePO( const OString &rPOFile ); - bool Merge(const OString &rPOFile, const OString &rDestinationFile, + void CreatePO( const OString &rPOFile ); + void Merge(const OString &rPOFile, const OString &rDestinationFile, const OString &rLanguage ); }; diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index 04f150d5d674..027076f39725 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -157,7 +157,7 @@ public: XMLHashMap* GetStrings(){ return m_pXMLStrings.get(); } void Write( OString const &rFilename ); - bool Write( std::ofstream &rStream, XMLNode *pCur = nullptr ); + void Write( std::ofstream &rStream, XMLNode *pCur = nullptr ); bool CheckExportStatus( XMLParentNode *pCur = nullptr ); |