diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-27 16:09:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-28 12:47:08 +0200 |
commit | f3331f7694e74f349375c223ce7ed84838e92d89 (patch) | |
tree | ef238fa98153c756df201d26d15e0602638298cc /reportdesign | |
parent | 173aa749d50f904887e4aa1ce425c6807668bff0 (diff) |
convert PARENTCLIPMODE constants to scoped enum
Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/EndMarker.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ReportSection.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/SectionWindow.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/StartMarker.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/reportdesign/source/ui/report/EndMarker.cxx b/reportdesign/source/ui/report/EndMarker.cxx index a1ebc7a1f45b..d6137e3bbe79 100644 --- a/reportdesign/source/ui/report/EndMarker.cxx +++ b/reportdesign/source/ui/report/EndMarker.cxx @@ -80,7 +80,7 @@ void OEndMarker::Paint(vcl::RenderContext& rRenderContext, const Rectangle& /*rR void OEndMarker::ImplInitSettings() { EnableChildTransparentMode( true ); - SetParentClipMode( PARENTCLIPMODE_NOCLIP ); + SetParentClipMode( ParentClipMode::NoClip ); SetPaintTransparent( true ); SetBackground( Wallpaper( svtools::ColorConfig().GetColorValue(::svtools::APPBACKGROUND).nColor) ); diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index c6b92044a953..81850df4c4e0 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -92,7 +92,7 @@ OReportSection::OReportSection(OSectionWindow* _pParent,const uno::Reference< re //EnableChildTransparentMode(); SetHelpId(HID_REPORTSECTION); SetMapMode(MapMode(MAP_100TH_MM)); - SetParentClipMode(PARENTCLIPMODE_CLIP); + SetParentClipMode(ParentClipMode::Clip); EnableChildTransparentMode( false ); SetPaintTransparent( false ); diff --git a/reportdesign/source/ui/report/SectionWindow.cxx b/reportdesign/source/ui/report/SectionWindow.cxx index 9d7b08d70b27..a495fe172b67 100644 --- a/reportdesign/source/ui/report/SectionWindow.cxx +++ b/reportdesign/source/ui/report/SectionWindow.cxx @@ -208,7 +208,7 @@ void OSectionWindow::ImplInitSettings() if ( t ) { EnableChildTransparentMode( true ); - SetParentClipMode( PARENTCLIPMODE_NOCLIP ); + SetParentClipMode( ParentClipMode::NoClip ); SetPaintTransparent( true ); } SetBackground( ); diff --git a/reportdesign/source/ui/report/StartMarker.cxx b/reportdesign/source/ui/report/StartMarker.cxx index 01f2fdbc3917..1409feb630e6 100644 --- a/reportdesign/source/ui/report/StartMarker.cxx +++ b/reportdesign/source/ui/report/StartMarker.cxx @@ -74,7 +74,7 @@ OStartMarker::OStartMarker(OSectionWindow* _pParent,const OUString& _sColorEntry const MeasurementSystem eSystem = SvtSysLocale().GetLocaleData().getMeasurementSystemEnum(); m_aVRuler->SetUnit(MEASURE_METRIC == eSystem ? FUNIT_CM : FUNIT_INCH); EnableChildTransparentMode( true ); - SetParentClipMode( PARENTCLIPMODE_NOCLIP ); + SetParentClipMode( ParentClipMode::NoClip ); SetPaintTransparent( true ); } |