diff options
Diffstat (limited to 'sw/source/ui/dbui/mmgreetingspage.cxx')
-rw-r--r-- | sw/source/ui/dbui/mmgreetingspage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/mmgreetingspage.cxx b/sw/source/ui/dbui/mmgreetingspage.cxx index 54cddf71f813..5bd89925b656 100644 --- a/sw/source/ui/dbui/mmgreetingspage.cxx +++ b/sw/source/ui/dbui/mmgreetingspage.cxx @@ -112,7 +112,7 @@ IMPL_LINK(SwGreetingsHandler, GreetingHdl_Impl, Button*, pButton, void) SwCustomizeAddressBlockDialog::GREETING_FEMALE )); if(RET_OK == pDlg->Execute()) { - ListBox* pToInsert = pButton == m_pMalePB ? m_pMaleLB : m_pFemaleLB; + ListBox* pToInsert = pButton == m_pMalePB ? m_pMaleLB.get() : m_pFemaleLB.get(); pToInsert->SelectEntryPos(pToInsert->InsertEntry(pDlg->GetAddress())); if(m_bIsTabPage) { |