[Libreoffice-bugs] [Bug 105500] Small but noticeable lag when selecting shapes with sidebar enabled
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 17 07:52:01 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=105500
--- Comment #9 from Alex Thurgood <iplaw67 at tuta.io> ---
In PaletteManager.cxx :
line 109:
pPalette.reset(new PaletteSOC(aFileStat.getFileURL(), aFNameWithoutExt));
in the following block:
{
std::unique_ptr<Palette> pPalette;
if( aFName.endsWithIgnoreAsciiCase(".gpl") )
pPalette.reset(new
PaletteGPL(aFileStat.getFileURL(), aFNameWithoutExt));
else if( aFName.endsWithIgnoreAsciiCase(".soc") )
pPalette.reset(new
PaletteSOC(aFileStat.getFileURL(), aFNameWithoutExt));
else if ( aFName.endsWithIgnoreAsciiCase(".ase") )
pPalette.reset(new
PaletteASE(aFileStat.getFileURL(), aFNameWithoutExt));
if( pPalette && pPalette->IsValid() )
m_Palettes.push_back( std::move(pPalette) );
aNames.insert(aFNameWithoutExt);
}
seems to be invoked numerous times and not released.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170817/41f02847/attachment.html>
More information about the Libreoffice-bugs
mailing list