summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/DocumentRenderer.cxx
diff options
context:
space:
mode:
authorPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-29 18:04:11 +0100
committerPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-29 18:04:11 +0100
commitab6ddd695b93e80632c73bef82d9647a3af313c6 (patch)
tree21fc9d85a8a317b9f63e530fb4eb136928072d2f /sd/source/ui/view/DocumentRenderer.cxx
parent6e85ab648fa2d7f40269670bbe4c5948b12e0f75 (diff)
#i106437# distinguish between slides and pages in impress/draw
Diffstat (limited to 'sd/source/ui/view/DocumentRenderer.cxx')
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 0f797303fa2f..f56072459f5c 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -634,7 +634,9 @@ namespace {
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt( rtl::OUString(),
CreateChoice(_STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE_HELP),
aPrintRangeName,
- CreateChoice(_STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE),
+ CreateChoice(mbImpress
+ ? _STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE
+ : _STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE),
0 )
);
// create a an Edit dependent on "Pages" selected