[Libreoffice-commits] .: sw/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Tue Jul 12 06:27:14 PDT 2011
sw/source/core/view/printdata.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 591dfe338ee2e553f822e8bbd3bc602a8ff0d875
Author: Jan Holesovsky <kendy at suse.cz>
Date: Tue Jul 12 15:13:34 2011 +0200
In the print dialog, always default to "All pages".
The previous behavior used to depend on whether there is something selected
in the document or not; which was particularly confusing when there was
a picture in the document selected - in that case all that was printed was
the picture, nothing else, when the user did not notice that this option is
selected.
diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx
index 35a979f..db5313d 100644
--- a/sw/source/core/view/printdata.cxx
+++ b/sw/source/core/view/printdata.cxx
@@ -326,7 +326,7 @@ SwPrintUIOptions::SwPrintUIOptions(
aHelpIds,
aPrintRangeName,
aChoices,
- bHasSelection ? 2 /*enable 'Selection' radio button*/ : 0 /* enable 'All pages' */,
+ 0 /* always default to 'All pages' */,
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Radio" ) ),
aChoicesDisabled
);
More information about the Libreoffice-commits
mailing list