[Libreoffice-commits] core.git: Branch 'feature/vclref' - vcl/source
Michael Meeks
michael.meeks at collabora.com
Thu Mar 26 15:10:11 PDT 2015
vcl/source/gdi/print.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6c9230bb77462bdbe0bfbff6933a5395721bd97a
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Thu Mar 26 22:14:24 2015 +0000
Fix unintended destruction of adjacent printers.
also audit commit: "start wrapping OutputDevice in VclPtr"
Change-Id: I6e018d7c3e3c8f941c184ad1aaa8593f7750c620
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 0ecc001..bfb0aeb3 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1067,8 +1067,8 @@ void Printer::dispose()
else
pSVData->maGDIData.mpLastPrinter = mpPrev;
- mpPrev.disposeAndClear();
- mpNext.disposeAndClear();
+ mpPrev.clear();
+ mpNext.clear();
OutputDevice::dispose();
}
More information about the Libreoffice-commits
mailing list