summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-27 16:31:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-29 15:33:51 +0200
commit288b9a3e22c2495c24d6fd195bd8f33a990a9b81 (patch)
treee04f783784bbb2f44712161ab983d74781fdee49 /cui/source
parent71fa42a61f98e57f433f6ab5bb98ec8aa50dacfa (diff)
weld SwEndNoteOptionPage
Change-Id: I2313352a66b088a4198ac8a96d2fd218bb2176fd Reviewed-on: https://gerrit.libreoffice.org/53608 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/cuicharmap.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index c579c55059c7..ac0fffe42bdf 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -432,7 +432,7 @@ void SvxCharacterMap::init()
}
if (bFound)
- m_xFontLB->set_active(aDefStr);
+ m_xFontLB->set_active_text(aDefStr);
else if (m_xFontLB->get_count() )
m_xFontLB->set_active(0);
FontSelectHdl(*m_xFontLB);
@@ -559,7 +559,7 @@ void SvxCharacterMap::SetCharFont( const vcl::Font& rFont )
if (m_xFontLB->find_text(aTmp.GetFamilyName()) == -1)
return;
- m_xFontLB->set_active(aTmp.GetFamilyName());
+ m_xFontLB->set_active_text(aTmp.GetFamilyName());
aFont = aTmp;
FontSelectHdl(*m_xFontLB);
}
@@ -708,7 +708,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, SubsetSelectHdl, weld::ComboBoxText&, void)
if( pSubsetMap )
curSubset = pSubsetMap->GetSubsetByUnicode( m_xSearchSet->GetSelectCharacter() );
if( curSubset )
- m_xSubsetLB->set_active(curSubset->GetName());
+ m_xSubsetLB->set_active_text(curSubset->GetName());
else
m_xSubsetLB->set_active(-1);
@@ -947,7 +947,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharHighlightHdl, SvxShowCharSet*, void)
if( pSubsetMap )
pSubset = pSubsetMap->GetSubsetByUnicode( cChar );
if( pSubset )
- m_xSubsetLB->set_active(pSubset->GetName());
+ m_xSubsetLB->set_active_text(pSubset->GetName());
else
m_xSubsetLB->set_active(-1);
}
@@ -1006,7 +1006,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, SearchCharHighlightHdl, SvxShowCharSet*, void)
if( pSubsetMap )
pSubset = pSubsetMap->GetSubsetByUnicode( cChar );
if( pSubset )
- m_xSubsetLB->set_active(pSubset->GetName());
+ m_xSubsetLB->set_active_text(pSubset->GetName());
else
m_xSubsetLB->set_active(-1);
}
@@ -1063,7 +1063,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharPreSelectHdl, SvxShowCharSet*, void)
setFavButtonState(OUString(&cChar, 1), aFont.GetFamilyName());
const Subset* pSubset = pSubsetMap->GetSubsetByUnicode( cChar );
if( pSubset )
- m_xSubsetLB->set_active(pSubset->GetName());
+ m_xSubsetLB->set_active_text(pSubset->GetName());
}
m_xOKBtn->set_sensitive(true);
@@ -1079,7 +1079,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, SearchCharPreSelectHdl, SvxShowCharSet*, void)
setFavButtonState(OUString(&cChar, 1), aFont.GetFamilyName());
const Subset* pSubset = pSubsetMap->GetSubsetByUnicode( cChar );
if( pSubset )
- m_xSubsetLB->set_active(pSubset->GetName());
+ m_xSubsetLB->set_active_text(pSubset->GetName());
}
m_xOKBtn->set_sensitive(true);