summaryrefslogtreecommitdiff
path: root/sot/qa
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 /sot/qa
parent8db77209e0755d21d9efc34f70a2978d1df5d2c6 (diff)
fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
Diffstat (limited to 'sot/qa')
-rw-r--r--sot/qa/cppunit/test_sot.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx
index 92ade70a11a4..c1ebb1bebc9c 100644
--- a/sot/qa/cppunit/test_sot.cxx
+++ b/sot/qa/cppunit/test_sot.cxx
@@ -106,7 +106,7 @@ namespace
const OUString &rURL, const OUString &,
unsigned int, unsigned int, unsigned int)
{
- SvFileStream aStream(rURL, STREAM_READ);
+ SvFileStream aStream(rURL, StreamMode::READ);
SotStorageRef xObjStor = new SotStorage(aStream);
if (!xObjStor.Is() || xObjStor->GetError())
return false;
@@ -125,7 +125,7 @@ namespace
void SotTest::testSize()
{
OUString aURL(getURLFromSrc("/sot/qa/cppunit/data/pass/fdo84229-1.compound"));
- SvFileStream aStream(aURL, STREAM_READ);
+ SvFileStream aStream(aURL, StreamMode::READ);
SotStorageRef xObjStor = new SotStorage(aStream);
CPPUNIT_ASSERT_MESSAGE("sot storage failed to open",
xObjStor.Is() && !xObjStor->GetError());