diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-22 16:38:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-23 09:54:16 +0200 |
commit | f8d980a813fb0125a2d7bb332450b2ab1d943031 (patch) | |
tree | 294c61181410996237f883a140e98ebc6be8851a /sw | |
parent | ec7d6860f0fdd3b8d0edc5b8f3620a295da965b3 (diff) |
convert SdrHorAlign to scoped enum
Change-Id: Ibddc5458c363b4174186c73bd0b3d9501933171a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/shells/drwbassh.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx index b73fa5526f93..34f379d20ccb 100644 --- a/sw/source/uibase/shells/drwbassh.cxx +++ b/sw/source/uibase/shells/drwbassh.cxx @@ -472,22 +472,22 @@ void SwDrawBaseShell::Execute(SfxRequest &rReq) switch (nSlotId) { case SID_OBJECT_ALIGN_LEFT: - pSdrView->AlignMarkedObjects(SDRHALIGN_LEFT, SdrVertAlign::NONE); + pSdrView->AlignMarkedObjects(SdrHorAlign::Left, SdrVertAlign::NONE); break; case SID_OBJECT_ALIGN_CENTER: - pSdrView->AlignMarkedObjects(SDRHALIGN_CENTER, SdrVertAlign::NONE); + pSdrView->AlignMarkedObjects(SdrHorAlign::Center, SdrVertAlign::NONE); break; case SID_OBJECT_ALIGN_RIGHT: - pSdrView->AlignMarkedObjects(SDRHALIGN_RIGHT, SdrVertAlign::NONE); + pSdrView->AlignMarkedObjects(SdrHorAlign::Right, SdrVertAlign::NONE); break; case SID_OBJECT_ALIGN_UP: - pSdrView->AlignMarkedObjects(SDRHALIGN_NONE, SdrVertAlign::Top); + pSdrView->AlignMarkedObjects(SdrHorAlign::NONE, SdrVertAlign::Top); break; case SID_OBJECT_ALIGN_MIDDLE: - pSdrView->AlignMarkedObjects(SDRHALIGN_NONE, SdrVertAlign::Center); + pSdrView->AlignMarkedObjects(SdrHorAlign::NONE, SdrVertAlign::Center); break; case SID_OBJECT_ALIGN_DOWN: - pSdrView->AlignMarkedObjects(SDRHALIGN_NONE, SdrVertAlign::Bottom); + pSdrView->AlignMarkedObjects(SdrHorAlign::NONE, SdrVertAlign::Bottom); break; } pSh->EndAction(); |