diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-22 15:56:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-23 09:54:16 +0200 |
commit | ec7d6860f0fdd3b8d0edc5b8f3620a295da965b3 (patch) | |
tree | 6ebed21f4f545fe690c063c69805987884b49179 /sw | |
parent | 27ce6af929d12dcbd9aeddcceef5596ae21cdb10 (diff) |
convert SdrVertAlign to scoped enum
Change-Id: Ie517acfea6b8e34def35e0362a8e9e387de588c4
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 30ccc404d51b..b73fa5526f93 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, SDRVALIGN_NONE); + pSdrView->AlignMarkedObjects(SDRHALIGN_LEFT, SdrVertAlign::NONE); break; case SID_OBJECT_ALIGN_CENTER: - pSdrView->AlignMarkedObjects(SDRHALIGN_CENTER, SDRVALIGN_NONE); + pSdrView->AlignMarkedObjects(SDRHALIGN_CENTER, SdrVertAlign::NONE); break; case SID_OBJECT_ALIGN_RIGHT: - pSdrView->AlignMarkedObjects(SDRHALIGN_RIGHT, SDRVALIGN_NONE); + pSdrView->AlignMarkedObjects(SDRHALIGN_RIGHT, SdrVertAlign::NONE); break; case SID_OBJECT_ALIGN_UP: - pSdrView->AlignMarkedObjects(SDRHALIGN_NONE, SDRVALIGN_TOP); + pSdrView->AlignMarkedObjects(SDRHALIGN_NONE, SdrVertAlign::Top); break; case SID_OBJECT_ALIGN_MIDDLE: - pSdrView->AlignMarkedObjects(SDRHALIGN_NONE, SDRVALIGN_CENTER); + pSdrView->AlignMarkedObjects(SDRHALIGN_NONE, SdrVertAlign::Center); break; case SID_OBJECT_ALIGN_DOWN: - pSdrView->AlignMarkedObjects(SDRHALIGN_NONE, SDRVALIGN_BOTTOM); + pSdrView->AlignMarkedObjects(SDRHALIGN_NONE, SdrVertAlign::Bottom); break; } pSh->EndAction(); |