summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/srtdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-10 11:50:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 08:15:10 +0100
commite92206270a1c3a63072e813a948297d1f8332609 (patch)
treec9074b2783c6a1d2e1699085a4293a02a7057796 /sw/source/ui/misc/srtdlg.cxx
parent5c38453d830d9e71bfccea846c8b4e8f76a3cfae (diff)
convert SwSortOrder to scoped enum
Change-Id: I24f982749a94e32d388663cc3a518d919bad96ff Reviewed-on: https://gerrit.libreoffice.org/84853 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/misc/srtdlg.cxx')
-rw-r--r--sw/source/ui/misc/srtdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx
index e9a8e715f6a9..6b5c898e20c5 100644
--- a/sw/source/ui/misc/srtdlg.cxx
+++ b/sw/source/ui/misc/srtdlg.cxx
@@ -269,7 +269,7 @@ void SwSortDlg::Apply()
aOptions.aKeys.push_back(
std::make_unique<SwSortKey>( nCol1, sEntry,
- bAsc1 ? SRT_ASCENDING : SRT_DESCENDING ));
+ bAsc1 ? SwSortOrder::Ascending : SwSortOrder::Descending ));
}
if( bCheck2 )
@@ -282,7 +282,7 @@ void SwSortDlg::Apply()
aOptions.aKeys.push_back(
std::make_unique<SwSortKey>( nCol2, sEntry,
- bAsc2 ? SRT_ASCENDING : SRT_DESCENDING ));
+ bAsc2 ? SwSortOrder::Ascending : SwSortOrder::Descending ));
}
if( bCheck3 )
@@ -295,7 +295,7 @@ void SwSortDlg::Apply()
aOptions.aKeys.push_back(
std::make_unique<SwSortKey>( nCol3, sEntry,
- bAsc3 ? SRT_ASCENDING : SRT_DESCENDING ));
+ bAsc3 ? SwSortOrder::Ascending : SwSortOrder::Descending ));
}
aOptions.eDirection = bCol ? SRT_COLUMNS : SRT_ROWS;