diff options
author | Kurt Zenker <kz@openoffice.org> | 2010-08-11 13:35:12 +0200 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2010-08-11 13:35:12 +0200 |
commit | 104e5322c5b511105b26b8c811078da66e6d95b9 (patch) | |
tree | 628016c3ea6d6a140f7b9feae22675d39c751988 /starmath/inc/symbol.hxx | |
parent | b00d08e6519dc4c560560da95d5d5bfdebe6ea08 (diff) | |
parent | 9382d479d3815d9a073322ad5c8ddfe0dfa13eaa (diff) |
CWS-TOOLING: integrate CWS tl83_OOO330
Notes
Notes:
split repo tag: writer_ooo/OOO330_m4
split repo tag: writer_ooo/OOO330_m5
Diffstat (limited to 'starmath/inc/symbol.hxx')
-rw-r--r-- | starmath/inc/symbol.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx index 503859485095..51e8ad0b8642 100644 --- a/starmath/inc/symbol.hxx +++ b/starmath/inc/symbol.hxx @@ -38,7 +38,10 @@ #include <map> #include <vector> #include <set> +#include <functional> +#include <algorithm> +#include "unomodel.hxx" #include "utility.hxx" #include "smmod.hxx" @@ -133,6 +136,15 @@ typedef std::map< String, SmSym, lt_String > SymbolMap_t; // vector of pointers to the actual symbols in the above container typedef std::vector< const SmSym * > SymbolPtrVec_t; +struct lt_SmSymPtr : public std::binary_function< const SmSym *, const SmSym *, bool > +{ + bool operator() ( const SmSym *pSym1, const SmSym *pSym2 ) + { + return pSym1->GetCharacter() < pSym2->GetCharacter(); + } +}; + + class SmSymbolManager : public SfxListener { SymbolMap_t m_aSymbols; |