officecfg/registry/schema/org/openoffice/Office/Histories.xcs |    6 ------
 unotools/source/config/historyoptions.cxx                     |    3 ---
 2 files changed, 9 deletions(-)

New commits:
commit c0fffdc36df687fe8e4eff49e5a00d3a3c1eb370
Author:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
AuthorDate: Mon Oct 2 12:35:21 2023 +0200
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
CommitDate: Thu Nov 16 08:17:27 2023 +0100

    [API CHANGE] Remove deprecated Password config item
    
    Deprecated since c51ef466f736c9e0e192d2c7feeda0a39bca2011
    
    Change-Id: I9509a17de09e618c5d4b914b7ac1202cb76f506e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157485
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>

diff --git a/officecfg/registry/schema/org/openoffice/Office/Histories.xcs 
b/officecfg/registry/schema/org/openoffice/Office/Histories.xcs
index e01534fb9aea..e01d4a159c64 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Histories.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Histories.xcs
@@ -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>
diff --git a/unotools/source/config/historyoptions.cxx 
b/unotools/source/config/historyoptions.cxx
index 52d2292c7932..3d8d8f933bd7 100644
--- a/unotools/source/config/historyoptions.cxx
+++ b/unotools/source/config/historyoptions.cxx
@@ -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)
             {

Reply via email to