summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-10 11:51:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 09:08:31 +0100
commitc3d5da852584154b5efbce564006e06acbc5f604 (patch)
treebaba185a90b5b9467ef50bb53a57195c858119b9 /sw/source/ui
parent48e8c03710a540341a0d901273c42acfe0189498 (diff)
convert SwSortDirection to scoped enum
Change-Id: I20eea9b1addf0f7483d1b48a3d74eb342b479d04 Reviewed-on: https://gerrit.libreoffice.org/84854 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/misc/srtdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx
index 6b5c898e20c5..b94922e93845 100644
--- a/sw/source/ui/misc/srtdlg.cxx
+++ b/sw/source/ui/misc/srtdlg.cxx
@@ -298,7 +298,7 @@ void SwSortDlg::Apply()
bAsc3 ? SwSortOrder::Ascending : SwSortOrder::Descending ));
}
- aOptions.eDirection = bCol ? SRT_COLUMNS : SRT_ROWS;
+ aOptions.eDirection = bCol ? SwSortDirection::Columns : SwSortDirection::Rows;
aOptions.cDeli = cDeli;
aOptions.nLanguage = nLang;
aOptions.bTable = rSh.IsTableMode();