summaryrefslogtreecommitdiff
path: root/sc/source/core/inc/cellkeytranslator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/inc/cellkeytranslator.hxx')
-rw-r--r--sc/source/core/inc/cellkeytranslator.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/core/inc/cellkeytranslator.hxx b/sc/source/core/inc/cellkeytranslator.hxx
index cc496845020c..3b5d3cba6cd1 100644
--- a/sc/source/core/inc/cellkeytranslator.hxx
+++ b/sc/source/core/inc/cellkeytranslator.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -52,18 +52,18 @@ struct ScCellKeyword
typedef ::std::hash_map< String, ::std::list<ScCellKeyword>, ScStringHashCode, ::std::equal_to<String> > ScCellKeywordHashMap;
/** Translate cell function keywords.
-
+
This class provides a convenient way to translate a string keyword used as
a cell function argument. Since Calc's built-in cell functions don't
localize string keywords, this class is used mainly to deal with an Excel
document where string names may be localized.
-
+
To use, simply call the
-
+
ScCellKeywordTranslator::transKeyword(...)
-
+
function.
-
+
Note that when the locale and/or the opcode is specified, the function
tries to find a string with matching locale and/or opcode. But when it
fails to find one that satisfies the specified locale and/or opcode, it
@@ -79,8 +79,8 @@ private:
ScCellKeywordTranslator();
void init();
- void addToMap(const String& rKey, const sal_Char* pName,
- const ::com::sun::star::lang::Locale& rLocale,
+ void addToMap(const String& rKey, const sal_Char* pName,
+ const ::com::sun::star::lang::Locale& rLocale,
OpCode eOpCode = ocNone);
void addToMap(const TransItem* pItems, const ::com::sun::star::lang::Locale& rLocale);