summaryrefslogtreecommitdiff
path: root/vcl/source/window/printdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/printdlg.cxx')
-rw-r--r--vcl/source/window/printdlg.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index c8c340343453..6c1d48550e92 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -19,7 +19,7 @@
#include "printdlg.hxx"
#include "svdata.hxx"
-#include "svids.hrc"
+#include "strings.hrc"
#include "bitmaps.hlst"
#include <vcl/print.hxx>
@@ -1464,6 +1464,9 @@ void PrintDialog::updateNupFromPages()
updateNup();
}
+#define SV_PRINT_PRT_NUP_ORIENTATION_PORTRAIT 1
+#define SV_PRINT_PRT_NUP_ORIENTATION_LANDSCAPE 2
+
void PrintDialog::updateNup()
{
int nRows = int(maNUpPage.mpNupRowsEdt->GetValue());