diff options
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r-- | starmath/source/dialog.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 0857f2456db6..b7d875f94082 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1349,8 +1349,9 @@ bool SmSymbolDialog::SelectSymbolSet(const OUString &rSymbolSetName) return pSym1->GetCharacter() < pSym2->GetCharacter(); } ); + const bool bEmptySymbolSet = aSymbolSet.empty(); m_xSymbolSetDisplay->SetSymbolSet( std::move(aSymbolSet) ); - if (!aSymbolSet.empty()) + if (!bEmptySymbolSet) SelectSymbol(0); bRet = true; |