[Libreoffice-commits] .: Branch 'libreoffice-4-0' - vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Dec 4 12:09:13 PST 2012
vcl/source/window/printdlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit b81b69eaa2295cae98ffff9c43b13fb45d71ee7f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Dec 4 20:06:13 2012 +0000
sort printers
Change-Id: Idd9e10211eedbe23cabc92a7f1b1c0416fef480e
(cherry picked from commit 65e36f20761ff191816f9a7e32da750ca3001e45)
Signed-off-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 4776f39..0e63800 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -476,6 +476,7 @@ PrintDialog::JobTabPage::JobTabPage( VclBuilder* pUIBuilder )
, mnCollateUIMode( 0 )
{
pUIBuilder->get(mpPrinters, "printers");
+ mpPrinters->SetStyle(mpPrinters->GetStyle() | WB_SORT);
pUIBuilder->get(mpStatusTxt, "status");
pUIBuilder->get(mpLocationTxt, "location");
pUIBuilder->get(mpCommentTxt, "comment");
More information about the Libreoffice-commits
mailing list