[API CHANGE] Remove deprecated Password config item

Deprecated since c51ef466f7

Change-Id: I9509a17de09e618c5d4b914b7ac1202cb76f506e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157485
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
This commit is contained in:
Samuel Mehrbrodt
2023-11-16 08:17:27 +01:00
parent f271ec5cd9
commit c0fffdc36d
2 changed files with 0 additions and 9 deletions
@@ -36,12 +36,6 @@
<desc>Indicates the title of the URL that is displayed on the user-interface.</desc>
</info>
</prop>
<prop oor:name="Password" oor:type="xs:string">
<info>
<deprecated>Not used anymore</deprecated>
<desc>Contains an encoded password used to open the document.</desc>
</info>
</prop>
<prop oor:name="Thumbnail" oor:type="xs:string">
<info>
<desc>Contains a base64 encoded thumbnail of the document.</desc>
@@ -40,7 +40,6 @@ namespace {
constexpr OUString s_sHistoryItemRef = u"HistoryItemRef"_ustr;
constexpr OUString s_sFilter = u"Filter"_ustr;
constexpr OUString s_sTitle = u"Title"_ustr;
constexpr OUString s_sPassword = u"Password"_ustr;
constexpr OUString s_sThumbnail = u"Thumbnail"_ustr;
constexpr OUString s_sReadOnly = u"ReadOnly"_ustr;
constexpr OUString s_sPinned = u"Pinned"_ustr;
@@ -153,7 +152,6 @@ std::vector< HistoryItem > GetList( EHistoryType eHistory )
aItem.sURL = sUrl;
xSet->getPropertyValue(s_sFilter) >>= aItem.sFilter;
xSet->getPropertyValue(s_sTitle) >>= aItem.sTitle;
xSet->getPropertyValue(s_sPassword) >>= aItem.sPassword;
xSet->getPropertyValue(s_sThumbnail) >>= aItem.sThumbnail;
xSet->getPropertyValue(s_sReadOnly) >>= aItem.isReadOnly;
if (xSet->getPropertySetInfo()->hasPropertyByName(s_sPinned))
@@ -285,7 +283,6 @@ void AppendItem(EHistoryType eHistory, const OUString& sURL, const OUString& sFi
xSet.set(xInst, uno::UNO_QUERY);
xSet->setPropertyValue(s_sFilter, uno::Any(sFilter));
xSet->setPropertyValue(s_sTitle, uno::Any(sTitle));
xSet->setPropertyValue(s_sPassword, uno::Any(OUString()));
xSet->setPropertyValue(s_sThumbnail, uno::Any(sThumbnail.value_or(OUString())));
if (oIsReadOnly)
{