sfx2/source/control/templatelocalview.cxx | 6 +++++- sfx2/source/doc/templatedlg.cxx | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-)
New commits: commit 9b991a1764317959edff5af3fa7261b65dcdc18c Author: Rafael Dominguez <venccsra...@gmail.com> Date: Wed Apr 10 10:36:09 2013 -0430 Remove thumbnail from local view if we erase it throught the search view. Change-Id: I42e5fe1f806712b2b912f945c164b0e239ecaa54 diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index 5defbbf..945e256 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -352,7 +352,11 @@ bool TemplateLocalView::removeTemplate (const sal_uInt16 nItemId, const sal_uInt pIter = pItem->maTemplates.erase(pIter); - RemoveItem(nItemId); + if (maRegions[i]->mnRegionId == mnCurRegionId-1) + { + RemoveItem(nItemId); + Invalidate(); + } // Update Doc Idx for all templates that follow for (; pIter != pItem->maTemplates.end(); ++pIter) commit d2b272c19d684f993da09c8961870db78e93b8c2 Author: Rafael Dominguez <venccsra...@gmail.com> Date: Wed Apr 10 10:25:31 2013 -0430 Set Template Manager dialog minimum size. Change-Id: Ifa5091a5159d3832d3b8c8846eff57b6bfcf9854 diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 9793d3c..19ee371 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -245,6 +245,8 @@ SfxTemplateManagerDlg::SfxTemplateManagerDlg (Window *parent) mpViewBar->RemoveItem(nPos); } + SetMinOutputSizePixel(GetOutputSizePixel()); + mpViewBar->Show(); mpActionBar->Show(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits