From 3f660094c871a9fb06c6767fcc766c10989caa27 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Sat, 11 Aug 2012 09:38:34 -0430 Subject: Update thumbnails after importing templates to a folder. Change-Id: I44afb92c27b58de3206a90b7aad4125d6860d6ba --- sfx2/source/doc/templatedlg.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sfx2/source/doc/templatedlg.cxx') diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index d2d263a75d36..8352234c46fc 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -774,6 +774,8 @@ void SfxTemplateManagerDlg::OnTemplateImport () for (size_t i = 0, n = aFiles.getLength(); i < n; ++i) maView->copyFrom(pFolder,aFiles[i]); } + + maView->Invalidate(INVALIDATE_NOERASE); } } } @@ -1110,6 +1112,8 @@ void SfxTemplateManagerDlg::remoteMoveTo(const sal_uInt16 nMenuId) maView->copyFrom(nItemId,pItem->maPreview1,pItem->getPath()); } + + maView->Invalidate(INVALIDATE_NOERASE); } } -- cgit