summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2000-10-31 09:39:39 +0000
committerOliver Bolte <obo@openoffice.org>2000-10-31 09:39:39 +0000
commited6f7c608eba4a9382cb175fc47e1fd0d82ad915 (patch)
treeb7cd9c21053c6c010081db47a7ed7af3721a7c55 /goodies
parent9540270ce6b76f8183fa78766aa7fbab18806dbb (diff)
parse error linux compiler
Diffstat (limited to 'goodies')
-rw-r--r--goodies/source/filter.vcl/epict/epict.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/goodies/source/filter.vcl/epict/epict.cxx b/goodies/source/filter.vcl/epict/epict.cxx
index 82909744cc84..45c42a70835b 100644
--- a/goodies/source/filter.vcl/epict/epict.cxx
+++ b/goodies/source/filter.vcl/epict/epict.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: epict.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: sj $ $Date: 2000-10-23 13:56:12 $
+ * last change: $Author: obo $ $Date: 2000-10-31 10:39:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -82,6 +82,8 @@
#include <vcl/virdev.hxx>
#include <vcl/svapp.hxx>
#include <vcl/msgbox.hxx>
+#include <vcl/gdimtf.hxx>
+
#include <tools/bigint.hxx>
#include "strings.hrc"
#include "dlgepct.hrc"
@@ -2110,7 +2112,9 @@ void PictWriter::WriteOpcodes( const GDIMetaFile & rMTF )
void PictWriter::WriteHeader(const GDIMetaFile & rMTF)
{
USHORT i;
- Rectangle aRect( Point(), rMTF.GetPrefSize() );
+ Size aSize( rMTF.GetPrefSize() );
+ Point aPoint;
+ Rectangle aRect( aPoint, aSize );
// 512 Bytes "Muell" am Anfang:
for (i=0;i<128;i++) *pPict << (ULONG)0;