diff options
-rw-r--r-- | include/unotools/historyoptions.hxx | 3 | ||||
-rw-r--r-- | unotools/source/config/historyoptions.cxx | 28 |
2 files changed, 1 insertions, 30 deletions
diff --git a/include/unotools/historyoptions.hxx b/include/unotools/historyoptions.hxx index 46571bcd6342..5b980b73d48e 100644 --- a/include/unotools/historyoptions.hxx +++ b/include/unotools/historyoptions.hxx @@ -45,8 +45,7 @@ enum EHistoryType { ePICKLIST = 0, - eHISTORY = 1, - eHELPBOOKMARKS = 2 + eHELPBOOKMARKS = 1 }; /*-************************************************************************************************************ diff --git a/unotools/source/config/historyoptions.cxx b/unotools/source/config/historyoptions.cxx index 272cc31071ef..e6348e94f336 100644 --- a/unotools/source/config/historyoptions.cxx +++ b/unotools/source/config/historyoptions.cxx @@ -54,10 +54,8 @@ namespace { const char s_sCommonHistory[] = "org.openoffice.Office.Common/History"; const char s_sHistories[] = "org.openoffice.Office.Histories/Histories"; const char s_sPickListSize[] = "PickListSize"; - const char s_sURLHistorySize[] = "Size"; const char s_sHelpBookmarksSize[] = "HelpBookmarkSize"; const char s_sPickList[] = "PickList"; - const char s_sURLHistory[] = "URLHistory"; const char s_sHelpBookmarks[] = "HelpBookmarks"; const char s_sItemList[] = "ItemList"; const char s_sOrderList[] = "OrderList"; @@ -147,10 +145,6 @@ sal_uInt32 SvtHistoryOptions_Impl::GetSize( EHistoryType eHistory ) xListAccess->getPropertyValue(OUString(s_sPickListSize)) >>= nSize; break; - case eHISTORY: - xListAccess->getPropertyValue(OUString(s_sURLHistorySize)) >>= nSize; - break; - case eHELPBOOKMARKS: xListAccess->getPropertyValue(OUString(s_sHelpBookmarksSize)) >>= nSize; break; @@ -182,10 +176,6 @@ void SvtHistoryOptions_Impl::impl_truncateList ( EHistoryType eHistory, sal_uInt m_xCfg->getByName(OUString(s_sPickList)) >>= xList; break; - case eHISTORY: - m_xCfg->getByName(OUString(s_sURLHistory)) >>= xList; - break; - case eHELPBOOKMARKS: m_xCfg->getByName(OUString(s_sHelpBookmarks)) >>= xList; break; @@ -243,12 +233,6 @@ void SvtHistoryOptions_Impl::Clear( EHistoryType eHistory ) break; } - case eHISTORY: - { - m_xCfg->getByName(OUString(s_sURLHistory)) >>= xListAccess; - break; - } - case eHELPBOOKMARKS: { m_xCfg->getByName(OUString(s_sHelpBookmarks)) >>= xListAccess; @@ -326,12 +310,6 @@ Sequence< Sequence< PropertyValue > > SvtHistoryOptions_Impl::GetList( EHistoryT break; } - case eHISTORY: - { - m_xCfg->getByName(OUString(s_sURLHistory)) >>= xListAccess; - break; - } - case eHELPBOOKMARKS: { m_xCfg->getByName(OUString(s_sHelpBookmarks)) >>= xListAccess; @@ -415,12 +393,6 @@ void SvtHistoryOptions_Impl::AppendItem(EHistoryType eHistory, nMaxSize = GetSize(ePICKLIST); } break; - case eHISTORY: - { - m_xCfg->getByName(OUString(s_sURLHistory)) >>= xListAccess; - nMaxSize = GetSize(eHISTORY); - } - break; case eHELPBOOKMARKS: { m_xCfg->getByName(OUString(s_sHelpBookmarks)) >>= xListAccess; |