summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0/files/patch-vcl+source+gdi+print.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-1.0/files/patch-vcl+source+gdi+print.cxx')
-rw-r--r--editors/openoffice-1.0/files/patch-vcl+source+gdi+print.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-vcl+source+gdi+print.cxx b/editors/openoffice-1.0/files/patch-vcl+source+gdi+print.cxx
new file mode 100644
index 000000000000..4ca91d11399d
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-vcl+source+gdi+print.cxx
@@ -0,0 +1,11 @@
+--- ../vcl/source/gdi/print.cxx.orig Thu Apr 17 18:58:42 2003
++++ ../vcl/source/gdi/print.cxx Thu Apr 17 18:59:10 2003
+@@ -532,7 +532,7 @@
+ if ( (pJobSetup->maPrinterName != pInfo->maPrinterName) ||
+ (pJobSetup->maDriver != pInfo->maDriver) )
+ {
+- rtl_freeMemory( pJobSetup->mpDriverData );
++ delete pJobSetup->mpDriverData;
+ pJobSetup->mpDriverData = NULL;
+ pJobSetup->mnDriverDataLen = 0;
+ }