"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sfx2/source/control/charmapcontrol.cxx" between
libreoffice-7.0.6.1.tar.xz and libreoffice-7.0.6.2.tar.xz

About: LibreOffice source code (core). "Still" packages (released version).

charmapcontrol.cxx  (libreoffice-7.0.6.1.tar.xz):charmapcontrol.cxx  (libreoffice-7.0.6.2.tar.xz)
skipping to change at line 131 skipping to change at line 131
//retrieve recent character font list //retrieve recent character font list
css::uno::Sequence< OUString > rFavCharFontList( officecfg::Office::Common:: FavoriteCharacters::FavoriteCharacterFontList::get() ); css::uno::Sequence< OUString > rFavCharFontList( officecfg::Office::Common:: FavoriteCharacters::FavoriteCharacterFontList::get() );
std::copy(rFavCharFontList.begin(), rFavCharFontList.end(), std::back_insert er(m_aFavCharFontList)); std::copy(rFavCharFontList.begin(), rFavCharFontList.end(), std::back_insert er(m_aFavCharFontList));
} }
void SfxCharmapCtrl::updateFavCharControl() void SfxCharmapCtrl::updateFavCharControl()
{ {
int i = 0; int i = 0;
for ( std::deque< OUString >::iterator it = m_aFavCharList.begin(), it2 = m_ aFavCharFontList.begin(); for ( std::deque< OUString >::iterator it = m_aFavCharList.begin(), it2 = m_ aFavCharFontList.begin();
it != m_aFavCharList.end() || it2 != m_aFavCharFontList.end(); it != m_aFavCharList.end() && it2 != m_aFavCharFontList.end();
++it, ++it2, i++) ++it, ++it2, i++)
{ {
m_aFavCharView[i].SetText(*it); m_aFavCharView[i].SetText(*it);
vcl::Font rFont = m_aFavCharView[i].GetFont(); vcl::Font rFont = m_aFavCharView[i].GetFont();
rFont.SetFamilyName( *it2 ); rFont.SetFamilyName( *it2 );
m_aFavCharView[i].SetFont(rFont); m_aFavCharView[i].SetFont(rFont);
m_aFavCharView[i].Show(); m_aFavCharView[i].Show();
} }
for(; i < 16 ; i++) for(; i < 16 ; i++)
skipping to change at line 163 skipping to change at line 163
//retrieve recent character font list //retrieve recent character font list
css::uno::Sequence< OUString > rRecentCharFontList( officecfg::Office::Commo n::RecentCharacters::RecentCharacterFontList::get() ); css::uno::Sequence< OUString > rRecentCharFontList( officecfg::Office::Commo n::RecentCharacters::RecentCharacterFontList::get() );
std::copy(rRecentCharFontList.begin(), rRecentCharFontList.end(), std::back_ inserter(m_aRecentCharFontList)); std::copy(rRecentCharFontList.begin(), rRecentCharFontList.end(), std::back_ inserter(m_aRecentCharFontList));
} }
void SfxCharmapCtrl::updateRecentCharControl() void SfxCharmapCtrl::updateRecentCharControl()
{ {
int i = 0; int i = 0;
for ( std::deque< OUString >::iterator it = m_aRecentCharList.begin(), it2 = m_aRecentCharFontList.begin(); for ( std::deque< OUString >::iterator it = m_aRecentCharList.begin(), it2 = m_aRecentCharFontList.begin();
it != m_aRecentCharList.end() || it2 != m_aRecentCharFontList.end(); it != m_aRecentCharList.end() && it2 != m_aRecentCharFontList.end();
++it, ++it2, i++) ++it, ++it2, i++)
{ {
m_aRecentCharView[i].SetText(*it); m_aRecentCharView[i].SetText(*it);
vcl::Font rFont = m_aRecentCharView[i].GetFont(); vcl::Font rFont = m_aRecentCharView[i].GetFont();
rFont.SetFamilyName( *it2 ); rFont.SetFamilyName( *it2 );
m_aRecentCharView[i].SetFont(rFont); m_aRecentCharView[i].SetFont(rFont);
m_aRecentCharView[i].Show(); m_aRecentCharView[i].Show();
} }
for(; i < 16 ; i++) for(; i < 16 ; i++)
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)