summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/autoreplace.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-18 11:45:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-18 11:45:19 +0000
commit758cf835f21b2f73da541857afac0f3b226ea20e (patch)
tree0f57bf33503bfcbcad53285bbf9b5fb40aa62ffe /plugins/SpellChecker/src/autoreplace.h
parentce2529939b498acc2be8c3c09c897c6f96eee9f7 (diff)
- naming conflict;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14983 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker/src/autoreplace.h')
-rw-r--r--plugins/SpellChecker/src/autoreplace.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/SpellChecker/src/autoreplace.h b/plugins/SpellChecker/src/autoreplace.h
index e7e2efbb55..8a81fdfcbf 100644
--- a/plugins/SpellChecker/src/autoreplace.h
+++ b/plugins/SpellChecker/src/autoreplace.h
@@ -38,9 +38,9 @@ class Dictionary;
class AutoReplaceMap
{
private:
- TCHAR filename[1024];
- Dictionary *dict;
- map<tstring, AutoReplacement> replacements;
+ TCHAR m_filename[1024];
+ Dictionary *m_dict;
+ map<tstring, AutoReplacement> m_replacements;
void loadAutoReplaceMap();
void writeAutoReplaceMap();
@@ -48,15 +48,15 @@ private:
public:
AutoReplaceMap(TCHAR *filename, Dictionary *dict);
- TCHAR *filterText(const TCHAR *find);
+ TCHAR* filterText(const TCHAR *find);
BOOL isWordChar(TCHAR c);
/// Return an auto replacement to a word or NULL if none exists.
/// You have to free the item.
- TCHAR * autoReplace(const TCHAR * word);
+ TCHAR* autoReplace(const TCHAR *word);
/// Add a word to the list of auto-replaced words
- void add(const TCHAR * from, const TCHAR * to, BOOL useVariables = FALSE);
+ void add(const TCHAR *from, const TCHAR *to, BOOL useVariables = FALSE);
/// Make a copy of the auto replace map
void copyMap(map<tstring, AutoReplacement> *replacements);