diff options
-rw-r--r-- | reportdesign/images/em42.png | bin | 0 -> 1965 bytes | |||
-rw-r--r-- | reportdesign/images/em42_hc.png | bin | 0 -> 1160 bytes | |||
-rw-r--r-- | reportdesign/source/core/api/ReportDefinition.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 4 |
4 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/images/em42.png b/reportdesign/images/em42.png Binary files differnew file mode 100644 index 000000000000..31f48ea8fb69 --- /dev/null +++ b/reportdesign/images/em42.png diff --git a/reportdesign/images/em42_hc.png b/reportdesign/images/em42_hc.png Binary files differnew file mode 100644 index 000000000000..3870cc4709d4 --- /dev/null +++ b/reportdesign/images/em42_hc.png diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index d6b22a007409..eae541f087be 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -295,7 +295,7 @@ OStyle::OStyle() :OStyle_PBASE(m_aBHelper) ,m_aSize(21000,29700) { - const ::Size aDefaultSize = SvxPaperInfo::GetPaperSize(SvxPaperInfo::GetDefaultSvxPaper(Application::GetSettings().GetLanguage()),MAP_100TH_MM); + const ::Size aDefaultSize = SvxPaperInfo::GetDefaultPaperSize( MAP_100TH_MM ); m_aSize.Height = aDefaultSize.Height(); m_aSize.Width = aDefaultSize.Width(); diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 777af6dd83fa..5e6781ef909c 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -2429,8 +2429,8 @@ void OReportController::openPageDialog(const uno::Reference<report::XSection>& _ new SvxPageItem(RPTUI_ID_PAGE), new SvxSizeItem(RPTUI_ID_SIZE), new SfxAllEnumItem(RPTUI_ID_PAGE_MODE,SVX_PAGE_MODE_STANDARD), - new SfxAllEnumItem(RPTUI_ID_START,SVX_PAPER_A4), - new SfxAllEnumItem(RPTUI_ID_END,SVX_PAPER_E), + new SfxAllEnumItem(RPTUI_ID_START,PAPER_A4), + new SfxAllEnumItem(RPTUI_ID_END,PAPER_E), new SvxBrushItem(ITEMID_BRUSH), new SfxUInt16Item(RPTUI_ID_METRIC,static_cast<UINT16>(eUserMetric)) }; |