summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-08 18:46:04 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-08 18:46:49 +0200
commit88db0ab698055ce1ea37a3b200a425eee5b9f2f8 (patch)
tree45d62eaabb2bab4be6f0d436f149d821339c5400 /ucb
parent56e36f2e36aef20ef594b6725ee091dd534d1eba (diff)
Typos
Change-Id: Id4b79ae8576acaaf9d5ee1c9c030b6ffda3059a5
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;
}