diff options
Diffstat (limited to 'sw/source/ui/misc/glosbib.cxx')
-rw-r--r-- | sw/source/ui/misc/glosbib.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx index 6d5277536072..ddf69f7ef366 100644 --- a/sw/source/ui/misc/glosbib.cxx +++ b/sw/source/ui/misc/glosbib.cxx @@ -273,7 +273,7 @@ IMPL_LINK( SwGlossaryGroupDlg, DeleteHdl, Button*, pButton ) if(!m_pGroupTLB->First()) pButton->Enable(sal_False); //the content must be deleted - otherwise the new handler would be called in Apply() - m_pNameED->SetText(aEmptyStr); + m_pNameED->SetText(aEmptyOUStr); return 0; } @@ -294,7 +294,7 @@ IMPL_LINK_NOARG(SwGlossaryGroupDlg, RenameHdl) for (OUVector_t::iterator it(m_InsertedArr.begin()); it != m_InsertedArr.end(); ++it) { - if (String(*it) == sEntry) + if (*it == sEntry) { m_InsertedArr.erase(it); m_InsertedArr.push_back(sNewName); |