summaryrefslogtreecommitdiff
path: root/filter/source/config/cache/filterfactory.cxx
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-11 12:37:03 +0800
committerMichael Meeks <michael.meeks@suse.com>2012-02-13 15:27:24 +0000
commit806bec7107c426d0d05ceabd82da159e75d7f5ed (patch)
treea0cd24e6d3629f5b4f33efbafd5f3b674aefb5a7 /filter/source/config/cache/filterfactory.cxx
parent4001370ba5900dd0a0ec04c62f5aeb347bde025a (diff)
Fix typos in comments
Diffstat (limited to 'filter/source/config/cache/filterfactory.cxx')
-rw-r--r--filter/source/config/cache/filterfactory.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index cbd1e7e56d54..87702f7df27c 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -372,9 +372,9 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
const CacheItem aFilter = pCache->getItem(FilterCache::E_FILTER, sName);
CacheItem::const_iterator pProp ;
- // "matchByDocumentService=" => any filter will be adressed here
- // "matchByDocumentService=all" => any filter will be adressed here
- // "matchByDocumentService=com.sun.star..." => only filter matching this document service will be adressed
+ // "matchByDocumentService=" => any filter will be addressed here
+ // "matchByDocumentService=all" => any filter will be addressed here
+ // "matchByDocumentService=com.sun.star..." => only filter matching this document service will be addressed
::rtl::OUString sCheckValue = aFilter.getUnpackedValueOrDefault(PROPNAME_DOCUMENTSERVICE, ::rtl::OUString());
if (
(!sDocumentService.isEmpty() ) &&
@@ -388,7 +388,7 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
// "iflags=" => not allowed
// "iflags=-1" => not allowed
// "iflags=0" => not usefull
- // "iflags=283648" => only filter, which has set these flag field will be adressed
+ // "iflags=283648" => only filter, which has set these flag field will be addressed
sal_Int32 nCheckValue = aFilter.getUnpackedValueOrDefault(PROPNAME_FLAGS, (sal_Int32)0);
if (
(nIFlags > 0 ) &&
@@ -401,7 +401,7 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
// "eflags=" => not allowed
// "eflags=-1" => not allowed
// "eflags=0" => not usefull
- // "eflags=283648" => only filter, which has not set these flag field will be adressed
+ // "eflags=283648" => only filter, which has not set these flag field will be addressed
if (
(nEFlags > 0 ) &&
((nCheckValue & nEFlags) == nEFlags)