diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:06:27 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:06:27 +0000 |
commit | 3fce060ca0db999d25dbad3b5e334784bfcd6698 (patch) | |
tree | 99eac191b279e511c6e474185365b81e913c9689 /sfx2/source/appl/appbas.cxx | |
parent | 96aaf03734d5b79a98639e9c4574ca71813c7235 (diff) |
INTEGRATION: CWS warnings01 (1.41.64); FILE MERGED
2006/05/23 21:21:35 sb 1.41.64.3: RESYNC: (1.41-1.42); FILE MERGED
2005/11/28 16:13:12 cd 1.41.64.2: #i55991# Remove warnings
2005/11/09 12:03:05 cd 1.41.64.1: #i55991# Make code warning free for gcc
Diffstat (limited to 'sfx2/source/appl/appbas.cxx')
-rw-r--r-- | sfx2/source/appl/appbas.cxx | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index b835dc2dd9..c83f5ede1a 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -4,9 +4,9 @@ * * $RCSfile: appbas.cxx,v $ * - * $Revision: 1.42 $ + * $Revision: 1.43 $ * - * last change: $Author: rt $ $Date: 2006-05-02 16:14:30 $ + * last change: $Author: hr $ $Date: 2006-06-19 22:06:27 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -236,7 +236,7 @@ StarBASIC* SfxApplication::GetBasic_Impl() const } //------------------------------------------------------------------------ -String lcl_GetVersionString(ResMgr* pAppData_ImplResMgr) +String lcl_GetVersionString(ResMgr* /*pAppData_ImplResMgr*/) { ::rtl::OUString aDefault; String aVersion( utl::Bootstrap::getBuildIdData( aDefault )); @@ -523,9 +523,9 @@ sal_uInt16 SfxApplication::SaveBasicContainer() const void SfxApplication::RegisterBasicConstants ( - const char* pPrefix, // Prefix vor Konstanten-Namen - const SfxConstant* pConsts, // Array von <SfxConstant> Instanzen - sal_uInt16 nCount // Anahl der Kontanten in pConsts + const char*, // Prefix vor Konstanten-Namen + const SfxConstant*, // Array von <SfxConstant> Instanzen + sal_uInt16 // Anahl der Kontanten in pConsts ) /* [Beschreibung] @@ -891,7 +891,7 @@ void SfxApplication::PropExec_Impl( SfxRequest &rReq ) //------------------------------------------------------------------------- void SfxApplication::PropState_Impl( SfxItemSet &rSet ) { - SfxViewFrame *pFrame = SfxViewFrame::Current(); +// SfxViewFrame *pFrame = SfxViewFrame::Current(); SfxWhichIter aIter(rSet); for ( sal_uInt16 nSID = aIter.FirstWhich(); nSID; nSID = aIter.NextWhich() ) { @@ -964,29 +964,9 @@ void SfxApplication::MacroExec_Impl( SfxRequest& rReq ) } //-------------------------------------------------------------------- -void SfxApplication::MacroState_Impl( SfxItemSet& rSet ) +void SfxApplication::MacroState_Impl( SfxItemSet& ) { DBG_MEMTEST(); - - // Gestrichen, da zu teuer! Ausserdem waere ein EnterBasicCall noetig -/* - const sal_uInt16 *pRanges = rSet.GetRanges(); - DBG_ASSERT(pRanges && *pRanges, "Set ohne Bereich"); - while ( *pRanges ) - { - for(sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich) - { - sal_Bool bOK = sal_False; - if ( SfxMacroConfig::IsMacroSlot( nWhich ) ) - bOK = GetMacroConfig()->CheckMacro(nWhich); - - if ( !bOK ) - rSet.DisableItem(nWhich); - } - - ++pRanges; - } - */ } //------------------------------------------------------------------------- |