diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-20 16:36:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-21 07:18:38 +0000 |
commit | 90d892664a6c49a8ae25a72ddccf54dba9d0e429 (patch) | |
tree | d9bb4a7307e349b88a4d528854abb44e4323f563 /sc | |
parent | ea6fdbaeeb51ad695f1c3754b796b7273eb4baad (diff) |
loplugin: unused return values
Change-Id: I4eb1f0c9245c04058fd5e47046f043f8840a79c7
Reviewed-on: https://gerrit.libreoffice.org/21628
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/html/htmlexp.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/inc/htmlexp.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/rtfexp.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/rtf/rtfexp.cxx | 3 |
4 files changed, 4 insertions, 7 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx index 668c7022a427..d6f22629391f 100644 --- a/sc/source/filter/html/htmlexp.cxx +++ b/sc/source/filter/html/htmlexp.cxx @@ -315,7 +315,7 @@ Size ScHTMLExport::MMToPixel( const Size& rSize ) return aSize; } -sal_uLong ScHTMLExport::Write() +void ScHTMLExport::Write() { if (!mbSkipHeaderFooter) { @@ -329,8 +329,6 @@ sal_uLong ScHTMLExport::Write() OUT_LF(); if (!mbSkipHeaderFooter) TAG_OFF_LF( OOO_STRING_SVTOOLS_HTML_html ); - - return rStrm.GetError(); } void ScHTMLExport::WriteHeader() diff --git a/sc/source/filter/inc/htmlexp.hxx b/sc/source/filter/inc/htmlexp.hxx index c53c6e1cd0b5..5fc011e355e1 100644 --- a/sc/source/filter/inc/htmlexp.hxx +++ b/sc/source/filter/inc/htmlexp.hxx @@ -178,7 +178,7 @@ public: ScHTMLExport( SvStream&, const OUString&, ScDocument*, const ScRange&, bool bAll, const OUString& aStreamPath, const OUString& rFilterOptions ); virtual ~ScHTMLExport(); - sal_uLong Write(); + void Write(); const OUString& GetNonConvertibleChars() const { return aNonConvertibleChars; diff --git a/sc/source/filter/inc/rtfexp.hxx b/sc/source/filter/inc/rtfexp.hxx index 73ab85df9daf..853f8a6c55dd 100644 --- a/sc/source/filter/inc/rtfexp.hxx +++ b/sc/source/filter/inc/rtfexp.hxx @@ -35,7 +35,7 @@ public: ScRTFExport( SvStream&, ScDocument*, const ScRange& ); virtual ~ScRTFExport(); - sal_uLong Write(); + void Write(); }; #endif // INCLUDED_SC_SOURCE_FILTER_INC_RTFEXP_HXX diff --git a/sc/source/filter/rtf/rtfexp.cxx b/sc/source/filter/rtf/rtfexp.cxx index 057b9a543f02..b6ed3a4480ff 100644 --- a/sc/source/filter/rtf/rtfexp.cxx +++ b/sc/source/filter/rtf/rtfexp.cxx @@ -60,7 +60,7 @@ ScRTFExport::~ScRTFExport() delete [] pCellX; } -sal_uLong ScRTFExport::Write() +void ScRTFExport::Write() { rStrm.WriteChar( '{' ).WriteCharPtr( OOO_STRING_SVTOOLS_RTF_RTF ); rStrm.WriteCharPtr( OOO_STRING_SVTOOLS_RTF_ANSI ).WriteCharPtr( SAL_NEWLINE_STRING ); @@ -74,7 +74,6 @@ sal_uLong ScRTFExport::Write() } rStrm.WriteChar( '}' ).WriteCharPtr( SAL_NEWLINE_STRING ); - return rStrm.GetError(); } void ScRTFExport::WriteTab( SCTAB nTab ) |