[PATCH] Change unnamespaced file.hxx macros

Andy Holder andy.m.holder at googlemail.com
Mon Dec 6 04:13:11 PST 2010


---
 sdext/source/pdfimport/sax/emitcontext.cxx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdext/source/pdfimport/sax/emitcontext.cxx b/sdext/source/pdfimport/sax/emitcontext.cxx
index 21de113..da04b08 100644
--- a/sdext/source/pdfimport/sax/emitcontext.cxx
+++ b/sdext/source/pdfimport/sax/emitcontext.cxx
@@ -70,9 +70,9 @@ SaxEmitter::SaxEmitter( const uno::Reference< xml::sax::XDocumentHandler >& xDoc
         aBuf.append( aFileURL );
         aBuf.appendAscii( "/pdfimport.xml" );
         pStream = new osl::File( aBuf.makeStringAndClear() );
-        if( pStream->open( OpenFlag_Write | OpenFlag_Create ) )
+        if( pStream->open( osl_File_OpenFlag_Write | osl_File_OpenFlag_Create ) )
         {
-            pStream->open( OpenFlag_Write );
+            pStream->open( osl_File_OpenFlag_Write );
             pStream->setSize( 0 );
         }
     }
-- 
1.7.3.2


--MP_/2dNU.Sfnptt13GKZ/i/WmB2
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename=0001-Change-unnamespaced-file.hxx-macros-impress.patch



More information about the LibreOffice mailing list