From 006e59a25e6396b05cf6da39c94a3a7a5c48eeb3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 7 Jan 2015 11:47:47 +0200 Subject: 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 --- sw/qa/core/uwriter.cxx | 2 +- sw/source/uibase/dochdl/swdtflvr.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index 80c4ce4ec019..9d52233a5d1d 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -945,7 +945,7 @@ void SwDocTest::testGraphicAnchorDeletion() #ifdef DEBUG_AS_HTML { - SvFileStream aPasteDebug(OUString("cppunitDEBUG.html"), STREAM_WRITE|STREAM_TRUNC); + SvFileStream aPasteDebug(OUString("cppunitDEBUG.html"), StreamMode::WRITE|StreamMode::TRUNC); WriterRef xWrt; GetHTMLWriter( String(), String(), xWrt ); SwWriter aDbgWrt( aPasteDebug, *m_pDoc ); diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index ea65e3f6a9b8..08a025bc16e8 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -743,7 +743,7 @@ bool SwTransferable::WriteObject( SotStorageStreamRef& xStream, #if defined(DEBUGPASTE) SvFileStream aPasteDebug(OUString( - "PASTEBUFFER.debug"), STREAM_WRITE|STREAM_TRUNC); + "PASTEBUFFER.debug"), StreamMode::WRITE|StreamMode::TRUNC); SwWriter aDbgWrt( aPasteDebug, *pDoc ); aDbgWrt.Write( xWrt ); #endif -- cgit