"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "svtools/source/control/ctrlbox.cxx" between
libreoffice-7.1.5.1.tar.xz and libreoffice-7.1.5.2.tar.xz

About: LibreOffice source code (core). "Fresh" packages (pre-release version).

ctrlbox.cxx  (libreoffice-7.1.5.1.tar.xz):ctrlbox.cxx  (libreoffice-7.1.5.2.tar.xz)
skipping to change at line 362 skipping to change at line 362
{ {
if (rEvent.GetId() != VclEventId::ApplicationDataChanged) if (rEvent.GetId() != VclEventId::ApplicationDataChanged)
return; return;
DataChangedEvent* pData = static_cast<DataChangedEvent*>(static_cast<VclWind owEvent&>(rEvent).GetData()); DataChangedEvent* pData = static_cast<DataChangedEvent*>(static_cast<VclWind owEvent&>(rEvent).GetData());
if (pData->GetType() == DataChangedEventType::SETTINGS) if (pData->GetType() == DataChangedEventType::SETTINGS)
{ {
gFontPreviewVirDevs.clear(); gFontPreviewVirDevs.clear();
gRenderedFontNames.clear(); gRenderedFontNames.clear();
calcCustomItemSize(*m_xComboBox); calcCustomItemSize(*m_xComboBox);
if (mbWYSIWYG) if (mbWYSIWYG && mpFontList && !mpFontList->empty())
{
mnPreviewProgress = 0;
maUpdateIdle.Start(); maUpdateIdle.Start();
}
} }
} }
FontNameBox::FontNameBox(std::unique_ptr<weld::ComboBox> p) FontNameBox::FontNameBox(std::unique_ptr<weld::ComboBox> p)
: m_xComboBox(std::move(p)) : m_xComboBox(std::move(p))
, mnPreviewProgress(0) , mnPreviewProgress(0)
, mbWYSIWYG(false) , mbWYSIWYG(false)
, maUpdateIdle("FontNameBox Preview Update") , maUpdateIdle("FontNameBox Preview Update")
{ {
++gFontNameBoxes; ++gFontNameBoxes;
 End of changes. 2 change blocks. 
1 lines changed or deleted 4 lines changed or added

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