summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-07 11:47:47 +0200
committerNoel Grandin <noel@peralex.com>2015-01-07 11:48:55 +0200
commit006e59a25e6396b05cf6da39c94a3a7a5c48eeb3 (patch)
treeb62cfc8cefdee7912fa78062de612d92fdd6737f /sot
parent01c7e2c246e231d70bb7c1c9b5ad7fd5e4614951 (diff)
fix windows build
and a handful of other currently uncompiled spots, after my commit 7f8f277b94704a289fbbd1b836e4e5d66311580d "fdo#84938: convert STREAM_ #defines to 'enum class'" Change-Id: I550f6fb850e1d71a6f08767eeb222a18071b89d5
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stg.cxx2
-rw-r--r--sot/workben/testsot.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx
index 1d6c22255242..a199f2e7989b 100644
--- a/sot/source/sdstor/stg.cxx
+++ b/sot/source/sdstor/stg.cxx
@@ -34,7 +34,7 @@
static long nTmpCount = 0;
-// The internal open mode is StreamMode::READ | STREAM_TRUNC, which is silly
+// The internal open mode is StreamMode::READ | StreamMode::TRUNC, which is silly
// by itself. It inhibits the checking of sharing modes and is used
// during CopyTo() and MoveTo() for opening a stream in read mode
// although it may be open in DENYALL mode
diff --git a/sot/workben/testsot.cxx b/sot/workben/testsot.cxx
index a674b4ee2ef6..1d6185bbe867 100644
--- a/sot/workben/testsot.cxx
+++ b/sot/workben/testsot.cxx
@@ -31,7 +31,7 @@ int main (int argc, sal_Char **argv)
SotStorageRef xStor = new SotStorage( "c:\\temp\\video.sdb" );
SotStorageRef x2Stor = xStor->OpenSotStorage( "1117" );
- SotStorageStreamRef xStm = x2Stor->OpenSotStream( "Genres", STREAM_STD_READWRITE | STREAM_TRUNC);
+ SotStorageStreamRef xStm = x2Stor->OpenSotStream( "Genres", STREAM_STD_READWRITE | StreamMode::TRUNC);
//BYTE szData[100];
//xStm->Write( szData, 100 );
UINT32 nSize = xStm->GetSize();