summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-06-30 13:29:34 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-06-30 13:29:34 +0000
commitbe93c7b21ef30d910068bf521caf818c030adb57 (patch)
treeb01f53468245797d821d92f5a34f59f4bc826610 /vcl
parent83f602bba7ef6419d80efa0e0f2bed7f6c18bfb9 (diff)
INTEGRATION: CWS vcl13 (1.53.6); FILE MERGED
2003/06/12 13:35:47 pl 1.53.6.1: #110203# close temp file after use
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 350b38b5d5c1..1e6f812e20b2 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pdfwriter_impl.cxx,v $
*
- * $Revision: 1.53 $
+ * $Revision: 1.54 $
*
- * last change: $Author: vg $ $Date: 2003-06-10 14:29:47 $
+ * last change: $Author: hr $ $Date: 2003-06-30 14:29:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2055,6 +2055,8 @@ sal_Int32 PDFWriterImpl::emitFonts()
CHECK_RETURN( (osl_File_E_None == osl_isEndOfFile( aFontFile, &bEOF ) ) );
} while( ! bEOF );
endCompression();
+ // close the file
+ osl_closeFile( aFontFile );
sal_uInt64 nEndPos = 0;
CHECK_RETURN( (osl_File_E_None == osl_getFilePos( m_aFile, &nEndPos ) ) );