summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter')
-rw-r--r--sc/source/filter/html/htmlexp.cxx4
-rw-r--r--sc/source/filter/inc/htmlexp.hxx2
-rw-r--r--sc/source/filter/inc/rtfexp.hxx2
-rw-r--r--sc/source/filter/rtf/rtfexp.cxx3
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 )