summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-08-11 09:38:34 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-08-11 19:57:45 -0430
commit3f660094c871a9fb06c6767fcc766c10989caa27 (patch)
tree75d66e55c5cc8bc6cedc42e59790fde0310410de /sfx2
parentb6e7dabce95e165073ecc0c7b614b795768c4c88 (diff)
Update thumbnails after importing templates to a folder.
Change-Id: I44afb92c27b58de3206a90b7aad4125d6860d6ba
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/templatedlg.cxx4
1 files changed, 4 insertions, 0 deletions
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);
}
}