summaryrefslogtreecommitdiff
path: root/sfx2/source/control
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/control')
-rw-r--r--sfx2/source/control/bindings.cxx66
-rw-r--r--sfx2/source/control/ctrlitem.cxx30
-rw-r--r--sfx2/source/control/dispatch.cxx72
-rw-r--r--sfx2/source/control/minfitem.cxx10
-rw-r--r--sfx2/source/control/msg.cxx2
-rw-r--r--sfx2/source/control/msgpool.cxx14
-rw-r--r--sfx2/source/control/objface.cxx20
-rw-r--r--sfx2/source/control/request.cxx58
-rw-r--r--sfx2/source/control/shell.cxx70
-rw-r--r--sfx2/source/control/sorgitm.cxx10
-rw-r--r--sfx2/source/control/statcach.cxx20
-rw-r--r--sfx2/source/control/unoctitm.cxx2
12 files changed, 187 insertions, 187 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 233fe94d9a86..3f7091c84bdb 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -158,7 +158,7 @@ public:
InvalidateSlotMap m_aInvalidateSlots; // store slots which are invalidated while in update
};
-//--------------------------------------------------------------------
+
struct SfxFoundCache_Impl
{
@@ -195,7 +195,7 @@ struct SfxFoundCache_Impl
{ return nWhichId== r.nWhichId; }
};
-//--------------------------------------------------------------------------
+
class SfxFoundCacheArr_Impl : public std::vector<SfxFoundCache_Impl*>
{
@@ -273,7 +273,7 @@ SfxBindings::~SfxBindings()
delete pImp;
}
-//--------------------------------------------------------------------
+
void SfxBindings::DeleteControllers_Impl()
{
@@ -339,7 +339,7 @@ void SfxBindings::DeleteControllers_Impl()
}
}
-//--------------------------------------------------------------------
+
void SfxBindings::HidePopups( bool bHide )
{
@@ -376,7 +376,7 @@ void SfxBindings::HidePopupCtrls_Impl( bool bHide )
pImp->ePopupAction = SFX_POPUP_DELETE;
}
-//--------------------------------------------------------------------
+
void SfxBindings::Update_Impl
(
@@ -439,7 +439,7 @@ void SfxBindings::Update_Impl
DBG_PROFSTOP(SfxBindingsUpdate_Impl);
}
-//--------------------------------------------------------------------
+
void SfxBindings::InvalidateSlotsInMap_Impl()
{
@@ -452,14 +452,14 @@ void SfxBindings::InvalidateSlotsInMap_Impl()
pImp->m_aInvalidateSlots.clear();
}
-//--------------------------------------------------------------------
+
void SfxBindings::AddSlotToInvalidateSlotsMap_Impl( sal_uInt16 nId )
{
pImp->m_aInvalidateSlots[nId] = true;
}
-//--------------------------------------------------------------------
+
void SfxBindings::Update
(
@@ -524,7 +524,7 @@ void SfxBindings::Update
}
}
-//--------------------------------------------------------------------
+
void SfxBindings::Update()
{
@@ -548,7 +548,7 @@ void SfxBindings::Update()
}
}
-//--------------------------------------------------------------------
+
void SfxBindings::SetState
(
@@ -592,7 +592,7 @@ void SfxBindings::SetState
}
}
-//--------------------------------------------------------------------
+
void SfxBindings::SetState
(
@@ -626,7 +626,7 @@ void SfxBindings::SetState
}
-//--------------------------------------------------------------------
+
SfxStateCache* SfxBindings::GetAnyStateCache_Impl( sal_uInt16 nId )
{
@@ -668,7 +668,7 @@ SfxStateCache* SfxBindings::GetStateCache
return 0;
}
-//--------------------------------------------------------------------
+
void SfxBindings::InvalidateAll
(
@@ -709,7 +709,7 @@ void SfxBindings::InvalidateAll
DBG_PROFSTOP(SfxBindingsInvalidateAll);
}
-//--------------------------------------------------------------------
+
void SfxBindings::Invalidate
(
@@ -765,7 +765,7 @@ void SfxBindings::Invalidate
DBG_PROFSTOP(SfxBindingsInvalidateAll);
}
-//--------------------------------------------------------------------
+
void SfxBindings::InvalidateShell
(
@@ -828,7 +828,7 @@ void SfxBindings::InvalidateShell
DBG_PROFSTOP(SfxBindingsInvalidateAll);
}
-//--------------------------------------------------------------------
+
void SfxBindings::Invalidate
(
@@ -863,7 +863,7 @@ void SfxBindings::Invalidate
}
}
-//--------------------------------------------------------------------
+
void SfxBindings::Invalidate
(
@@ -900,7 +900,7 @@ void SfxBindings::Invalidate
}
}
-//--------------------------------------------------------------------
+
sal_Bool SfxBindings::IsBound( sal_uInt16 nSlotId, sal_uInt16 nStartSearchAt )
{
@@ -908,7 +908,7 @@ sal_Bool SfxBindings::IsBound( sal_uInt16 nSlotId, sal_uInt16 nStartSearchAt )
return GetStateCache(nSlotId, &nStartSearchAt ) != 0;
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxBindings::GetSlotPos( sal_uInt16 nId, sal_uInt16 nStartSearchAt )
{
@@ -980,7 +980,7 @@ sal_uInt16 SfxBindings::GetSlotPos( sal_uInt16 nId, sal_uInt16 nStartSearchAt )
DBG_PROFSTOP(SfxBindingsMsgPos);
return nPos;
}
-//--------------------------------------------------------------------
+
void SfxBindings::RegisterInternal_Impl( SfxControllerItem& rItem )
{
Register_Impl( rItem, sal_True );
@@ -1026,7 +1026,7 @@ void SfxBindings::Register_Impl( SfxControllerItem& rItem, sal_Bool bInternal )
}
}
-//--------------------------------------------------------------------
+
void SfxBindings::Release( SfxControllerItem& rItem )
{
@@ -1072,7 +1072,7 @@ void SfxBindings::Release( SfxControllerItem& rItem )
LEAVEREGISTRATIONS();
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxBindings::ExecuteSynchron( sal_uInt16 nId, const SfxPoolItem** ppItems, sal_uInt16 nModi,
const SfxPoolItem **ppInternalArgs )
{
@@ -1293,7 +1293,7 @@ void SfxBindings::Execute_Impl( SfxRequest& aReq, const SfxSlot* pSlot, SfxShell
pDispatcher->_Execute( *pShell, *pSlot, aReq, aReq.GetCallMode() | SFX_CALLMODE_RECORD );
}
-//--------------------------------------------------------------------
+
void SfxBindings::UpdateSlotServer_Impl()
{
@@ -1328,7 +1328,7 @@ void SfxBindings::UpdateSlotServer_Impl()
DBG_PROFSTOP(SfxBindingsUpdateServers);
}
-//--------------------------------------------------------------------
+
SfxItemSet* SfxBindings::CreateSet_Impl
(
@@ -1470,7 +1470,7 @@ SfxItemSet* SfxBindings::CreateSet_Impl
return pSet;
}
-//--------------------------------------------------------------------
+
void SfxBindings::UpdateControllers_Impl
(
@@ -1581,7 +1581,7 @@ void SfxBindings::UpdateControllers_Impl
}
-//--------------------------------------------------------------------
+
IMPL_LINK( SfxBindings, NextJob_Impl, Timer *, pTimer )
{
@@ -1716,7 +1716,7 @@ IMPL_LINK( SfxBindings, NextJob_Impl, Timer *, pTimer )
#endif
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxBindings::EnterRegistrations(const char *pFile, int nLine)
{
@@ -1757,7 +1757,7 @@ sal_uInt16 SfxBindings::EnterRegistrations(const char *pFile, int nLine)
return nRegLevel;
}
-//--------------------------------------------------------------------
+
void SfxBindings::LeaveRegistrations( sal_uInt16 nLevel, const char *pFile, int nLine )
{
@@ -1827,7 +1827,7 @@ void SfxBindings::LeaveRegistrations( sal_uInt16 nLevel, const char *pFile, int
? SAL_STREAM("File: " << pFile << " Line: " << nLine) : ""));
}
-//--------------------------------------------------------------------
+
const SfxSlot* SfxBindings::GetSlot(sal_uInt16 nSlotId)
{
@@ -1844,7 +1844,7 @@ const SfxSlot* SfxBindings::GetSlot(sal_uInt16 nSlotId)
pCache->GetSlotServer(*pDispatcher, pImp->xProv)->GetSlot(): 0;
}
-//--------------------------------------------------------------------
+
void SfxBindings::SetDispatcher( SfxDispatcher *pDisp )
{
@@ -1911,7 +1911,7 @@ void SfxBindings::SetDispatcher( SfxDispatcher *pDisp )
}
}
-//--------------------------------------------------------------------
+
void SfxBindings::ClearCache_Impl( sal_uInt16 nSlotId )
{
@@ -1921,7 +1921,7 @@ void SfxBindings::ClearCache_Impl( sal_uInt16 nSlotId )
pCache->ClearCache();
}
-//--------------------------------------------------------------------
+
void SfxBindings::StartUpdate_Impl( sal_Bool bComplete )
{
if ( pImp->pSubBindings )
@@ -1935,7 +1935,7 @@ void SfxBindings::StartUpdate_Impl( sal_Bool bComplete )
NextJob_Impl(0);
}
-//-------------------------------------------------------------------------
+
SfxItemState SfxBindings::QueryState( sal_uInt16 nSlot, SfxPoolItem* &rpState )
{
diff --git a/sfx2/source/control/ctrlitem.cxx b/sfx2/source/control/ctrlitem.cxx
index 7a0d16dbbfc0..4851580fc24e 100644
--- a/sfx2/source/control/ctrlitem.cxx
+++ b/sfx2/source/control/ctrlitem.cxx
@@ -30,7 +30,7 @@
DBG_NAME(SfxControllerItem);
-//--------------------------------------------------------------------
+
#ifdef DBG_UTIL
void SfxControllerItem::CheckConfigure_Impl( sal_uIntPtr nType )
@@ -52,7 +52,7 @@ void SfxControllerItem::CheckConfigure_Impl( sal_uIntPtr nType )
#endif
-//--------------------------------------------------------------------
+
// returns the next registered SfxControllerItem with the same id
SfxControllerItem* SfxControllerItem::GetItemLink()
@@ -61,7 +61,7 @@ SfxControllerItem* SfxControllerItem::GetItemLink()
return pNext == this ? 0 : pNext;
}
-//--------------------------------------------------------------------
+
// returns sal_True if this binding is really bound to a function
sal_Bool SfxControllerItem::IsBound() const
@@ -159,7 +159,7 @@ DBG_CHKTHIS(SfxControllerItem, 0);
pBindings->Register(*this);
}
-//--------------------------------------------------------------------
+
void SfxControllerItem::ClearCache()
@@ -190,7 +190,7 @@ void SfxControllerItem::ClearCache()
pBindings->ClearCache_Impl( GetId() );
}
-//--------------------------------------------------------------------
+
// replaces the successor in the list of bindings of the same id
SfxControllerItem* SfxControllerItem::ChangeItemLink( SfxControllerItem* pNewLink )
@@ -201,7 +201,7 @@ SfxControllerItem* SfxControllerItem::ChangeItemLink( SfxControllerItem* pNewLin
return pOldLink == this ? 0 : pOldLink;
}
-//--------------------------------------------------------------------
+
// changes the id of unbound functions (e.g. for sub-menu-ids)
void SfxControllerItem::SetId( sal_uInt16 nItemId )
@@ -211,7 +211,7 @@ void SfxControllerItem::SetId( sal_uInt16 nItemId )
nId = nItemId;
}
-//--------------------------------------------------------------------
+
// creates a atomic item for a controller without registration.
@@ -223,7 +223,7 @@ SfxControllerItem::SfxControllerItem():
DBG_CTOR(SfxControllerItem, 0);
}
-//--------------------------------------------------------------------
+
// creates a representation of the function nId and registeres it
SfxControllerItem::SfxControllerItem( sal_uInt16 nID, SfxBindings &rBindings ):
@@ -235,7 +235,7 @@ SfxControllerItem::SfxControllerItem( sal_uInt16 nID, SfxBindings &rBindings ):
Bind(nId, &rBindings);
}
-//--------------------------------------------------------------------
+
// unregisteres the item in the bindings
SfxControllerItem::~SfxControllerItem()
@@ -245,7 +245,7 @@ SfxControllerItem::~SfxControllerItem()
DBG_DTOR(SfxControllerItem, 0);
}
-//--------------------------------------------------------------------
+
void SfxControllerItem::StateChanged
(
@@ -278,14 +278,14 @@ void SfxControllerItem::StateChanged
DBG_CHKTHIS(SfxControllerItem, 0);
}
-//--------------------------------------------------------------------
+
void SfxControllerItem::DeleteFloatingWindow()
{
DBG_CHKTHIS(SfxControllerItem, 0);
}
-//--------------------------------------------------------------------
+
void SfxStatusForwarder::StateChanged
(
@@ -298,7 +298,7 @@ void SfxStatusForwarder::StateChanged
pMaster->StateChanged( nSID, eState, pState );
}
-//--------------------------------------------------------------------
+
SfxStatusForwarder::SfxStatusForwarder(
sal_uInt16 nSlotId,
@@ -308,7 +308,7 @@ SfxStatusForwarder::SfxStatusForwarder(
{
}
-//--------------------------------------------------------------------
+
SfxItemState SfxControllerItem::GetItemState
(
@@ -353,7 +353,7 @@ SfxItemState SfxControllerItem::GetItemState
: SFX_ITEM_AVAILABLE;
}
-//--------------------------------------------------------------------
+
SfxMapUnit SfxControllerItem::GetCoreMetric() const
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 61f8ebf89802..4a55580811e3 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -108,7 +108,7 @@ struct SfxObjectBars_Impl
SfxObjectBars_Impl() : nResId(0), nMode(0), pIFace(NULL) {}
};
-//------------------------------------------------------------------
+
struct SfxDispatcher_Impl
{
@@ -155,11 +155,11 @@ struct SfxDispatcher_Impl
std::deque< std::deque<SfxToDo_Impl> > aToDoCopyStack;
};
-//------------------------------------------------------------------
+
#define SFX_FLUSH_TIMEOUT 50
-//--------------------------------------------------------------------
+
/** This method checks if the stack of the SfxDispatchers is flushed, or if
push- or pop- commands are pending.
@@ -238,7 +238,7 @@ sal_Bool SfxDispatcher::IsLocked( sal_uInt16 ) const
return pImp->bLocked;
}
-//--------------------------------------------------------------------
+
sal_Bool SfxDispatcher::IsAppDispatcher() const
/* [Description]
@@ -256,7 +256,7 @@ sal_Bool SfxDispatcher::IsAppDispatcher() const
return !pImp->pFrame;
}
-//--------------------------------------------------------------------
+
int SfxDispatcher::Call_Impl( SfxShell& rShell, const SfxSlot &rSlot, SfxRequest &rReq, sal_Bool bRecord )
/* [Description]
@@ -560,7 +560,7 @@ void SfxDispatcher::Pop
}
}
-//--------------------------------------------------------------------
+
IMPL_LINK_INLINE_START( SfxDispatcher, EventHdl_Impl, void *, pvoid )
@@ -585,7 +585,7 @@ IMPL_LINK_INLINE_START( SfxDispatcher, EventHdl_Impl, void *, pvoid )
}
IMPL_LINK_INLINE_END( SfxDispatcher, EventHdl_Impl, void *, pvoid )
-//--------------------------------------------------------------------
+
sal_Bool SfxDispatcher::CheckVirtualStack( const SfxShell& rShell, sal_Bool bDeep )
/* [Description]
@@ -628,7 +628,7 @@ sal_Bool SfxDispatcher::CheckVirtualStack( const SfxShell& rShell, sal_Bool bDee
return bReturn;
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxDispatcher::GetShellLevel( const SfxShell& rShell )
/* [Description]
@@ -664,7 +664,7 @@ sal_uInt16 SfxDispatcher::GetShellLevel( const SfxShell& rShell )
return USHRT_MAX;
}
-//--------------------------------------------------------------------
+
SfxShell *SfxDispatcher::GetShell(sal_uInt16 nIdx) const
/* [Description]
@@ -686,7 +686,7 @@ SfxShell *SfxDispatcher::GetShell(sal_uInt16 nIdx) const
return 0;
}
-//--------------------------------------------------------------------
+
SfxBindings* SfxDispatcher::GetBindings() const
/* [Description]
@@ -707,7 +707,7 @@ SfxBindings* SfxDispatcher::GetBindings() const
return NULL;
}
-//--------------------------------------------------------------------
+
SfxViewFrame* SfxDispatcher::GetFrame() const
/* [Description]
@@ -721,7 +721,7 @@ SfxViewFrame* SfxDispatcher::GetFrame() const
return pImp->pFrame;
}
-//--------------------------------------------------------------------
+
void SfxDispatcher::DoActivate_Impl( sal_Bool bMDI, SfxViewFrame* /* pOld */ )
/* [Description]
@@ -799,7 +799,7 @@ void SfxDispatcher::DoParentActivate_Impl()
(*(pImp->aStack.rbegin() + i ))->ParentActivate();
}
-//--------------------------------------------------------------------
+
void SfxDispatcher::DoDeactivate_Impl( sal_Bool bMDI, SfxViewFrame* pNew )
/* [Description]
@@ -887,7 +887,7 @@ void SfxDispatcher::DoParentDeactivate_Impl()
(*(pImp->aStack.rbegin() + i))->ParentDeactivate();
}
-//--------------------------------------------------------------------
+
int SfxDispatcher::GetShellAndSlot_Impl
(
sal_uInt16 nSlot, // the searchable Slot-Id
@@ -938,7 +938,7 @@ int SfxDispatcher::GetShellAndSlot_Impl
return sal_False;
}
-//--------------------------------------------------------------------
+
void SfxDispatcher::_Execute
(
SfxShell& rShell, // to the calling <SfxShell>
@@ -987,7 +987,7 @@ void SfxDispatcher::_Execute
Call_Impl( rShell, rSlot, rReq, SFX_CALLMODE_RECORD==(eCallMode&SFX_CALLMODE_RECORD) );
}
-//--------------------------------------------------------------------
+
void MappedPut_Impl( SfxAllItemSet &rSet, const SfxPoolItem &rItem )
/* [Description]
@@ -1005,7 +1005,7 @@ void MappedPut_Impl( SfxAllItemSet &rSet, const SfxPoolItem &rItem )
rSet.Put( rItem, nWhich );
}
-//--------------------------------------------------------------------
+
const SfxSlot* SfxDispatcher::GetSlot( const OUString& rCommand )
{
@@ -1036,7 +1036,7 @@ const SfxSlot* SfxDispatcher::GetSlot( const OUString& rCommand )
return 0;
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxDispatcher::Execute(
sal_uInt16 nSlot,
SfxCallMode nCall,
@@ -1072,7 +1072,7 @@ const SfxPoolItem* SfxDispatcher::Execute(
return 0;
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxDispatcher::Execute
(
sal_uInt16 nSlot, // the Id of the executing function
@@ -1131,7 +1131,7 @@ const SfxPoolItem* SfxDispatcher::Execute
return 0;
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxDispatcher::Execute
(
sal_uInt16 nSlot, // the Id of the executing function
@@ -1157,7 +1157,7 @@ const SfxPoolItem* SfxDispatcher::Execute
return Execute( nSlot, eCall, 0, rArgs );
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxDispatcher::Execute
(
sal_uInt16 nSlot,
@@ -1188,7 +1188,7 @@ const SfxPoolItem* SfxDispatcher::Execute
return 0;
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxDispatcher::Execute
(
sal_uInt16 nSlot, // the Id of the executing function
@@ -1251,7 +1251,7 @@ const SfxPoolItem* SfxDispatcher::Execute
return 0;
}
-//--------------------------------------------------------------------
+
IMPL_LINK( SfxDispatcher, PostMsgHandler, SfxRequest*, pReq )
@@ -1298,7 +1298,7 @@ IMPL_LINK( SfxDispatcher, PostMsgHandler, SfxRequest*, pReq )
delete pReq;
return 0;
}
-//--------------------------------------------------------------------
+
void SfxDispatcher::SetMenu_Impl()
{
#if HAVE_FEATURE_DESKTOP
@@ -1329,7 +1329,7 @@ void SfxDispatcher::SetMenu_Impl()
#endif
}
-//--------------------------------------------------------------------
+
void SfxDispatcher::Update_Impl( sal_Bool bForce )
{
SFX_STACK(SfxDispatcher::Update_Impl);
@@ -1606,7 +1606,7 @@ void SfxDispatcher::_Update_Impl( sal_Bool bUIActive, sal_Bool bIsMDIApp, sal_Bo
}
}
-//--------------------------------------------------------------------
+
void SfxDispatcher::FlushImpl()
/* [Description]
@@ -1756,7 +1756,7 @@ void SfxDispatcher::FlushImpl()
SAL_INFO("sfx.control", "SfxDispatcher(" << this << ")::Flush() done");
}
-//--------------------------------------------------------------------
+
void SfxDispatcher::SetSlotFilter
(
// HACK(hier muss mal ein enum rein) ???
@@ -1817,7 +1817,7 @@ void SfxDispatcher::SetSlotFilter
GetBindings()->InvalidateAll(sal_True);
}
-//--------------------------------------------------------------------
+
extern "C"
#ifdef WNT
int _cdecl
@@ -1830,7 +1830,7 @@ SfxCompareSIDs_Impl( const void* pSmaller, const void* pBigger )
return ( (long) *((sal_uInt16*)pSmaller) ) - ( (long) *((sal_uInt16*)pBigger) );
}
-//--------------------------------------------------------------------
+
sal_Bool SfxDispatcher::IsSlotEnabledByFilter_Impl( sal_uInt16 nSID ) const
/* [Description]
@@ -1862,7 +1862,7 @@ sal_Bool SfxDispatcher::IsSlotEnabledByFilter_Impl( sal_uInt16 nSID ) const
return pImp->bFilterEnabling ? bFound : !bFound;
}
-//--------------------------------------------------------------------
+
sal_Bool SfxDispatcher::_TryIntercept_Impl
(
sal_uInt16 nSlot, // Slot-Id to search for
@@ -2062,7 +2062,7 @@ sal_Bool SfxDispatcher::_FindServer
return sal_False;
}
-//--------------------------------------------------------------------
+
sal_Bool SfxDispatcher::_FillState
(
const SfxSlotServer& rSvr, // <Slot-Server> to query
@@ -2171,7 +2171,7 @@ SfxPopupMenuManager* SfxDispatcher::Popup( sal_uInt16 nConfigId,Window *pWin, co
}
-//----------------------------------------------------------------------
+
void SfxDispatcher::ExecutePopup( sal_uInt16 nConfigId, Window *pWin, const Point *pPos )
{
SfxDispatcher &rDisp = *SFX_APP()->GetDispatcher_Impl();
@@ -2196,14 +2196,14 @@ void SfxDispatcher::ExecutePopup( sal_uInt16 nConfigId, Window *pWin, const Poin
}
}
-//----------------------------------------------------------------------
+
void SfxDispatcher::ExecutePopup( const ResId &rId, Window *pWin, const Point *pPos )
{
Window *pWindow = pWin ? pWin : pImp->pFrame->GetFrame().GetWorkWindow_Impl()->GetWindow();
SfxPopupMenuManager::ExecutePopup( rId, GetFrame(), pPos ? *pPos : pWindow->GetPointerPosPixel(), pWindow );
}
-//--------------------------------------------------------------------
+
void SfxDispatcher::Lock( sal_Bool bLock )
/* [Description]
@@ -2237,7 +2237,7 @@ sal_uInt32 SfxDispatcher::GetObjectBarId( sal_uInt16 nPos ) const
return pImp->aObjBars[nPos].nResId;
}
-//-------------------------------------------------------------------------
+
void SfxDispatcher::HideUI( sal_Bool bHide )
{
sal_Bool bWasHidden = pImp->bNoUI;
@@ -2277,7 +2277,7 @@ sal_Bool SfxDispatcher::GetReadOnly_Impl() const
return pImp->bReadOnly;
}
-//-------------------------------------------------------------------------
+
void SfxDispatcher::SetQuietMode_Impl( sal_Bool bOn )
/* [Description]
diff --git a/sfx2/source/control/minfitem.cxx b/sfx2/source/control/minfitem.cxx
index 02e782fb381c..be60afb26602 100644
--- a/sfx2/source/control/minfitem.cxx
+++ b/sfx2/source/control/minfitem.cxx
@@ -23,7 +23,7 @@
TYPEINIT1(SfxMacroInfoItem, SfxPoolItem);
-// -----------------------------------------------------------------------
+
SfxMacroInfoItem::SfxMacroInfoItem(
sal_uInt16 nWhichId, // Slot-ID
@@ -41,7 +41,7 @@ SfxMacroInfoItem::SfxMacroInfoItem(
{
}
-// -----------------------------------------------------------------------
+
// copy constructor
@@ -55,7 +55,7 @@ SfxMacroInfoItem::SfxMacroInfoItem(const SfxMacroInfoItem& rCopy):
{
}
-// -----------------------------------------------------------------------
+
// op ==
@@ -69,14 +69,14 @@ bool SfxMacroInfoItem::operator==( const SfxPoolItem& rCmp) const
aCommentText == ((const SfxMacroInfoItem&)rCmp).aCommentText;
}
-// -----------------------------------------------------------------------
+
SfxPoolItem *SfxMacroInfoItem::Clone( SfxItemPool *) const
{
return new SfxMacroInfoItem(*this);
}
-// -----------------------------------------------------------------------
+
OUString SfxMacroInfoItem::GetQualifiedName() const
{
diff --git a/sfx2/source/control/msg.cxx b/sfx2/source/control/msg.cxx
index 855d4f1942e3..a053010fcb10 100644
--- a/sfx2/source/control/msg.cxx
+++ b/sfx2/source/control/msg.cxx
@@ -41,7 +41,7 @@ SfxSlotKind SfxSlot::GetKind() const
return (SfxSlotKind) SFX_KIND_ATTR;
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxSlot::GetWhich( const SfxItemPool &rPool ) const
{
diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx
index ed62cb6c79d7..f99e8978fa8c 100644
--- a/sfx2/source/control/msgpool.cxx
+++ b/sfx2/source/control/msgpool.cxx
@@ -141,7 +141,7 @@ const SfxSlot* SfxSlotPool::GetSlot( sal_uInt16 nId )
return _pParentPool ? _pParentPool->GetSlot( nId ) : 0;
}
-//--------------------------------------------------------------------
+
// skips to the next group
@@ -186,7 +186,7 @@ OUString SfxSlotPool::SeekGroup( sal_uInt16 nNo )
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxSlotPool::GetGroupCount()
{
@@ -194,7 +194,7 @@ sal_uInt16 SfxSlotPool::GetGroupCount()
}
-//--------------------------------------------------------------------
+
// internal search loop
@@ -240,7 +240,7 @@ const SfxSlot* SfxSlotPool::SeekSlot( sal_uInt16 nStartInterface )
return 0;
}
-//--------------------------------------------------------------------
+
// skips to the next func in the current group
const SfxSlot* SfxSlotPool::NextSlot()
@@ -285,9 +285,9 @@ const SfxSlot* SfxSlotPool::NextSlot()
}
-//--------------------------------------------------------------------
+
// Query SlotName with help text
-//--------------------------------------------------------------------
+
SfxInterface* SfxSlotPool::FirstInterface()
{
@@ -298,7 +298,7 @@ SfxInterface* SfxSlotPool::FirstInterface()
}
-//--------------------------------------------------------------------
+
const SfxSlot* SfxSlotPool::GetUnoSlot( const OUString& rName )
{
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index 9715bdb8ed18..dd42fcf68db8 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -286,7 +286,7 @@ void SfxInterface::SetSlotMap( SfxSlot& rSlotMap, sal_uInt16 nSlotCount )
#endif
}
-//--------------------------------------------------------------------
+
SfxInterface::~SfxInterface()
{
@@ -303,7 +303,7 @@ SfxInterface::~SfxInterface()
}
}
-//--------------------------------------------------------------------
+
// searches for the specified func
@@ -341,7 +341,7 @@ const SfxSlot* SfxInterface::GetSlot( const OUString& rCommand ) const
return pGenoType ? pGenoType->GetSlot( aCommand ) : NULL;
}
-//--------------------------------------------------------------------
+
const SfxSlot* SfxInterface::GetRealSlot( const SfxSlot *pSlot ) const
{
@@ -361,7 +361,7 @@ const SfxSlot* SfxInterface::GetRealSlot( const SfxSlot *pSlot ) const
return pSlot->pLinkedSlot;
}
-//--------------------------------------------------------------------
+
const SfxSlot* SfxInterface::GetRealSlot( sal_uInt16 nSlotId ) const
{
@@ -382,7 +382,7 @@ const SfxSlot* SfxInterface::GetRealSlot( sal_uInt16 nSlotId ) const
return pSlot->pLinkedSlot;
}
-//--------------------------------------------------------------------
+
void SfxInterface::RegisterPopupMenu( const ResId& rResId )
{
@@ -391,7 +391,7 @@ void SfxInterface::RegisterPopupMenu( const ResId& rResId )
pImpData->aPopupRes = rResId;
}
-//--------------------------------------------------------------------
+
void SfxInterface::RegisterObjectBar( sal_uInt16 nPos, const ResId& rResId,
const OUString *pStr )
@@ -451,7 +451,7 @@ const ResId& SfxInterface::GetObjectBarResId( sal_uInt16 nNo ) const
return pImpData->aObjectBars[nNo]->aResId;
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxInterface::GetObjectBarPos( sal_uInt16 nNo ) const
@@ -473,7 +473,7 @@ sal_uInt16 SfxInterface::GetObjectBarPos( sal_uInt16 nNo ) const
return pImpData->aObjectBars[nNo]->nPos;
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxInterface::GetObjectBarCount() const
@@ -484,7 +484,7 @@ sal_uInt16 SfxInterface::GetObjectBarCount() const
return pImpData->aObjectBars.size();
}
-//--------------------------------------------------------------------
+
void SfxInterface::RegisterChildWindow(sal_uInt16 nId, sal_Bool bContext, const OUString* pChildWinName)
{
RegisterChildWindow( nId, bContext, 0UL, pChildWinName );
@@ -542,7 +542,7 @@ sal_uInt32 SfxInterface::GetChildWindowFeature (sal_uInt16 nNo) const
return pImpData->aChildWindows[nNo]->nFeature;
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxInterface::GetChildWindowCount() const
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index 6b453952cf20..3d364d23dc8e 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -131,7 +131,7 @@ SfxRequest::~SfxRequest()
DeleteItemOnIdle(pImp->pRetVal);
delete pImp;
}
-//--------------------------------------------------------------------
+
SfxRequest::SfxRequest
@@ -162,7 +162,7 @@ SfxRequest::SfxRequest
else
pImp->SetPool( rOrig.pImp->pPool );
}
-//--------------------------------------------------------------------
+
SfxRequest::SfxRequest
@@ -210,7 +210,7 @@ SfxRequest::SfxRequest
#endif
}
-//--------------------------------------------------------------------
+
SfxRequest::SfxRequest
@@ -258,7 +258,7 @@ SfxRequest::SfxRequest
TransformParameters( nSlot, rArgs, *pArgs, pSlot );
}
-//-----------------------------------------------------------------------
+
SfxRequest::SfxRequest
(
@@ -282,21 +282,21 @@ SfxRequest::SfxRequest
pImp->nCallMode = nMode;
pImp->bUseTarget = sal_False;
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxRequest::GetCallMode() const
{
return pImp->nCallMode;
}
-//--------------------------------------------------------------------
+
sal_Bool SfxRequest::IsSynchronCall() const
{
return SFX_CALLMODE_SYNCHRON == ( SFX_CALLMODE_SYNCHRON & pImp->nCallMode );
}
-//--------------------------------------------------------------------
+
void SfxRequest::SetSynchronCall( sal_Bool bSynchron )
{
@@ -317,7 +317,7 @@ const SfxItemSet* SfxRequest::GetInternalArgs_Impl() const
return pImp->pInternalArgs;
}
-//--------------------------------------------------------------------
+
void SfxRequest_Impl::Record
@@ -375,7 +375,7 @@ void SfxRequest_Impl::Record
}
}
-//--------------------------------------------------------------------
+
void SfxRequest::Record_Impl
(
@@ -400,7 +400,7 @@ void SfxRequest::Record_Impl
pImp->pViewFrame = pViewFrame;
}
-//--------------------------------------------------------------------
+
void SfxRequest::SetArgs( const SfxAllItemSet& rArgs )
{
@@ -409,7 +409,7 @@ void SfxRequest::SetArgs( const SfxAllItemSet& rArgs )
pImp->SetPool( pArgs->GetPool() );
}
-//--------------------------------------------------------------------
+
void SfxRequest::AppendItem(const SfxPoolItem &rItem)
{
@@ -418,7 +418,7 @@ void SfxRequest::AppendItem(const SfxPoolItem &rItem)
pArgs->Put(rItem, rItem.Which());
}
-//--------------------------------------------------------------------
+
void SfxRequest::RemoveItem( sal_uInt16 nID )
{
@@ -430,7 +430,7 @@ void SfxRequest::RemoveItem( sal_uInt16 nID )
}
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxRequest::GetArg
(
@@ -443,7 +443,7 @@ const SfxPoolItem* SfxRequest::GetArg
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxRequest::GetItem
(
const SfxItemSet* pArgs,
@@ -509,7 +509,7 @@ const SfxPoolItem* SfxRequest::GetItem
return 0;
}
-//--------------------------------------------------------------------
+
void SfxRequest::SetReturnValue(const SfxPoolItem &rItem)
{
@@ -519,14 +519,14 @@ void SfxRequest::SetReturnValue(const SfxPoolItem &rItem)
pImp->pRetVal = rItem.Clone();
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxRequest::GetReturnValue() const
{
return pImp->pRetVal;
}
-//--------------------------------------------------------------------
+
void SfxRequest::Done
(
@@ -587,7 +587,7 @@ void SfxRequest::Done
}
}
-//--------------------------------------------------------------------
+
void SfxRequest::Done( sal_Bool bRelease )
@@ -598,7 +598,7 @@ void SfxRequest::Done( sal_Bool bRelease )
DELETEZ( pArgs );
}
-//--------------------------------------------------------------------
+
void SfxRequest::ForgetAllArgs()
{
@@ -606,14 +606,14 @@ void SfxRequest::ForgetAllArgs()
DELETEZ( pImp->pInternalArgs );
}
-//--------------------------------------------------------------------
+
sal_Bool SfxRequest::IsCancelled() const
{
return pImp->bCancelled;
}
-//--------------------------------------------------------------------
+
void SfxRequest::Cancel()
@@ -629,7 +629,7 @@ void SfxRequest::Cancel()
DELETEZ( pArgs );
}
-//--------------------------------------------------------------------
+
void SfxRequest::Ignore()
@@ -651,7 +651,7 @@ void SfxRequest::Ignore()
pImp->bIgnored = sal_True;
}
-//--------------------------------------------------------------------
+
void SfxRequest::Done_Impl
(
@@ -766,7 +766,7 @@ void SfxRequest::Done_Impl
}
}
-//--------------------------------------------------------------------
+
sal_Bool SfxRequest::IsDone() const
@@ -789,7 +789,7 @@ sal_Bool SfxRequest::IsDone() const
return pImp->bDone;
}
-//--------------------------------------------------------------------
+
com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > SfxRequest::GetMacroRecorder( SfxViewFrame* pView )
@@ -827,7 +827,7 @@ sal_Bool SfxRequest::HasMacroRecorder( SfxViewFrame* pView )
}
-//--------------------------------------------------------------------
+
sal_Bool SfxRequest::IsAPI() const
@@ -841,19 +841,19 @@ sal_Bool SfxRequest::IsAPI() const
return SFX_CALLMODE_API == ( SFX_CALLMODE_API & pImp->nCallMode );
}
-//--------------------------------------------------------------------
+
void SfxRequest::SetModifier( sal_uInt16 nModi )
{
pImp->nModifier = nModi;
}
-//--------------------------------------------------------------------
+
sal_uInt16 SfxRequest::GetModifier() const
{
return pImp->nModifier;
}
-//--------------------------------------------------------------------
+
void SfxRequest::AllowRecording( sal_Bool bSet )
{
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx
index 84d0160ca358..44d73a8a157b 100644
--- a/sfx2/source/control/shell.cxx
+++ b/sfx2/source/control/shell.cxx
@@ -141,7 +141,7 @@ SfxShell::SfxShell()
pImp->nDisableFlags = 0;
}
-//-------------------------------------------------------------------------
+
SfxShell::SfxShell( SfxViewShell *pViewSh )
@@ -166,7 +166,7 @@ SfxShell::SfxShell( SfxViewShell *pViewSh )
pImp->bActive = sal_False;
}
-//--------------------------------------------------------------------
+
SfxShell::~SfxShell()
@@ -184,7 +184,7 @@ SfxShell::~SfxShell()
delete pImp;
}
-//--------------------------------------------------------------------
+
void SfxShell::SetName( const OUString &rName )
@@ -198,7 +198,7 @@ void SfxShell::SetName( const OUString &rName )
pImp->aObjectName = rName;
}
-//--------------------------------------------------------------------
+
const OUString& SfxShell::GetName() const
@@ -212,7 +212,7 @@ const OUString& SfxShell::GetName() const
return pImp->aObjectName;
}
-//--------------------------------------------------------------------
+
SfxDispatcher* SfxShell::GetDispatcher() const
@@ -229,7 +229,7 @@ SfxDispatcher* SfxShell::GetDispatcher() const
return pImp->pFrame ? pImp->pFrame->GetDispatcher() : 0;
}
-//--------------------------------------------------------------------
+
SfxViewShell* SfxShell::GetViewShell() const
@@ -244,7 +244,7 @@ SfxViewShell* SfxShell::GetViewShell() const
return pImp->pViewSh;
}
-//--------------------------------------------------------------------
+
SfxViewFrame* SfxShell::GetFrame() const
@@ -277,7 +277,7 @@ SfxViewFrame* SfxShell::GetFrame() const
return 0;
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxShell::GetItem
(
@@ -306,7 +306,7 @@ const SfxPoolItem* SfxShell::GetItem
return 0;
}
-//--------------------------------------------------------------------
+
void SfxShell::PutItem
(
@@ -370,7 +370,7 @@ void SfxShell::PutItem
}
}
-//--------------------------------------------------------------------
+
SfxInterface* SfxShell::GetInterface() const
@@ -388,7 +388,7 @@ SfxInterface* SfxShell::GetInterface() const
return GetStaticInterface();
}
-//--------------------------------------------------------------------
+
::svl::IUndoManager* SfxShell::GetUndoManager()
@@ -405,7 +405,7 @@ SfxInterface* SfxShell::GetInterface() const
return pUndoMgr;
}
-//--------------------------------------------------------------------
+
void SfxShell::SetUndoManager( ::svl::IUndoManager *pNewUndoMgr )
@@ -435,7 +435,7 @@ void SfxShell::SetUndoManager( ::svl::IUndoManager *pNewUndoMgr )
officecfg::Office::Common::Undo::Steps::get());
}
-//--------------------------------------------------------------------
+
SfxRepeatTarget* SfxShell::GetRepeatTarget() const
@@ -456,7 +456,7 @@ SfxRepeatTarget* SfxShell::GetRepeatTarget() const
return pImp->pRepeatTarget;
}
-//--------------------------------------------------------------------
+
void SfxShell::SetRepeatTarget( SfxRepeatTarget *pTarget )
@@ -478,7 +478,7 @@ void SfxShell::SetRepeatTarget( SfxRepeatTarget *pTarget )
pImp->pRepeatTarget = pTarget;
}
-//--------------------------------------------------------------------
+
void SfxShell::Invalidate
(
@@ -548,7 +548,7 @@ void SfxShell::Invalidate_Impl( SfxBindings& rBindings, sal_uInt16 nId )
}
}
-//--------------------------------------------------------------------
+
void SfxShell::DoActivate_Impl( SfxViewFrame *pFrame, sal_Bool bMDI )
@@ -585,7 +585,7 @@ void SfxShell::DoActivate_Impl( SfxViewFrame *pFrame, sal_Bool bMDI )
Activate(bMDI);
}
-//--------------------------------------------------------------------
+
void SfxShell::DoDeactivate_Impl( SfxViewFrame *pFrame, sal_Bool bMDI )
@@ -623,14 +623,14 @@ void SfxShell::DoDeactivate_Impl( SfxViewFrame *pFrame, sal_Bool bMDI )
Deactivate(bMDI);
}
-//--------------------------------------------------------------------
+
sal_Bool SfxShell::IsActive() const
{
return pImp->bActive;
}
-//--------------------------------------------------------------------
+
void SfxShell::Activate
(
@@ -661,7 +661,7 @@ void SfxShell::Activate
BroadcastContextForActivation(true);
}
-//--------------------------------------------------------------------
+
void SfxShell::Deactivate
(
@@ -712,7 +712,7 @@ void SfxShell::ParentActivate
{
}
-//--------------------------------------------------------------------
+
void SfxShell::ParentDeactivate
(
@@ -732,7 +732,7 @@ void SfxShell::ParentDeactivate
{
}
-//--------------------------------------------------------------------
+
ResMgr* SfxShell::GetResMgr() const
@@ -747,7 +747,7 @@ ResMgr* SfxShell::GetResMgr() const
return GetInterface()->GetResMgr();
}
-//--------------------------------------------------------------------
+
bool SfxShell::CanExecuteSlot_Impl( const SfxSlot &rSlot )
@@ -766,7 +766,7 @@ bool SfxShell::CanExecuteSlot_Impl( const SfxSlot &rSlot )
return aSet.GetItemState(nId) != SFX_ITEM_DISABLED;
}
-//--------------------------------------------------------------------
+
long ShellCall_Impl( void* pObj, void* pArg )
{
@@ -779,7 +779,7 @@ long ShellCall_Impl( void* pObj, void* pArg )
Asynchronous ExecuteSlot for the RELOAD
*/
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxShell::ExecuteSlot( SfxRequest& rReq, sal_Bool bAsync )
{
if( !bAsync )
@@ -851,7 +851,7 @@ const SfxPoolItem* SfxShell::ExecuteSlot
return rReq.GetReturnValue();
}
-//--------------------------------------------------------------------
+
const SfxPoolItem* SfxShell::GetSlotState
(
@@ -960,7 +960,7 @@ const SfxPoolItem* SfxShell::GetSlotState
return pRetItem;
}
-//--------------------------------------------------------------------
+
SFX_EXEC_STUB(SfxShell, VerbExec)
SFX_STATE_STUB(SfxShell, VerbState)
@@ -1036,14 +1036,14 @@ void SfxShell::SetVerbs(const com::sun::star::uno::Sequence < com::sun::star::em
}
}
-//--------------------------------------------------------------------
+
const com::sun::star::uno::Sequence < com::sun::star::embed::VerbDescriptor >& SfxShell::GetVerbs() const
{
return pImp->aVerbList;
}
-//--------------------------------------------------------------------
+
void SfxShell::VerbExec(SfxRequest& rReq)
{
@@ -1073,13 +1073,13 @@ void SfxShell::VerbExec(SfxRequest& rReq)
}
}
-//--------------------------------------------------------------------
+
void SfxShell::VerbState(SfxItemSet& )
{
}
-//--------------------------------------------------------------------
+
const SfxSlot* SfxShell::GetVerbSlot_Impl(sal_uInt16 nId) const
{
@@ -1095,21 +1095,21 @@ const SfxSlot* SfxShell::GetVerbSlot_Impl(sal_uInt16 nId) const
return 0;
}
-//--------------------------------------------------------------------
+
void SfxShell::SetHelpId(sal_uIntPtr nId)
{
pImp->nHelpId = nId;
}
-//--------------------------------------------------------------------
+
sal_uIntPtr SfxShell::GetHelpId() const
{
return pImp->nHelpId;
}
-//--------------------------------------------------------------------
+
SfxObjectShell* SfxShell::GetObjectShell()
{
@@ -1119,7 +1119,7 @@ SfxObjectShell* SfxShell::GetObjectShell()
return NULL;
}
-//--------------------------------------------------------------------
+
sal_Bool SfxShell::HasUIFeature( sal_uInt32 )
{
diff --git a/sfx2/source/control/sorgitm.cxx b/sfx2/source/control/sorgitm.cxx
index 2114ffaf1551..e48175ac7840 100644
--- a/sfx2/source/control/sorgitm.cxx
+++ b/sfx2/source/control/sorgitm.cxx
@@ -24,7 +24,7 @@
TYPEINIT1_AUTOFACTORY(SfxScriptOrganizerItem, SfxStringItem);
-//------------------------------------------------------------------------
+
SfxScriptOrganizerItem::SfxScriptOrganizerItem() :
@@ -33,7 +33,7 @@ SfxScriptOrganizerItem::SfxScriptOrganizerItem() :
{
}
-//------------------------------------------------------------------------
+
SfxScriptOrganizerItem::SfxScriptOrganizerItem( const SfxScriptOrganizerItem& rItem ) :
@@ -44,20 +44,20 @@ SfxScriptOrganizerItem::SfxScriptOrganizerItem( const SfxScriptOrganizerItem& rI
{
}
-//------------------------------------------------------------------------
+
SfxScriptOrganizerItem::~SfxScriptOrganizerItem()
{
}
-//------------------------------------------------------------------------
+
SfxPoolItem* SfxScriptOrganizerItem::Clone( SfxItemPool * ) const
{
return new SfxScriptOrganizerItem( *this );
}
-//------------------------------------------------------------------------
+
bool SfxScriptOrganizerItem::operator==( const SfxPoolItem& rItem) const
{
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx
index 1c3644205abb..bd78e889c158 100644
--- a/sfx2/source/control/statcach.cxx
+++ b/sfx2/source/control/statcach.cxx
@@ -58,7 +58,7 @@ using namespace ::com::sun::star::util;
DBG_NAME(SfxStateCache)
DBG_NAME(SfxStateCacheSetState)
-//-----------------------------------------------------------------------------
+
BindDispatch_Impl::BindDispatch_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > & rDisp, const ::com::sun::star::util::URL& rURL, SfxStateCache *pStateCache, const SfxSlot* pS )
: xDisp( rDisp )
, aURL( rURL )
@@ -184,7 +184,7 @@ void BindDispatch_Impl::Dispatch( uno::Sequence < beans::PropertyValue > aProps,
}
}
-//--------------------------------------------------------------------
+
// This constructor for an invalid cache that is updated in the first request.
SfxStateCache::SfxStateCache( sal_uInt16 nFuncId ):
@@ -202,7 +202,7 @@ SfxStateCache::SfxStateCache( sal_uInt16 nFuncId ):
bItemDirty = sal_True;
}
-//--------------------------------------------------------------------
+
// The Destructor checks by assertion, even if controllers are registered.
SfxStateCache::~SfxStateCache()
@@ -218,7 +218,7 @@ SfxStateCache::~SfxStateCache()
}
}
-//--------------------------------------------------------------------
+
// invalidates the cache (next request will force update)
void SfxStateCache::Invalidate( sal_Bool bWithMsg )
{
@@ -235,7 +235,7 @@ void SfxStateCache::Invalidate( sal_Bool bWithMsg )
}
}
-//--------------------------------------------------------------------
+
// gets the corresponding function from the dispatcher or the cache
const SfxSlotServer* SfxStateCache::GetSlotServer( SfxDispatcher &rDispat , const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > & xProv )
@@ -329,7 +329,7 @@ const SfxSlotServer* SfxStateCache::GetSlotServer( SfxDispatcher &rDispat , cons
}
-//--------------------------------------------------------------------
+
// Set Status in all Controllers
@@ -351,7 +351,7 @@ void SfxStateCache::SetState
SetState_Impl( eState, pState, bMaybeDirty );
}
-//--------------------------------------------------------------------
+
void SfxStateCache::SetVisibleState( sal_Bool bShow )
{
@@ -397,7 +397,7 @@ void SfxStateCache::SetVisibleState( sal_Bool bShow )
}
}
-//--------------------------------------------------------------------
+
void SfxStateCache::SetState_Impl
(
@@ -462,7 +462,7 @@ void SfxStateCache::SetState_Impl
}
-//--------------------------------------------------------------------
+
// Set old status again in all the controllers
void SfxStateCache::SetCachedState( sal_Bool bAlways )
@@ -496,7 +496,7 @@ void SfxStateCache::SetCachedState( sal_Bool bAlways )
}
-//--------------------------------------------------------------------
+
// Destroy FloatingWindows in all Controls with this Id
void SfxStateCache::DeleteFloatingWindows()
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index a9004590e754..da8115692b92 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -299,7 +299,7 @@ void SAL_CALL SfxStatusDispatcher::removeStatusListener( const ::com::sun::star:
aListeners.removeInterface( aURL.Complete, aListener );
}
-//-------------------------------------------------------------------------
+
// XUnoTunnel
sal_Int64 SAL_CALL SfxOfficeDispatch::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException)
{