[Libreoffice-commits] .: sd/source
J Graeme Lingard
jgraeme at kemper.freedesktop.org
Sat Nov 20 09:36:35 PST 2010
sd/source/core/drawdoc2.cxx | 39 ---------------
sd/source/core/drawdoc4.cxx | 6 --
sd/source/core/sdpage.cxx | 53 ---------------------
sd/source/filter/html/pubdlg.cxx | 10 ---
sd/source/ui/animations/CustomAnimationPane.cxx | 5 -
sd/source/ui/annotations/annotationmanagerimpl.hxx | 1
sd/source/ui/app/sdmod.cxx | 8 ---
sd/source/ui/dlg/LayerTabBar.cxx | 33 -------------
sd/source/ui/dlg/dlgfield.cxx | 6 --
sd/source/ui/dlg/gluectrl.cxx | 6 --
sd/source/ui/dlg/morphdlg.cxx | 28 -----------
sd/source/ui/dlg/navigatr.cxx | 1
sd/source/ui/dlg/sdtreelb.cxx | 6 --
sd/source/ui/dlg/vectdlg.src | 6 --
sd/source/ui/docshell/docshel2.cxx | 12 ----
sd/source/ui/docshell/docshel4.cxx | 15 -----
sd/source/ui/docshell/docshell.cxx | 6 --
sd/source/ui/docshell/sdclient.cxx | 6 --
sd/source/ui/func/fuexpand.cxx | 5 -
sd/source/ui/inc/fumorph.hxx | 3 -
sd/source/ui/inc/morphdlg.hxx | 6 --
sd/source/ui/presenter/PresenterTextView.cxx | 4 -
sd/source/ui/unoidl/unopage.cxx | 10 ---
sd/source/ui/view/clview.cxx | 7 --
sd/source/ui/view/drviews3.cxx | 13 -----
sd/source/ui/view/drviews4.cxx | 12 ----
sd/source/ui/view/drviews6.cxx | 6 --
sd/source/ui/view/drviewse.cxx | 6 --
sd/source/ui/view/drviewsg.cxx | 13 -----
sd/source/ui/view/sdruler.cxx | 9 ---
sd/source/ui/view/sdview.cxx | 12 ----
sd/source/ui/view/tabcontr.cxx | 38 ---------------
32 files changed, 3 insertions(+), 388 deletions(-)
New commits:
commit e16506cfadbe2ed1fb2519d1ded9b01d94d1b0f6
Author: J. Graeme Lingard <jgraeme+git at gmail.com>
Date: Sat Nov 20 17:34:37 2010 +0000
Remove empty comments
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index 2fc5287..aa790d1 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 e009783..8e20040 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 38af4fa..0a1d6ca 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 48a2f85..b38754b 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 de1bc97..f537041 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 01a6cd6..24e90b7 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 ab7a234..928bbc8 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 7e59d97..624304d 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 53daee5..8aa0047 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 15c50b1..486a1c7 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 0b4510b..57fe7f1 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 37025cf..b3e97fd 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 4ac75b6..eaa105c 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 9262fa3..bc75187 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 aa9ceba..769f697 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 e5b1d71..3635ea9 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 4cf2b44..9d6ea7d 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 240f04b..9f5b985 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 04667a6..a3376e0 100644
--- a/sd/source/ui/func/fuexpand.cxx
+++ b/sd/source/ui/func/fuexpand.cxx
@@ -195,8 +195,7 @@ 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 32c3860..49fcad1 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 86f72a0..1b55f4f 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 35aa82b..a954e52 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 abb1904..11ebe49 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 9aca8e7..58b2fe1 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 1492c23..cd0dca8 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 9361557..55740bc 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 a29abf7..68d3bc9 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 7ffde92..c846ee3 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 8629cf0..5e37f0c 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 b141e8b..f26b42d 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 6644d83..aa54837 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 53cd5c8..243c39b 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();
More information about the Libreoffice-commits
mailing list