summaryrefslogtreecommitdiff
path: root/basic/source/inc/iosys.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/inc/iosys.hxx')
-rw-r--r--basic/source/inc/iosys.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/inc/iosys.hxx b/basic/source/inc/iosys.hxx
index 7d7e9e832633..9e1b4fe80778 100644
--- a/basic/source/inc/iosys.hxx
+++ b/basic/source/inc/iosys.hxx
@@ -60,10 +60,10 @@ class SbiStream
public:
SbiStream();
~SbiStream();
- ErrCode Open( const OString&, StreamMode, SbiStreamFlags, short );
- ErrCode Close();
+ ErrCode const & Open( const OString&, StreamMode, SbiStreamFlags, short );
+ ErrCode const & Close();
ErrCode Read(OString&, sal_uInt16 = 0, bool bForceReadingPerByte=false);
- ErrCode Read( char& );
+ ErrCode const & Read( char& );
ErrCode Write( const OString& );
bool IsText() const { return !bool(nMode & SbiStreamFlags::Binary); }