summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-18 20:36:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-19 09:30:43 +0100
commit7502d401de8a74b05ac7bcf0abab73ed87b53be6 (patch)
tree0b1ee96c3ac4b0c3e0cb7e2537a85716919b8724 /sfx2
parent0c4c19aca64887e538229a712864ae1225b7efda (diff)
regenerate list
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/tabdlg.hxx1
-rw-r--r--sfx2/source/dialog/tabdlg.cxx19
-rw-r--r--sfx2/source/inc/virtmenu.hxx2
-rw-r--r--sfx2/source/menu/virtmenu.cxx15
4 files changed, 0 insertions, 37 deletions
diff --git a/sfx2/inc/sfx2/tabdlg.hxx b/sfx2/inc/sfx2/tabdlg.hxx
index fc240fc2f2eb..85bcb7a9babd 100644
--- a/sfx2/inc/sfx2/tabdlg.hxx
+++ b/sfx2/inc/sfx2/tabdlg.hxx
@@ -265,7 +265,6 @@ protected:
sal_uInt16 GetWhich( sal_uInt16 nSlot, sal_Bool bDeep = sal_True ) const
{ return pSet->GetPool()->GetWhich( nSlot, bDeep ); }
const SfxPoolItem* GetOldItem( const SfxItemSet& rSet, sal_uInt16 nSlot, sal_Bool bDeep = sal_True );
- const SfxPoolItem* GetExchangeItem( const SfxItemSet& rSet, sal_uInt16 nSlot );
SfxTabDialog* GetTabDialog() const { return pTabDlg; }
void AddItemConnection( sfx::ItemConnectionBase* pConnection );
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index e816322a0718..a91251f5d5a5 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -413,25 +413,6 @@ const SfxPoolItem* SfxTabPage::GetOldItem( const SfxItemSet& rSet,
return pItem;
}
-// -----------------------------------------------------------------------
-
-const SfxPoolItem* SfxTabPage::GetExchangeItem( const SfxItemSet& rSet,
- sal_uInt16 nSlot )
-
-/* [Description]
-
- This method returns an attribute for comparison of the old value. This way
- it will be considered whether the dialogue has just been ended with OK.
-*/
-
-{
- if ( pTabDlg && !pTabDlg->IsInOK() && pTabDlg->GetExampleSet() )
- return GetItem( *pTabDlg->GetExampleSet(), nSlot );
- else
- return GetOldItem( rSet, nSlot );
-}
-
-
void SfxTabPage::PageCreated( SfxAllItemSet /*aSet*/ )
{
DBG_ASSERT(0, "SfxTabPage::PageCreated should not be called");
diff --git a/sfx2/source/inc/virtmenu.hxx b/sfx2/source/inc/virtmenu.hxx
index 3da800c37e60..cc7cb26ffdc4 100644
--- a/sfx2/source/inc/virtmenu.hxx
+++ b/sfx2/source/inc/virtmenu.hxx
@@ -99,8 +99,6 @@ public:
void EnableItem( sal_uInt16 nItemId, sal_Bool bEnable );
void SetItemText( sal_uInt16 nItemId, const String& rText );
- sal_uInt16 GetItemPos( sal_uInt16 nItemId ) const;
-
sal_uInt16 GetItemCount() const;
Menu* GetSVMenu() const;
SfxMenuControl& operator[]( sal_uInt16 nPos ) const;
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx
index 723f49000824..2da6e56e3271 100644
--- a/sfx2/source/menu/virtmenu.cxx
+++ b/sfx2/source/menu/virtmenu.cxx
@@ -1049,21 +1049,6 @@ Menu* SfxVirtualMenu::GetSVMenu() const
//--------------------------------------------------------------------
-// return the position of the specified item
-
-sal_uInt16 SfxVirtualMenu::GetItemPos( sal_uInt16 nItemId ) const
-{
- DBG_MEMTEST();
- DBG_CHKTHIS(SfxVirtualMenu, 0);
-
- for ( sal_uInt16 nPos = 0; nPos < nCount; ++nPos )
- if ( (pItems+nPos)->GetId() == nItemId )
- return nPos;
- return MENU_ITEM_NOTFOUND;
-}
-
-//--------------------------------------------------------------------
-
// set the checkmark of the specified item
void SfxVirtualMenu::CheckItem( sal_uInt16 nItemId, sal_Bool bCheck )