Related: fdo#80755 Always update the thumbnail
Even if the new one is empty. That's the most simple solution for a case of retro-password protecting of an existing file. Change-Id: I7752970c1dee9ec7bf61d390b8b1618a44370e16
This commit is contained in:
@@ -371,12 +371,9 @@ void SvtHistoryOptions_Impl::AppendItem(EHistoryType eHistory,
|
|||||||
// The item to be appended already exists
|
// The item to be appended already exists
|
||||||
if (xItemList->hasByName(sURL))
|
if (xItemList->hasByName(sURL))
|
||||||
{
|
{
|
||||||
if (!sThumbnail.isEmpty())
|
// update the thumbnail
|
||||||
{
|
xItemList->getByName(sURL) >>= xSet;
|
||||||
// update the thumbnail
|
xSet->setPropertyValue(s_sThumbnail, uno::makeAny(sThumbnail));
|
||||||
xItemList->getByName(sURL) >>= xSet;
|
|
||||||
xSet->setPropertyValue(s_sThumbnail, uno::makeAny(sThumbnail));
|
|
||||||
}
|
|
||||||
|
|
||||||
for (sal_Int32 i=0; i<nLength; ++i)
|
for (sal_Int32 i=0; i<nLength; ++i)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user