From 730ae09563d4688e4e7c3a3a8988c5941017df14 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Tue, 7 Aug 2012 21:08:13 -0430 Subject: Insert cached items to overlay instead of displaying current ones. Change-Id: Ib1c15664901a2696c632ba954eef3b37d157ed50 --- sfx2/source/control/templateonlineview.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sfx2') diff --git a/sfx2/source/control/templateonlineview.cxx b/sfx2/source/control/templateonlineview.cxx index 1c64d26cba45..e1a83f2690d5 100644 --- a/sfx2/source/control/templateonlineview.cxx +++ b/sfx2/source/control/templateonlineview.cxx @@ -135,7 +135,10 @@ bool TemplateOnlineView::loadRepository (const sal_uInt16 nRepositoryId, bool bR return false; if (!pItem->getTemplates().empty() && !bRefresh) + { + mpItemView->InsertItems(pItem->getTemplates()); return true; + } rtl::OUString aURL = static_cast(pItem)->getURL(); -- cgit