diff options
-rw-r--r-- | sfx2/source/control/bindings.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/control/macrconf.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/menu/mnumgr.cxx | 3 |
3 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index ec29ed93c2cb..a4de3f3efc86 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -97,9 +97,6 @@ static sal_uInt16 nTimeOut = 300; #define TIMEOUT_UPDATING 20 #define TIMEOUT_IDLE 2500 -static sal_uInt32 nCache1 = 0; -static sal_uInt32 nCache2 = 0; - typedef boost::unordered_map< sal_uInt16, bool > InvalidateSlotMap; //==================================================================== @@ -916,15 +913,12 @@ sal_uInt16 SfxBindings::GetSlotPos( sal_uInt16 nId, sal_uInt16 nStartSearchAt ) if ( pImp->nCachedFunc1 < pImp->pCaches->Count() && (*pImp->pCaches)[pImp->nCachedFunc1]->GetId() == nId ) { - ++nCache1; DBG_PROFSTOP(SfxBindingsMsgPos); return pImp->nCachedFunc1; } if ( pImp->nCachedFunc2 < pImp->pCaches->Count() && (*pImp->pCaches)[pImp->nCachedFunc2]->GetId() == nId ) { - ++nCache2; - // swap the caches sal_uInt16 nTemp = pImp->nCachedFunc1; pImp->nCachedFunc1 = pImp->nCachedFunc2; diff --git a/sfx2/source/control/macrconf.cxx b/sfx2/source/control/macrconf.cxx index 03ee7e18ba6d..c649a25c2e87 100644 --- a/sfx2/source/control/macrconf.cxx +++ b/sfx2/source/control/macrconf.cxx @@ -59,9 +59,6 @@ #include "objshimp.hxx" #include <sfx2/request.hxx> -static const sal_uInt16 nCompatVersion = 2; -static const sal_uInt16 nVersion = 3; - // Static member SfxMacroConfig* SfxMacroConfig::pMacroConfig = NULL; diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx index 8b87238fdbf3..b453f892fd5c 100644 --- a/sfx2/source/menu/mnumgr.cxx +++ b/sfx2/source/menu/mnumgr.cxx @@ -76,9 +76,6 @@ #include <sfx2/objface.hxx> #include "thessubmenu.hxx" -static const sal_uInt16 nCompatVersion = 4; -static const sal_uInt16 nVersion = 5; - // static member initialization PopupMenu * SfxPopupMenuManager::pStaticThesSubMenu = NULL; |