summaryrefslogtreecommitdiff
path: root/sw/source/filter/basflt/iodetect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/basflt/iodetect.cxx')
-rw-r--r--sw/source/filter/basflt/iodetect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/basflt/iodetect.cxx b/sw/source/filter/basflt/iodetect.cxx
index 265cfbd3efc1..3ab18d83be1f 100644
--- a/sw/source/filter/basflt/iodetect.cxx
+++ b/sw/source/filter/basflt/iodetect.cxx
@@ -127,7 +127,7 @@ bool SwIoSystem::IsValidStgFilter(SotStorage& rStg, const SfxFilter& rFilter)
{
SotStorageStreamRef xRef =
rStg.OpenSotStream(OUString("WordDocument"),
- STREAM_STD_READ | STREAM_NOCREATE );
+ STREAM_STD_READ | StreamMode::NOCREATE );
xRef->Seek(10);
sal_uInt8 nByte;
xRef->ReadUChar( nByte );