Kaydet (Commit) a0fd9de7 authored tarafından Gábor Stefanik's avatar Gábor Stefanik Kaydeden (comit) Michael Meeks

fdo#42779 followup: Do not check for icons in nonexistent lookaside directory.

Change-Id: Ic493c2e33767968e5a1c1cced66a88295c694b2b
üst 1bec4348
......@@ -391,6 +391,7 @@ bool ImplImageTree::iconCacheLookup(
bool ImplImageTree::find(
std::vector< rtl::OUString > const & paths, BitmapEx & bitmap)
{
if (!m_cacheIcons) {
for (Paths::iterator i(m_paths.begin()); i != m_paths.end(); ++i) {
for (std::vector< rtl::OUString >::const_reverse_iterator j(
paths.rbegin());
......@@ -404,6 +405,7 @@ bool ImplImageTree::find(
}
}
}
}
for (Paths::iterator i(m_paths.begin()); i != m_paths.end();) {
if (!i->second.is()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment