summaryrefslogtreecommitdiffstats
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/customshapepresetdata.cxx2
-rw-r--r--oox/source/export/drawingml.cxx2
-rw-r--r--oox/source/export/vmlexport.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/customshapepresetdata.cxx b/oox/source/drawingml/customshapepresetdata.cxx
index 945825eeff06..1215a6d8d636 100644
--- a/oox/source/drawingml/customshapepresetdata.cxx
+++ b/oox/source/drawingml/customshapepresetdata.cxx
@@ -717,7 +717,7 @@ void CustomShapeProperties::initializePresetDataMap()
{
OUString aPath("$BRAND_BASE_DIR/" LIBO_SHARE_FOLDER "/filter/oox-drawingml-cs-presets");
rtl::Bootstrap::expandMacros(aPath);
- SvFileStream aStream(aPath, STREAM_READ);
+ SvFileStream aStream(aPath, StreamMode::READ);
if (aStream.GetError() != ERRCODE_NONE)
SAL_WARN("oox", "failed to open oox-drawingml-cs-presets");
OString aLine;
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index e2ba6dfc788a..b66b78a03900 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -2011,7 +2011,7 @@ std::map< OString, std::vector<OString> > lcl_getAdjNames()
OUString aPath("$BRAND_BASE_DIR/" LIBO_SHARE_FOLDER "/filter/oox-drawingml-adj-names");
rtl::Bootstrap::expandMacros(aPath);
- SvFileStream aStream(aPath, STREAM_READ);
+ SvFileStream aStream(aPath, StreamMode::READ);
if (aStream.GetError() != ERRCODE_NONE)
SAL_WARN("oox", "failed to open oox-drawingml-adj-names");
OString aLine;
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index a0a1ac7677db..067697e66f94 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -945,7 +945,7 @@ std::vector<OString> lcl_getShapeTypes()
OUString aPath("$BRAND_BASE_DIR/" LIBO_SHARE_FOLDER "/filter/vml-shape-types");
rtl::Bootstrap::expandMacros(aPath);
- SvFileStream aStream(aPath, STREAM_READ);
+ SvFileStream aStream(aPath, StreamMode::READ);
if (aStream.GetError() != ERRCODE_NONE)
SAL_WARN("oox", "failed to open vml-shape-types");
OString aLine;