diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-11 09:31:04 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-11 19:57:44 -0430 |
commit | b6e7dabce95e165073ecc0c7b614b795768c4c88 (patch) | |
tree | 9a4f2498aba6b05bccfd59c3c2a80226f37c4deb /sfx2/source/control/templatelocalview.cxx | |
parent | c1149bb21895d313e57e28237e9dee7800e186e3 (diff) |
Reset thumbnails before updating them.
Change-Id: I24db95d8875a7a002de0492b4ac62093ddf7f874
Diffstat (limited to 'sfx2/source/control/templatelocalview.cxx')
-rw-r--r-- | sfx2/source/control/templatelocalview.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index 303e4d14b4dc..3679cf8502aa 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -651,6 +651,9 @@ IMPL_LINK(TemplateLocalView, ChangeNameHdl, TemplateView*, pView) void lcl_updateThumbnails (TemplateLocalViewItem *pItem) { + pItem->maPreview1.Clear(); + pItem->maPreview2.Clear(); + // Update folder thumbnails for (size_t i = 0, n = pItem->maTemplates.size(); i < 2 && i < n; ++i) { |