summaryrefslogtreecommitdiff
path: root/vcl
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 /vcl
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 'vcl')
-rw-r--r--vcl/qa/cppunit/outdev.cxx2
-rw-r--r--vcl/unx/gtk/gdi/salprn-gtk.cxx2
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/qa/cppunit/outdev.cxx b/vcl/qa/cppunit/outdev.cxx
index 63d88b80b72a..6ee359320931 100644
--- a/vcl/qa/cppunit/outdev.cxx
+++ b/vcl/qa/cppunit/outdev.cxx
@@ -48,7 +48,7 @@ void VclOutdevTest::testVirtualDevice()
OUString rFileName("/tmp/foo-unx.png");
try {
vcl::PNGWriter aWriter( aBmp );
- SvFileStream sOutput( rFileName, STREAM_WRITE );
+ SvFileStream sOutput( rFileName, StreamMode::WRITE );
aWriter.Write( sOutput );
sOutput.Close();
} catch (...) {
diff --git a/vcl/unx/gtk/gdi/salprn-gtk.cxx b/vcl/unx/gtk/gdi/salprn-gtk.cxx
index 2b4b45444240..a636af504e69 100644
--- a/vcl/unx/gtk/gdi/salprn-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salprn-gtk.cxx
@@ -922,7 +922,7 @@ void GtkPrintDialog::ExportAsPDF(const OUString &rFileURL, GtkPrintSettings *pSe
if (xController.is())
xDoc = uno::Reference< XComponent >(xController->getModel(), UNO_QUERY);
- SvFileStream aStream(rFileURL, STREAM_READWRITE | StreamMode::SHARE_DENYWRITE | STREAM_TRUNC);
+ SvFileStream aStream(rFileURL, STREAM_READWRITE | StreamMode::SHARE_DENYWRITE | StreamMode::TRUNC);
uno::Reference< XOutputStream > xOStm(new utl::OOutputStreamWrapper(aStream));
uno::Reference< XExporter > xExport(xFilter, UNO_QUERY);
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index f8da349aa85f..01e31a1066b3 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -150,7 +150,7 @@ ImplFontAttrCache::~ImplFontAttrCache()
{
if ( bModified )
{
- SvFileStream aCacheFile( aCacheFileName, STREAM_WRITE|STREAM_TRUNC );
+ SvFileStream aCacheFile( aCacheFileName, StreamMode::WRITE|StreamMode::TRUNC );
if ( aCacheFile.IsWritable() )
{
sal_uInt32 nCacheMagic = ImplFontAttrCache::MAGIC;