summaryrefslogtreecommitdiff
path: root/basic/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-07 09:28:42 +0200
committerNoel Grandin <noel@peralex.com>2015-01-07 11:20:44 +0200
commit7f8f277b94704a289fbbd1b836e4e5d66311580d (patch)
tree2400b7306a0a2a3ea63aee2e5bfc336b52102635 /basic/source/inc
parent8db77209e0755d21d9efc34f70a2978d1df5d2c6 (diff)
fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
Diffstat (limited to 'basic/source/inc')
-rw-r--r--basic/source/inc/iosys.hxx4
-rw-r--r--basic/source/inc/opcodes.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/inc/iosys.hxx b/basic/source/inc/iosys.hxx
index 80ba1ee95086..85c29ca60d25 100644
--- a/basic/source/inc/iosys.hxx
+++ b/basic/source/inc/iosys.hxx
@@ -51,7 +51,7 @@ class SbiStream
public:
SbiStream();
~SbiStream();
- SbError Open( short, const OString&, short, short, short );
+ SbError Open( short, const OString&, StreamMode, short, short );
SbError Close();
SbError Read(OString&, sal_uInt16 = 0, bool bForceReadingPerByte=false);
SbError Read( char& );
@@ -89,7 +89,7 @@ public:
void SetChannel( short n ) { nChan = n; }
short GetChannel() const { return nChan;}
void ResetChannel() { nChan = 0; }
- void Open( short, const OString&, short, short, short );
+ void Open( short, const OString&, StreamMode, short, short );
void Close();
void Read(OString&, short = 0);
char Read();
diff --git a/basic/source/inc/opcodes.hxx b/basic/source/inc/opcodes.hxx
index 38948d7ca2f0..669933117ecb 100644
--- a/basic/source/inc/opcodes.hxx
+++ b/basic/source/inc/opcodes.hxx
@@ -136,7 +136,7 @@ enum SbiOpcode {
// management
_STMNT, // begin of a statement (+Line+Col)
// E/A
- _OPEN, // (+SvStreamFlags+Flags)
+ _OPEN, // (+StreamMode+Flags)
// objects
_LOCAL, // define locals variables (+StringID+Typ)
_PUBLIC, // module global variables (+StringID+Typ)