summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/inc/ViewsWindow.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-12 15:25:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-13 12:14:03 +0200
commit777ed3ffd8ee46997fa74442b46205fc8eca2cde (patch)
tree71d413a5581e6835a40ce6fd35db6ef9e3e91860 /reportdesign/source/ui/inc/ViewsWindow.hxx
parenta8b366af313a4ffd0ae5766cf4fc281c7efc83f3 (diff)
convert ControlModification to scoped enum
Change-Id: Ia81f1d9f27fb91b831c2ffc3572e119946b085d1 Reviewed-on: https://gerrit.libreoffice.org/36505 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui/inc/ViewsWindow.hxx')
-rw-r--r--reportdesign/source/ui/inc/ViewsWindow.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/reportdesign/source/ui/inc/ViewsWindow.hxx b/reportdesign/source/ui/inc/ViewsWindow.hxx
index e05f1cd123cd..b74a9b1a0a0d 100644
--- a/reportdesign/source/ui/inc/ViewsWindow.hxx
+++ b/reportdesign/source/ui/inc/ViewsWindow.hxx
@@ -37,12 +37,13 @@
#include "SectionWindow.hxx"
class SdrHdl;
+
namespace rptui
{
class OReportWindow;
class OReportSection;
class OSectionView;
-
+ enum class ControlModification;
struct RectangleLess : public ::std::binary_function< tools::Rectangle, tools::Rectangle, bool>
{
@@ -91,7 +92,7 @@ namespace rptui
*/
TSectionsMap::iterator getIteratorAtPos(sal_uInt16 _nPos);
void collectRectangles(TRectangleMap& _rMap);
- static void collectBoundResizeRect(const TRectangleMap& _rSortRectangles,sal_Int32 _nControlModification,bool _bAlignAtSection,tools::Rectangle& _rBound,tools::Rectangle& _rResize);
+ static void collectBoundResizeRect(const TRectangleMap& _rSortRectangles, ControlModification _nControlModification,bool _bAlignAtSection,tools::Rectangle& _rBound,tools::Rectangle& _rResize);
void impl_resizeSectionWindow(OSectionWindow& _rSectionWindow,Point& _rStartPoint,bool _bSet);
OViewsWindow(OViewsWindow&) = delete;
@@ -213,7 +214,7 @@ namespace rptui
/** align all marked objects in all sections
*/
- void alignMarkedObjects(sal_Int32 _nControlModification,bool _bAlignAtSection);
+ void alignMarkedObjects(ControlModification _nControlModification, bool _bAlignAtSection);
/** creates a default object
*