summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/openoffice/files/1.0.3/vcl.printcxx.OOO_STABLE_1_PORTS.100102.patch')
-rw-r--r--app-office/openoffice/files/1.0.3/vcl.printcxx.OOO_STABLE_1_PORTS.100102.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-office/openoffice/files/1.0.3/vcl.printcxx.OOO_STABLE_1_PORTS.100102.patch b/app-office/openoffice/files/1.0.3/vcl.printcxx.OOO_STABLE_1_PORTS.100102.patch
new file mode 100644
index 000000000000..9676a7c2abe5
--- /dev/null
+++ b/app-office/openoffice/files/1.0.3/vcl.printcxx.OOO_STABLE_1_PORTS.100102.patch
@@ -0,0 +1,17 @@
+Index: source/gdi/print.cxx
+===================================================================
+RCS file: /cvs/oo/gsl/vcl/source/gdi/print.cxx,v
+retrieving revision 1.24.4.4
+diff -u -r1.24.4.4 print.cxx
+--- source/gdi/print.cxx 2002/06/19 11:32:01 1.24.4.4
++++ source/gdi/print.cxx 2002/10/01 21:18:44
+@@ -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;
+ }
+