diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-07-23 17:21:05 +0200 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-07-23 17:21:05 +0200 |
commit | 4c8d9dbc46403017cf09723d903e1b49296b9e48 (patch) | |
tree | d198bb6242316a4403e75007d7691ce6a68fd0e3 /starmath/source/dialog.cxx | |
parent | 1acb3fa596bac16a168b22d4070db9f6423881d8 (diff) |
cws tl83: #i113276# changes to Greek symbol set because of new OpenSymbol font
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r-- | starmath/source/dialog.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 037f2fc1dff8..6067daa797dc 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1600,6 +1600,9 @@ BOOL SmSymbolDialog::SelectSymbolSet(const XubString &rSymbolSetName) aSymbolSetName = rSymbolSetName; aSymbolSet = rSymbolMgr.GetSymbolSet( aSymbolSetName ); + // sort symbols by Unicode position (useful for displaying Greek characters alphabetically) + std::sort( aSymbolSet.begin(), aSymbolSet.end(), lt_SmSymPtr() ); + aSymbolSetDisplay.SetSymbolSet( aSymbolSet ); if (aSymbolSet.size() > 0) SelectSymbol(0); |