summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/qa/unit/embeddeddb_performancetest.cxx2
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.cxx2
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/qa/unit/embeddeddb_performancetest.cxx b/dbaccess/qa/unit/embeddeddb_performancetest.cxx
index 5c0a6b6a7bc1..1eebc2206f22 100644
--- a/dbaccess/qa/unit/embeddeddb_performancetest.cxx
+++ b/dbaccess/qa/unit/embeddeddb_performancetest.cxx
@@ -130,7 +130,7 @@ SvFileStream* EmbeddedDBPerformanceTest::getWordListStream()
OUString wlPath;
createFileURL("wordlist", wlPath);
- SvFileStream *pFile(new SvFileStream(wlPath, STREAM_READ));
+ SvFileStream *pFile(new SvFileStream(wlPath, StreamMode::READ));
if (!pFile)
{
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index a47b6c8fef5d..03e94bab400c 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -444,7 +444,7 @@ bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
uno::Reference<XComponent> xCom(GetModel(),UNO_QUERY);
SfxMediumRef pMedium = new SfxMedium(
- sFileName, ( STREAM_READ | STREAM_NOCREATE ) );
+ sFileName, ( StreamMode::READ | StreamMode::NOCREATE ) );
uno::Reference< embed::XStorage > xStorage;
try
{
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index 559f9be2753f..5c26d3a65250 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
@@ -1070,7 +1070,7 @@ void OAppDetailPageHelper::showPreview(const Reference< XContent >& _xContent)
{
SvMemoryStream aData( aBmpSequence.getArray(),
aBmpSequence.getLength(),
- STREAM_READ );
+ StreamMode::READ );
GraphicConverter::Import(aData,aGraphic);
}