From 7db0ac29c0962932bbcd8b460dc51c9e5009dbfa Mon Sep 17 00:00:00 2001 From: Maxime de Roucy Date: Tue, 26 Jun 2012 15:52:41 +0100 Subject: Prevent print settings dialog to show help button Prevent the printer settings dialog to show help button when it's called from the help. Add a PrinterController property : HideHelpButton Change-Id: I45585a30a2f429659f554747f93c650cb048711f --- vcl/source/window/printdlg.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vcl') diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index d9aa5dd08b94..9c05203934e4 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -902,6 +902,9 @@ PrintDialog::PrintDialog( Window* i_pParent, const boost::shared_ptrgetBoolProperty( rtl::OUString( "HideHelpButton" ), sal_False ) ) + maHelpButton.Hide(); + // set initial focus to "Number of copies" maJobPage.maCopyCountField.GrabFocus(); maJobPage.maCopyCountField.SetSelection( Selection(0, 0xFFFF) ); -- cgit