[Libreoffice-commits] core.git: svtools/source
David Tardon
dtardon at redhat.com
Wed Feb 10 14:09:05 UTC 2016
svtools/source/dialogs/prnsetup.cxx | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 35b5f9f1359c9467fe5b08cffc65cb2bfcaf93fb
Author: David Tardon <dtardon at redhat.com>
Date: Tue Feb 9 10:18:28 2016 +0100
Revert "Related: rhbz#1168756 save chosen printer also in print settings dlg"
This is wrong--the printer should not be remembered globally, as it is
only for the current document.
This reverts commit 4bc37b7e804fbfe17f8f516487d16ea23a0b246e.
Change-Id: Ic917470408dbf9ff704e485358463852a45b57a4
diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx
index 2540195..8663722 100644
--- a/svtools/source/dialogs/prnsetup.cxx
+++ b/svtools/source/dialogs/prnsetup.cxx
@@ -20,7 +20,6 @@
#include <svtools/prnsetup.hxx>
#include <svtools/svtools.hrc>
#include <svtools/svtresid.hxx>
-#include <vcl/configsettings.hxx>
#include <vcl/print.hxx>
@@ -355,10 +354,6 @@ short PrinterSetupDialog::Execute()
{
if ( mpTempPrinter )
mpPrinter->SetPrinterProps( mpTempPrinter );
-
- vcl::SettingsConfigItem* const pItem = vcl::SettingsConfigItem::get();
- pItem->setValue("PrintDialog", "LastPrinter", mpPrinter->GetName());
- pItem->Commit();
}
maStatusTimer.Stop();
More information about the Libreoffice-commits
mailing list