summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/workben/ucb/srcharg.cxx4
-rw-r--r--ucb/workben/ucb/ucbdemo.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/ucb/workben/ucb/srcharg.cxx b/ucb/workben/ucb/srcharg.cxx
index f63587bd6a18..781f168d6109 100644
--- a/ucb/workben/ucb/srcharg.cxx
+++ b/ucb/workben/ucb/srcharg.cxx
@@ -105,14 +105,14 @@ bool parseSearchArgument(String const & rInput, ucb::SearchInfo & rInfo)
{
/* Format of rInput:
- argument = *option [criterium *("OR" criterium)]
+ argument = *option [criterion *("OR" criterion)]
option = ("--RECURSE" "=" ("NONE" / "ONE" / "DEEP"))
/ (("--BASE" / "--FOLDERVIEW" / "--DOCVIEW"
/ "--INDIRECT")
"=" bool)
- criterium = "EMPTY" / (term *("AND" term))
+ criterion = "EMPTY" / (term *("AND" term))
term = text-term / date-term / numeric-term / bool-term
diff --git a/ucb/workben/ucb/ucbdemo.cxx b/ucb/workben/ucb/ucbdemo.cxx
index d4cf14c72c54..0be3ecfd72d1 100644
--- a/ucb/workben/ucb/ucbdemo.cxx
+++ b/ucb/workben/ucb/ucbdemo.cxx
@@ -949,10 +949,10 @@ void UcbContent::open( const OUString & rName, const OUString& rInput,
{
// Sort criteria... Note that column numbering starts with 1!
aOpenArg.SortingInfo.realloc(2);
- // primary sort criterium: column 4 --> IsFolder
+ // primary sort criterion: column 4 --> IsFolder
aOpenArg.SortingInfo[ 0 ].ColumnIndex = 4;
aOpenArg.SortingInfo[ 0 ].Ascending = sal_False;
- // secondary sort criterium: column 1 --> Title
+ // secondary sort criterion: column 1 --> Title
aOpenArg.SortingInfo[ 1 ].ColumnIndex = 1;
aOpenArg.SortingInfo[ 1 ].Ascending = sal_True;
}