summaryrefslogtreecommitdiff
path: root/sw/source/core/frmedt/fews.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/frmedt/fews.cxx')
-rw-r--r--sw/source/core/frmedt/fews.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx
index 4c2e798c484f..256543669cb3 100644
--- a/sw/source/core/frmedt/fews.cxx
+++ b/sw/source/core/frmedt/fews.cxx
@@ -575,7 +575,7 @@ sal_Bool SwFEShell::Sort(const SwSortOptions& rOpt)
}
// call sorting on document
- bRet = pDoc->SortTbl(aBoxes, rOpt);
+ bRet = pDoc->SortTbl(aBoxes, rOpt) ? sal_True : sal_False;
}
else
{
@@ -592,7 +592,7 @@ sal_Bool SwFEShell::Sort(const SwSortOptions& rOpt)
xub_StrLen nCntStt = pStart->nContent.GetIndex();
// Sorting
- bRet = pDoc->SortText(*pPam, rOpt);
+ bRet = pDoc->SortText(*pPam, rOpt) ? sal_True : sal_False;
// put selection again
pPam->DeleteMark();