diff options
author | J. Graeme Lingard <jgraeme+git@gmail.com> | 2010-11-20 17:34:37 +0000 |
---|---|---|
committer | J. Graeme Lingard <jgraeme+git@gmail.com> | 2010-11-20 17:34:37 +0000 |
commit | e5cedfc83a548e5554e79cba141665f07ada96b5 (patch) | |
tree | ed67b6dafed54285e39dc91686bfa8e133d775e6 /sd | |
parent | 07d1d90f7ae732c362c1a59f97a89156ae6ebd70 (diff) |
Remove empty comments
Diffstat (limited to 'sd')
32 files changed, 2 insertions, 387 deletions
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx index 2d53d55b0787..05aa502d67d6 100644 --- a/sd/source/core/drawdoc2.cxx +++ b/sd/source/core/drawdoc2.cxx @@ -209,49 +209,24 @@ USHORT SdDrawDocument::GetPageByName(const String& rPgName, BOOL& rbIsMasterPage return nPageNum; } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - SdPage* SdDrawDocument::GetSdPage(USHORT nPgNum, PageKind ePgKind) const { // #109538# return mpDrawPageListWatcher->GetSdPage(ePgKind, sal_uInt32(nPgNum)); } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - USHORT SdDrawDocument::GetSdPageCount(PageKind ePgKind) const { // #109538# return (sal_uInt16)mpDrawPageListWatcher->GetSdPageCount(ePgKind); } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - SdPage* SdDrawDocument::GetMasterSdPage(USHORT nPgNum, PageKind ePgKind) { // #109538# return mpMasterPageListWatcher->GetSdPage(ePgKind, sal_uInt32(nPgNum)); } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - USHORT SdDrawDocument::GetMasterSdPageCount(PageKind ePgKind) const { // #109538# @@ -1100,13 +1075,6 @@ SdAnimationInfo* SdDrawDocument::GetShapeUserData(SdrObject& rObject, bool bCrea return pRet; } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - SdIMapInfo* SdDrawDocument::GetIMapInfo( SdrObject* pObject ) const { DBG_ASSERT(pObject, "ohne Objekt keine IMapInfo"); @@ -1127,13 +1095,6 @@ SdIMapInfo* SdDrawDocument::GetIMapInfo( SdrObject* pObject ) const return pIMapInfo; } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - IMapObject* SdDrawDocument::GetHitIMapObject( SdrObject* pObj, const Point& rWinPoint, const ::Window& /* rCmpWnd */ ) diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx index 22270930ed28..ee87e41b5ecf 100644 --- a/sd/source/core/drawdoc4.cxx +++ b/sd/source/core/drawdoc4.cxx @@ -1374,12 +1374,6 @@ void SdDrawDocument::SetTextDefaults() const pItemPool->SetPoolDefaultItem( aNumBulletItem ); } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - ::com::sun::star::text::WritingMode SdDrawDocument::GetDefaultWritingMode() const { const SfxPoolItem* pItem = ( pItemPool ? pItemPool->GetPoolDefaultItem( EE_PARA_WRITINGDIR ) : NULL ); diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index 16469e7b8d44..936edfaf5233 100644 --- a/sd/source/core/sdpage.cxx +++ b/sd/source/core/sdpage.cxx @@ -1710,12 +1710,6 @@ void SdPage::onRemoveObject( SdrObject* pObject ) } } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void SdPage::SetSize(const Size& aSize) { Size aOldSize = GetSize(); @@ -1740,13 +1734,6 @@ void SdPage::SetSize(const Size& aSize) } } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void SdPage::SetBorder(INT32 nLft, INT32 nUpp, INT32 nRgt, INT32 nLwr) { if (nLft != GetLftBorder() || nUpp != GetUppBorder() || @@ -1756,13 +1743,6 @@ void SdPage::SetBorder(INT32 nLft, INT32 nUpp, INT32 nRgt, INT32 nLwr) } } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void SdPage::SetLftBorder(INT32 nBorder) { if (nBorder != GetLftBorder() ) @@ -1771,13 +1751,6 @@ void SdPage::SetLftBorder(INT32 nBorder) } } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void SdPage::SetRgtBorder(INT32 nBorder) { if (nBorder != GetRgtBorder() ) @@ -1786,13 +1759,6 @@ void SdPage::SetRgtBorder(INT32 nBorder) } } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void SdPage::SetUppBorder(INT32 nBorder) { if (nBorder != GetUppBorder() ) @@ -1801,13 +1767,6 @@ void SdPage::SetUppBorder(INT32 nBorder) } } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void SdPage::SetLwrBorder(INT32 nBorder) { if (nBorder != GetLwrBorder() ) @@ -2644,23 +2603,11 @@ const String& SdPage::GetName() const return maCreatedPageName; } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void SdPage::SetOrientation( Orientation eOrient) { meOrientation = eOrient; } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - Orientation SdPage::GetOrientation() const { return meOrientation; diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx index 6c0e4de2d3f9..45b205ac94db 100644 --- a/sd/source/filter/html/pubdlg.cxx +++ b/sd/source/filter/html/pubdlg.cxx @@ -1717,10 +1717,6 @@ BOOL SdPublishingDlg::Save() // ********************************************************************* // SdDesignNameDlg Methoden // ********************************************************************* - -// ===================================================================== -// -// ===================================================================== SdDesignNameDlg::SdDesignNameDlg(Window* pWindow, const String& aName): ModalDialog (pWindow, SdResId( DLG_DESIGNNAME )), m_aEdit (this, SdResId(EDT_NAME)), @@ -1733,17 +1729,11 @@ SdDesignNameDlg::SdDesignNameDlg(Window* pWindow, const String& aName): m_aBtnOK.Enable(aName.Len() != 0); } -// ===================================================================== -// -// ===================================================================== String SdDesignNameDlg::GetDesignName() { return m_aEdit.GetText(); } -// ===================================================================== -// -// ===================================================================== IMPL_LINK( SdDesignNameDlg, ModifyHdl, Edit*, EMPTYARG ) { m_aBtnOK.Enable(m_aEdit.GetText().Len() != 0); diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 2941fd24ef87..a62f28e38a01 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -824,9 +824,6 @@ void CustomAnimationPane::updateControls() mpPBPropertyMore->Enable( FALSE ); } - // - // --- - // USHORT nPos = 0xffff; sal_Int16 nNodeType = pEffect->getNodeType(); @@ -1372,8 +1369,6 @@ STLPropertySet* CustomAnimationPane::createSelectionSet() addValue( pSet, nHandleTrigger, makeAny( pIS->getTriggerShape() ) ); } - // - CustomAnimationPresetPtr pDescriptor = rPresets.getEffectDescriptor( pEffect->getPresetId() ); if( pDescriptor.get() ) { diff --git a/sd/source/ui/annotations/annotationmanagerimpl.hxx b/sd/source/ui/annotations/annotationmanagerimpl.hxx index cf0cd20a9163..0a31dfa0d04e 100644 --- a/sd/source/ui/annotations/annotationmanagerimpl.hxx +++ b/sd/source/ui/annotations/annotationmanagerimpl.hxx @@ -70,7 +70,6 @@ public: virtual void SAL_CALL notifyEvent( const ::com::sun::star::document::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException); - // void ExecuteAnnotation (SfxRequest& rRequest); void GetAnnotationState (SfxItemSet& rItemSet); diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx index fe4d0f07ec45..ca089bd3838a 100644 --- a/sd/source/ui/app/sdmod.cxx +++ b/sd/source/ui/app/sdmod.cxx @@ -307,10 +307,6 @@ SvStorageStreamRef SdModule::GetOptionStream( const String& rOptionName, return xStm; } -/************************************************************************* -|* -\************************************************************************/ - SvNumberFormatter* SdModule::GetNumberFormatter() { if( !pNumberFormatter ) @@ -319,10 +315,6 @@ SvNumberFormatter* SdModule::GetNumberFormatter() return pNumberFormatter; } -/************************************************************************* -|* -\************************************************************************/ - OutputDevice* SdModule::GetVirtualRefDevice (void) { return mpVirtualRefDevice; diff --git a/sd/source/ui/dlg/LayerTabBar.cxx b/sd/source/ui/dlg/LayerTabBar.cxx index aafacced28b1..7a72024a71fb 100644 --- a/sd/source/ui/dlg/LayerTabBar.cxx +++ b/sd/source/ui/dlg/LayerTabBar.cxx @@ -97,20 +97,12 @@ LayerTabBar::~LayerTabBar() { } -/************************************************************************* -|* -\************************************************************************/ - void LayerTabBar::Select() { SfxDispatcher* pDispatcher = pDrViewSh->GetViewFrame()->GetDispatcher(); pDispatcher->Execute(SID_SWITCHLAYER, SFX_CALLMODE_ASYNCHRON); } -/************************************************************************* -|* -\************************************************************************/ - void LayerTabBar::MouseButtonDown(const MouseEvent& rMEvt) { BOOL bSetPageID=FALSE; @@ -144,10 +136,6 @@ void LayerTabBar::MouseButtonDown(const MouseEvent& rMEvt) TabBar::MouseButtonDown(rMEvt); } -/************************************************************************* -|* -\************************************************************************/ - void LayerTabBar::DoubleClick() { if (GetCurPageId() != 0) @@ -203,10 +191,6 @@ sal_Int8 LayerTabBar::ExecuteDrop( const ExecuteDropEvent& rEvt ) } -/************************************************************************* -|* -\************************************************************************/ - void LayerTabBar::Command(const CommandEvent& rCEvt) { if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU ) @@ -216,10 +200,6 @@ void LayerTabBar::Command(const CommandEvent& rCEvt) } } - -/************************************************************************* -|* -\************************************************************************/ long LayerTabBar::StartRenaming() { BOOL bOK = TRUE; @@ -250,10 +230,6 @@ long LayerTabBar::StartRenaming() return(bOK); } -/************************************************************************* -|* -\************************************************************************/ - long LayerTabBar::AllowRenaming() { BOOL bOK = TRUE; @@ -295,10 +271,6 @@ long LayerTabBar::AllowRenaming() return(bOK); } -/************************************************************************* -|* -\************************************************************************/ - void LayerTabBar::EndRenaming() { if( !IsEditModeCanceled() ) @@ -348,11 +320,6 @@ void LayerTabBar::EndRenaming() } } - -/************************************************************************* -|* -\************************************************************************/ - void LayerTabBar::ActivatePage() { if ( /*IsInSwitching*/ 1 && pDrViewSh!=NULL) diff --git a/sd/source/ui/dlg/dlgfield.cxx b/sd/source/ui/dlg/dlgfield.cxx index 9a56a8c91d28..a9c50a6da310 100644 --- a/sd/source/ui/dlg/dlgfield.cxx +++ b/sd/source/ui/dlg/dlgfield.cxx @@ -184,12 +184,6 @@ SvxFieldData* SdModifyFieldDlg::GetField() return( pNewField ); } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void SdModifyFieldDlg::FillFormatList() { LanguageType eLangType = maLbLanguage.GetSelectLanguage(); diff --git a/sd/source/ui/dlg/gluectrl.cxx b/sd/source/ui/dlg/gluectrl.cxx index c906623d9e28..42bf9db12f49 100644 --- a/sd/source/ui/dlg/gluectrl.cxx +++ b/sd/source/ui/dlg/gluectrl.cxx @@ -203,12 +203,6 @@ void SdTbxCtlGlueEscDir::StateChanged( USHORT nSId, SfxToolBoxControl::StateChanged( nSId, eState, pState ); } -/************************************************************************* -|* -|* No Comment -|* -\************************************************************************/ - Window* SdTbxCtlGlueEscDir::CreateItemWindow( Window *pParent ) { if( GetSlotId() == SID_GLUE_ESCDIR ) diff --git a/sd/source/ui/dlg/morphdlg.cxx b/sd/source/ui/dlg/morphdlg.cxx index 78b52dcfe915..1e3a1c8c9205 100644 --- a/sd/source/ui/dlg/morphdlg.cxx +++ b/sd/source/ui/dlg/morphdlg.cxx @@ -50,26 +50,12 @@ namespace sd { - -/******************************************************************************/ - - #define FADE_STEP "FadeSteps" #define FADE_ATTRIB "FadeAttributes" #define FADE_ORIENT "FadeOrientation" #define FADE_TRUE "true" #define FADE_FALSE "false" - -/******************************************************************************/ - - -/****************************************************************************** -|* -|* -|* -\******************************************************************************/ - MorphDlg::MorphDlg( ::Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2 ) : ModalDialog ( pParent, SdResId( DLG_MORPH ) ), aGrpPreset ( this, SdResId( GRP_PRESET ) ), @@ -103,24 +89,10 @@ MorphDlg::MorphDlg( ::Window* pParent, const SdrObject* pObj1, const SdrObject* } } - -/****************************************************************************** -|* -|* -|* -\******************************************************************************/ - MorphDlg::~MorphDlg() { } - -/****************************************************************************** -|* -|* -|* -\******************************************************************************/ - void MorphDlg::LoadSettings() { SvStorageStreamRef xIStm( SD_MOD()->GetOptionStream( UniString::CreateFromAscii( diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx index 4daa384e68a3..18a880a0874c 100644 --- a/sd/source/ui/dlg/navigatr.cxx +++ b/sd/source/ui/dlg/navigatr.cxx @@ -715,7 +715,6 @@ void SdNavigatorWin::RefreshDocumentLB( const String* pDocName ) maLbDocs.InsertEntry( aStr, LISTBOX_APPEND ); - // if( pDocShell == pCurrentDocShell ) pInfo->SetActive(); else diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index ca37e6a6ab2f..69cee3940f70 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -871,12 +871,6 @@ void SdPageObjsTLB::CloseBookmarkDoc() mpBookmarkDoc = NULL; } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void SdPageObjsTLB::SelectHdl() { SvLBoxEntry* pEntry = FirstSelected(); diff --git a/sd/source/ui/dlg/vectdlg.src b/sd/source/ui/dlg/vectdlg.src index 3a7407990cbe..7dda10a9c9fa 100644 --- a/sd/source/ui/dlg/vectdlg.src +++ b/sd/source/ui/dlg/vectdlg.src @@ -29,12 +29,6 @@ #include "app.hrc" #include "vectdlg.hrc" -/****************************************************************************** -|* -|* -|* -\******************************************************************************/ - ModalDialog DLG_VECTORIZE { HelpID = SID_VECTORIZE; diff --git a/sd/source/ui/docshell/docshel2.cxx b/sd/source/ui/docshell/docshel2.cxx index 030da66a7ce6..35b81d1a7390 100644 --- a/sd/source/ui/docshell/docshel2.cxx +++ b/sd/source/ui/docshell/docshel2.cxx @@ -161,12 +161,6 @@ void DrawDocShell::Draw(OutputDevice* pOut, const JobSetup&, USHORT nAspect) // } } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - Rectangle DrawDocShell::GetVisArea(USHORT nAspect) const { Rectangle aVisArea; @@ -225,12 +219,6 @@ void DrawDocShell::Disconnect(ViewShell* pViewSh) } } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - FrameView* DrawDocShell::GetFrameView() { FrameView* pFrameView = NULL; diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx index e30eaadd1b5d..e081eed7cae4 100644 --- a/sd/source/ui/docshell/docshel4.cxx +++ b/sd/source/ui/docshell/docshel4.cxx @@ -189,21 +189,11 @@ void DrawDocShell::UpdateFontList() PutItem( aFontListItem ); } -/************************************************************************* -|* -|* -|* -\************************************************************************/ Printer* DrawDocShell::GetDocumentPrinter() { return GetPrinter(FALSE); } -/************************************************************************* -|* -|* -|* -\************************************************************************/ void DrawDocShell::OnDocumentPrinterChanged(Printer* pNewPrinter) { // if we already have a printer, see if its the same @@ -229,11 +219,6 @@ void DrawDocShell::OnDocumentPrinterChanged(Printer* pNewPrinter) } } -/************************************************************************* -|* -|* -|* -\************************************************************************/ void DrawDocShell::UpdateRefDevice() { if( mpDoc ) diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx index aaaecc27f71e..b59fb2bfc328 100644 --- a/sd/source/ui/docshell/docshell.cxx +++ b/sd/source/ui/docshell/docshell.cxx @@ -478,12 +478,6 @@ void DrawDocShell::UpdateTablePointers() UpdateFontList(); } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void DrawDocShell::CancelSearching() { if( dynamic_cast<FuSearch*>( mxDocShellFunction.get() ) ) diff --git a/sd/source/ui/docshell/sdclient.cxx b/sd/source/ui/docshell/sdclient.cxx index 59d04ae257ce..2634572150e9 100644 --- a/sd/source/ui/docshell/sdclient.cxx +++ b/sd/source/ui/docshell/sdclient.cxx @@ -148,12 +148,6 @@ void Client::ObjectAreaChanged() } } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void Client::ViewChanged() { if ( GetAspect() == embed::Aspects::MSOLE_ICON ) diff --git a/sd/source/ui/func/fuexpand.cxx b/sd/source/ui/func/fuexpand.cxx index f09141ccc989..fe428393be74 100644 --- a/sd/source/ui/func/fuexpand.cxx +++ b/sd/source/ui/func/fuexpand.cxx @@ -196,7 +196,6 @@ void FuExpandPage::DoExecute( SfxRequest& ) // Title-Textobjekt erstellen SdrTextObj* pTextObj = (SdrTextObj*) pPage->GetPresObj(PRESOBJ_TITLE); -// OutlinerParaObject* pOutlinerParaObject = pOutl->CreateParaObject( (USHORT) nParaPos, 1); pOutlinerParaObject->SetOutlinerMode(OUTLINERMODE_TITLEOBJECT); @@ -231,7 +230,6 @@ void FuExpandPage::DoExecute( SfxRequest& ) OutlinerParaObject* pOPO = pOutl->CreateParaObject( (USHORT) nParaPos, (USHORT) nChildCount); -// -- SdrOutliner* pTempOutl = SdrMakeOutliner( OUTLINERMODE_OUTLINEOBJECT, mpDoc ); pTempOutl->SetText( *pOPO ); @@ -248,7 +246,6 @@ void FuExpandPage::DoExecute( SfxRequest& ) pOPO = pTempOutl->CreateParaObject(); delete pTempOutl; -// -- pOutlineObj->SetOutlinerParaObject( pOPO ); pOutlineObj->SetEmptyPresObj(FALSE); diff --git a/sd/source/ui/inc/fumorph.hxx b/sd/source/ui/inc/fumorph.hxx index 1137823d1f04..7773d69dca89 100644 --- a/sd/source/ui/inc/fumorph.hxx +++ b/sd/source/ui/inc/fumorph.hxx @@ -33,9 +33,6 @@ #include <math.h> -/************************************************************************* -|* -\************************************************************************/ class List; namespace basegfx { class B2DPolyPolygon; diff --git a/sd/source/ui/inc/morphdlg.hxx b/sd/source/ui/inc/morphdlg.hxx index 387c7df1d7ec..141170475627 100644 --- a/sd/source/ui/inc/morphdlg.hxx +++ b/sd/source/ui/inc/morphdlg.hxx @@ -39,12 +39,6 @@ class SdrObject; namespace sd { -/****************************************************************************** -|* -|* -|* -\******************************************************************************/ - class MorphDlg : public ModalDialog { diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx index 0b93c4d657f3..ec3261686bdf 100644 --- a/sd/source/ui/presenter/PresenterTextView.cxx +++ b/sd/source/ui/presenter/PresenterTextView.cxx @@ -362,7 +362,7 @@ EditEngine* PresenterTextView::Implementation::CreateEditEngine (void) // SvtLinguOptions aOpt; SvtLinguConfig().GetOptions( aOpt ); - // + struct FontDta { INT16 nFallbackLang; INT16 nLang; @@ -383,7 +383,7 @@ EditEngine* PresenterTextView::Implementation::CreateEditEngine (void) aTable[0].nLang = MsLangId::resolveSystemLanguageByScriptType(aOpt.nDefaultLanguage, ::com::sun::star::i18n::ScriptType::LATIN); aTable[1].nLang = MsLangId::resolveSystemLanguageByScriptType(aOpt.nDefaultLanguage_CJK, ::com::sun::star::i18n::ScriptType::ASIAN); aTable[2].nLang = MsLangId::resolveSystemLanguageByScriptType(aOpt.nDefaultLanguage_CTL, ::com::sun::star::i18n::ScriptType::COMPLEX); - // + for (int i = 0; i < 3; ++i) { const FontDta &rFntDta = aTable[i]; diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 3ca89e214a01..2b9f65687dca 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -241,7 +241,6 @@ const SvxItemPropertySet* ImplGetDrawPagePropertySet( sal_Bool bImpress, PageKin GRAPHIC_PAGE_PROPERTIES }; - // bool bWithoutBackground = ePageKind != PK_STANDARD && ePageKind != PK_HANDOUT; const SvxItemPropertySet* pRet = 0; if( bImpress ) @@ -372,9 +371,6 @@ sal_Int64 SAL_CALL SdGenericDrawPage::getSomething( const ::com::sun::star::uno: } } -/*********************************************************************** -* * -***********************************************************************/ SdGenericDrawPage::SdGenericDrawPage( SdXImpressDocument* _pModel, SdPage* pInPage, const SvxItemPropertySet* _pSet ) throw() : SvxFmDrawPage( (SdrPage*) pInPage ), SdUnoSearchReplaceShape(this), @@ -995,9 +991,6 @@ void SAL_CALL SdGenericDrawPage::setPropertyValue( const OUString& aPropertyName GetModel()->SetModified(); } -/*********************************************************************** -* * -***********************************************************************/ Any SAL_CALL SdGenericDrawPage::getPropertyValue( const OUString& PropertyName ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { @@ -2002,9 +1995,6 @@ sal_Bool SAL_CALL SdPageLinkTargets::hasByName( const OUString& aName ) return FindObject( aName ) != NULL; } -/*********************************************************************** -* * -***********************************************************************/ SdrObject* SdPageLinkTargets::FindObject( const String& rName ) const throw() { SdPage* pPage = mpUnoPage->GetPage(); diff --git a/sd/source/ui/view/clview.cxx b/sd/source/ui/view/clview.cxx index e7518bc01d71..8f5cf681dad1 100644 --- a/sd/source/ui/view/clview.cxx +++ b/sd/source/ui/view/clview.cxx @@ -92,13 +92,6 @@ void ClientView::InvalidateOneWin(::Window& rWin, const Rectangle& rRect) CompleteRedraw(&rWin, rRect); } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void ClientView::CompleteRedraw(OutputDevice* pOutDev, const Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector ) { DrawView::CompleteRedraw(pOutDev, rReg, pRedirector); diff --git a/sd/source/ui/view/drviews3.cxx b/sd/source/ui/view/drviews3.cxx index 363212fe0c9f..ba41975a4e2f 100644 --- a/sd/source/ui/view/drviews3.cxx +++ b/sd/source/ui/view/drviews3.cxx @@ -997,24 +997,11 @@ void DrawViewShell::GetSnapItemState( SfxItemSet &rSet ) } } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void DrawViewShell::AddWindow (::sd::Window* pWin) { mpDrawView->AddWindowToPaintView(pWin); } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void DrawViewShell::RemoveWindow(::sd::Window* pWin) { mpDrawView->DeleteWindowFromPaintView(pWin); diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx index 79fac4455b18..9339b262308a 100644 --- a/sd/source/ui/view/drviews4.cxx +++ b/sd/source/ui/view/drviews4.cxx @@ -908,23 +908,11 @@ void DrawViewShell::ShowMousePosInfo(const Rectangle& rRect, } } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void DrawViewShell::LockInput() { mnLockCount++; } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void DrawViewShell::UnlockInput() { DBG_ASSERT( mnLockCount, "Input for this shell is not locked!" ); diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx index 6be0ffe52c90..6d41e5c6565d 100644 --- a/sd/source/ui/view/drviews6.cxx +++ b/sd/source/ui/view/drviews6.cxx @@ -412,12 +412,6 @@ void DrawViewShell::ExecBmpMask( SfxRequest& rReq ) } } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void DrawViewShell::GetBmpMaskState( SfxItemSet& rSet ) { const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList(); diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index 3f7a86aa5084..b4e97c4ee489 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -1649,12 +1649,6 @@ void DrawViewShell::InsertURLButton(const String& rURL, const String& rText, } } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void DrawViewShell::ShowUIControls (bool bVisible) { ViewShell::ShowUIControls (bVisible); diff --git a/sd/source/ui/view/drviewsg.cxx b/sd/source/ui/view/drviewsg.cxx index 2e81a007146c..9b33f3b60427 100644 --- a/sd/source/ui/view/drviewsg.cxx +++ b/sd/source/ui/view/drviewsg.cxx @@ -57,12 +57,6 @@ namespace sd { -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void DrawViewShell::ExecIMap( SfxRequest& rReq ) { // waehrend einer Diashow wird nichts ausgefuehrt! @@ -94,13 +88,6 @@ void DrawViewShell::ExecIMap( SfxRequest& rReq ) } } - -/************************************************************************* -|* -|* -|* -\************************************************************************/ - void DrawViewShell::GetIMapState( SfxItemSet& rSet ) { BOOL bDisable = TRUE; diff --git a/sd/source/ui/view/sdruler.cxx b/sd/source/ui/view/sdruler.cxx index 41ec7e8e154d..1b63c322678f 100644 --- a/sd/source/ui/view/sdruler.cxx +++ b/sd/source/ui/view/sdruler.cxx @@ -63,21 +63,12 @@ class RulerCtrlItem : public SfxControllerItem RulerCtrlItem(USHORT nId, Ruler& rRlr, SfxBindings& rBind); }; -/************************************************************************* -|* -\************************************************************************/ - RulerCtrlItem::RulerCtrlItem(USHORT _nId, Ruler& rRlr, SfxBindings& rBind) : SfxControllerItem(_nId, rBind) , rRuler(rRlr) { } - -/************************************************************************* -|* -\************************************************************************/ - void RulerCtrlItem::StateChanged( USHORT nSId, SfxItemState, const SfxPoolItem* pState ) { switch( nSId ) diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 1b9b60e9aeec..fe22a81b38f1 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -1011,12 +1011,6 @@ void View::DoConnect(SdrOle2Obj* pObj) } } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - BOOL View::IsMorphingAllowed() const { const SdrMarkList& rMarkList = GetMarkedObjectList(); @@ -1063,12 +1057,6 @@ BOOL View::IsMorphingAllowed() const return bRet; } -/************************************************************************* -|* -|* -|* -\************************************************************************/ - BOOL View::IsVectorizeAllowed() const { const SdrMarkList& rMarkList = GetMarkedObjectList(); diff --git a/sd/source/ui/view/tabcontr.cxx b/sd/source/ui/view/tabcontr.cxx index 24e63ed5c8da..3c4fabb2c6ca 100644 --- a/sd/source/ui/view/tabcontr.cxx +++ b/sd/source/ui/view/tabcontr.cxx @@ -116,10 +116,6 @@ TabControl::~TabControl() { } -/************************************************************************* -|* -\************************************************************************/ - void TabControl::Select() { SfxDispatcher* pDispatcher = pDrViewSh->GetViewFrame()->GetDispatcher(); @@ -127,10 +123,6 @@ void TabControl::Select() SFX_CALLMODE_RECORD); } -/************************************************************************* -|* -\************************************************************************/ - void TabControl::MouseButtonDown(const MouseEvent& rMEvt) { if (rMEvt.IsLeft() @@ -177,10 +169,6 @@ void TabControl::MouseButtonDown(const MouseEvent& rMEvt) TabBar::MouseButtonDown(rMEvt); } -/************************************************************************* -|* -\************************************************************************/ - void TabControl::DoubleClick() { if (GetCurPageId() != 0) @@ -343,10 +331,6 @@ sal_Int8 TabControl::ExecuteDrop( const ExecuteDropEvent& rEvt ) return nRet; } -/************************************************************************* -|* -\************************************************************************/ - void TabControl::Command(const CommandEvent& rCEvt) { USHORT nCmd = rCEvt.GetCommand(); @@ -361,10 +345,6 @@ void TabControl::Command(const CommandEvent& rCEvt) } } -/************************************************************************* -|* -\************************************************************************/ - long TabControl::StartRenaming() { BOOL bOK = FALSE; @@ -382,10 +362,6 @@ long TabControl::StartRenaming() return( bOK ); } -/************************************************************************* -|* -\************************************************************************/ - long TabControl::AllowRenaming() { BOOL bOK = TRUE; @@ -409,21 +385,12 @@ long TabControl::AllowRenaming() return( bOK ); } -/************************************************************************* -|* -\************************************************************************/ - void TabControl::EndRenaming() { if( !IsEditModeCanceled() ) pDrViewSh->RenameSlide( GetEditPageId(), GetEditText() ); } - -/************************************************************************* -|* -\************************************************************************/ - void TabControl::ActivatePage() { if ( /*IsInSwitching && */ pDrViewSh->IsSwitchPageAllowed() ) @@ -434,11 +401,6 @@ void TabControl::ActivatePage() } } - -/************************************************************************* -|* -\************************************************************************/ - long TabControl::DeactivatePage() { return pDrViewSh->IsSwitchPageAllowed(); |