From ab6ddd695b93e80632c73bef82d9647a3af313c6 Mon Sep 17 00:00:00 2001 From: Philipp Lohmann Date: Thu, 29 Oct 2009 18:04:11 +0100 Subject: #i106437# distinguish between slides and pages in impress/draw --- sd/source/ui/view/DocumentRenderer.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sd/source/ui/view/DocumentRenderer.cxx') 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 -- cgit