diff options
Diffstat (limited to 'cui')
26 files changed, 43 insertions, 811 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index d3b0fac563d3..2db6cf9d0eb0 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -417,10 +417,9 @@ void SpellDialog::SpellContinue_Impl(bool bUseSavedSentence, bool bIgnoreCurrent } } } -/* -----------------10.09.2003 14:04----------------- - Initialize, asynchronous to prevent virtial calls - from a constructor - --------------------------------------------------*/ +/* Initialize, asynchronous to prevent virtial calls + from a constructor + */ IMPL_STATIC_LINK( SpellDialog, InitHdl, SpellDialog *, EMPTYARG ) { pThis->SetUpdateMode( sal_False ); @@ -857,9 +856,7 @@ void SpellDialog::SetLanguage( sal_uInt16 nLang ) // den richtigen Eintrag finden, da sortiert aLanguageLB.SelectLanguage( nLang ); } -/*-- 16.06.2008 11:27:02--------------------------------------------------- - -----------------------------------------------------------------------*/ static Image lcl_GetImageFromPngUrl( const ::rtl::OUString &rFileUrl ) { Image aRes; diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 9d63b96fb1e2..b773e3e79d09 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1128,7 +1128,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTextTabDialog( Window* p return new AbstractTabDialog_Impl( pDlg ); } -//TabDialog that use functionality of the drawing layer and add AnchorTypes -- for SvxCaptionTabDialog CHINA001 +// TabDialog that use functionality of the drawing layer and add AnchorTypes -- for SvxCaptionTabDialog AbstractSvxCaptionDialog* AbstractDialogFactory_Impl::CreateCaptionDialog( Window* pParent, const SdrView* pView, USHORT nAnchorTypes ) diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 9c38944945fa..3dd321a6769b 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -624,10 +624,10 @@ public: SdrModel* pModel=0 ); //add for SvxTextTabDialog virtual SfxAbstractTabDialog* CreateTabItemDialog( Window* pParent, const SfxItemSet& rSet, - sal_uInt32 nResId); //add by CHINA001 + sal_uInt32 nResId); virtual AbstractSvxCaptionDialog* CreateCaptionDialog( Window* pParent, const SdrView* pView, - USHORT nAnchorTypes = 0 ); //add for SvxCaptionTabDialog CHINA001 + USHORT nAnchorTypes = 0 ); //add for SvxCaptionTabDialog virtual AbstractSvxDistributeDialog* CreateSvxDistributeDialog(Window* pParent, const SfxItemSet& rAttr, SvxDistributeHorizontal eHor = SvxDistributeHorizontalNone, @@ -640,7 +640,7 @@ public: virtual SfxAbstractPasteDialog* CreatePasteDialog( Window* pParent ); virtual SfxAbstractLinksDialog* CreateLinksDialog( Window* pParent, sfx2::LinkManager* pMgr, BOOL bHTML, sfx2::SvBaseLink* p=0 ); - virtual AbstractHangulHanjaConversionDialog * CreateHangulHanjaConversionDialog( Window* _pParent, //add for HangulHanjaConversionDialog CHINA001 + virtual AbstractHangulHanjaConversionDialog * CreateHangulHanjaConversionDialog( Window* _pParent, //add for HangulHanjaConversionDialog editeng::HangulHanjaConversion::ConversionDirection _ePrimaryDirection ); virtual AbstractThesaurusDialog* CreateThesaurusDialog( Window*, ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XThesaurus > xThesaurus, const String &rWord, sal_Int16 nLanguage ); diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index f13f6f659cc1..f9eebcca1c28 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -381,9 +381,6 @@ sal_Int16 lcl_getGroup( sal_Int32 _nFeature ) return nRet; } -/* -----------------------------25.03.2002 17:05------------------------------ - ----------------------------------------------------------------------------*/ ColorConfigWindow_Impl::ColorConfigWindow_Impl(Window* pParent, const ResId& rResId) : Window(pParent, rResId), aGeneralBackWN(this), diff --git a/cui/source/options/optcolor.hxx b/cui/source/options/optcolor.hxx index 1f31a3da6420..57d90ec574a8 100644 --- a/cui/source/options/optcolor.hxx +++ b/cui/source/options/optcolor.hxx @@ -35,9 +35,6 @@ #include <vcl/fixed.hxx> #include <vcl/lstbox.hxx> -/* -----------------------------25.03.2002 10:40------------------------------ - - ---------------------------------------------------------------------------*/ namespace svtools {class EditableColorConfig;class EditableExtendedColorConfig;} class ColorConfigCtrl_Impl; class AbstractSvxNameDialog; //CHINA001 class SvxNameDialog; diff --git a/cui/source/options/optfltr.cxx b/cui/source/options/optfltr.cxx index 7a03329d209f..8e35b22a028b 100644 --- a/cui/source/options/optfltr.cxx +++ b/cui/source/options/optfltr.cxx @@ -120,10 +120,6 @@ BOOL OfaMSFilterTabPage::FillItemSet( SfxItemSet& ) return FALSE; } -/*-----------------02.09.96 13.47------------------- - ---------------------------------------------------*/ - void OfaMSFilterTabPage::Reset( const SfxItemSet& ) { SvtFilterOptions* pOpt = SvtFilterOptions::Get(); @@ -151,9 +147,6 @@ void OfaMSFilterTabPage::Reset( const SfxItemSet& ) } -/*-----------------29.06.00 13:22------------------- - * - * --------------------------------------------------*/ OfaMSFilterTabPage2::OfaMSFilterTabPage2( Window* pParent, const SfxItemSet& rSet ) : SfxTabPage( pParent, CUI_RES( RID_OFAPAGE_MSFILTEROPT2 ), rSet ), @@ -358,9 +351,7 @@ void OfaMSFilterTabPage2::MSFltrSimpleTable::HBarClick() { // Sortierung durch diese Ueberladung abgeklemmt } -/* -----------------------------2002/06/20 11:51------------------------------ - ---------------------------------------------------------------------------*/ void OfaMSFilterTabPage2::MSFltrSimpleTable::SetCheckButtonState( SvLBoxEntry* pEntry, USHORT nCol, SvButtonState eState) { @@ -386,9 +377,7 @@ void OfaMSFilterTabPage2::MSFltrSimpleTable::SetCheckButtonState( InvalidateEntry( pEntry ); } } -/* -----------------------------2002/06/20 11:56------------------------------ - ---------------------------------------------------------------------------*/ SvButtonState OfaMSFilterTabPage2::MSFltrSimpleTable::GetCheckButtonState( SvLBoxEntry* pEntry, USHORT nCol ) const { @@ -404,9 +393,7 @@ SvButtonState OfaMSFilterTabPage2::MSFltrSimpleTable::GetCheckButtonState( return eState; } -/* -----------------------------2002/06/20 11:57------------------------------ - ---------------------------------------------------------------------------*/ void OfaMSFilterTabPage2::MSFltrSimpleTable::CheckEntryPos(ULONG nPos, USHORT nCol, BOOL bChecked) { if ( nPos < GetEntryCount() ) @@ -416,9 +403,7 @@ void OfaMSFilterTabPage2::MSFltrSimpleTable::CheckEntryPos(ULONG nPos, USHORT nC bChecked ? SvButtonState( SV_BUTTON_CHECKED ) : SvButtonState( SV_BUTTON_UNCHECKED ) ); } -/* -----------------------------2002/06/20 11:51------------------------------ - ---------------------------------------------------------------------------*/ void OfaMSFilterTabPage2::MSFltrSimpleTable::KeyInput( const KeyEvent& rKEvt ) { if(!rKEvt.GetKeyCode().GetModifier() && diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index aff379aa2f46..c0ce1c049887 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -888,19 +888,11 @@ IMPL_LINK( OfaViewTabPage, OnSelectionToggled, void*, NOTINTERESTEDIN ) return 0; } -/*-----------------06.12.96 11.50------------------- - ---------------------------------------------------*/ - SfxTabPage* OfaViewTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet ) { return new OfaViewTabPage(pParent, rAttrSet); } -/*-----------------06.12.96 11.50------------------- - ---------------------------------------------------*/ - BOOL OfaViewTabPage::FillItemSet( SfxItemSet& ) { SvtFontOptions aFontOpt; @@ -1099,9 +1091,6 @@ BOOL OfaViewTabPage::FillItemSet( SfxItemSet& ) return bModified; } -/*-----------------06.12.96 11.50------------------- - ---------------------------------------------------*/ void OfaViewTabPage::Reset( const SfxItemSet& ) { SvtMiscOptions aMiscOptions; @@ -1206,9 +1195,7 @@ void OfaViewTabPage::Reset( const SfxItemSet& ) LINK( this, OfaViewTabPage, OnAntialiasingToggled ).Call( NULL ); #endif } -/* -----------------------------23.11.00 14:55-------------------------------- - ---------------------------------------------------------------------------*/ class LangConfigItem_Impl : public ConfigItem { Any aValue; @@ -1222,9 +1209,7 @@ public: const Any& GetValue() const {return aValue;} void SetValue(Any& rValue) {aValue = rValue; SetModified();} }; -/* -----------------------------23.11.00 15:06-------------------------------- - ---------------------------------------------------------------------------*/ LangConfigItem_Impl::LangConfigItem_Impl( const OUString& rTree, const OUString& rProperty) : ConfigItem(rTree), @@ -1235,14 +1220,10 @@ LangConfigItem_Impl::LangConfigItem_Impl( Sequence<Any> aValues = GetProperties(aNames); aValue = aValues.getConstArray()[0]; } -/* -----------------------------23.11.00 15:06-------------------------------- - ---------------------------------------------------------------------------*/ LangConfigItem_Impl::~LangConfigItem_Impl() {} -/* -----------------------------23.11.00 15:10-------------------------------- - ---------------------------------------------------------------------------*/ void LangConfigItem_Impl::Commit() { Sequence<OUString> aNames(1); @@ -1251,18 +1232,14 @@ void LangConfigItem_Impl::Commit() aValues.getArray()[0] = aValue; PutProperties(aNames, aValues); } -/* -----------------22.07.2003 10:33----------------- - --------------------------------------------------*/ struct LanguageConfig_Impl { SvtLanguageOptions aLanguageOptions; SvtSysLocaleOptions aSysLocaleOptions; SvtLinguConfig aLinguConfig; }; -/* -----------------------------23.11.00 13:06-------------------------------- - ---------------------------------------------------------------------------*/ static sal_Bool bLanguageCurrentDoc_Impl = sal_False; // some things we'll need... @@ -1436,23 +1413,17 @@ OfaLanguagesTabPage::OfaLanguagesTabPage( Window* pParent, const SfxItemSet& rSe aCTLSupportFI.Show(bReadonly); SupportHdl( &aCTLSupportCB ); } -/*-- 23.11.00 13:06:40--------------------------------------------------- - -----------------------------------------------------------------------*/ OfaLanguagesTabPage::~OfaLanguagesTabPage() { delete pLangConfig; } -/*-- 23.11.00 13:06:40--------------------------------------------------- - -----------------------------------------------------------------------*/ SfxTabPage* OfaLanguagesTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet ) { return new OfaLanguagesTabPage(pParent, rAttrSet); } -/*-- 23.11.00 13:06:41--------------------------------------------------- - -----------------------------------------------------------------------*/ LanguageType lcl_LangStringToLangType(const OUString& rLang) { Locale aLocale; @@ -1469,9 +1440,6 @@ LanguageType lcl_LangStringToLangType(const OUString& rLang) return eLangType; } -/*-- 23.11.00 13:06:40--------------------------------------------------- - - -----------------------------------------------------------------------*/ void lcl_UpdateAndDelete(SfxVoidItem* pInvalidItems[], SfxBoolItem* pBoolItems[], sal_uInt16 nCount) { SfxViewFrame* pCurrentFrm = SfxViewFrame::Current(); @@ -1884,9 +1852,7 @@ void OfaLanguagesTabPage::Reset( const SfxItemSet& rSet ) aCurrentDocCB.Check(TRUE); } } -/* -----------------------------20.04.01 15:09-------------------------------- - ---------------------------------------------------------------------------*/ IMPL_LINK( OfaLanguagesTabPage, SupportHdl, CheckBox*, pBox ) { DBG_ASSERT( pBox, "OfaLanguagesTabPage::SupportHdl(): pBox invalid" ); @@ -1933,9 +1899,7 @@ namespace _rCB.Enable( !_bNewValue ); } } -/* -----------------08.06.01 17:56------------------- - --------------------------------------------------*/ IMPL_LINK( OfaLanguagesTabPage, LocaleSettingHdl, SvxLanguageBox*, pBox ) { LanguageType eLang = pBox->GetSelectLanguage(); diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index 72402ce7f7ed..6db4f285414d 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -165,9 +165,7 @@ public: virtual BOOL FillItemSet( SfxItemSet& rSet ); virtual void Reset( const SfxItemSet& rSet ); }; -/* -----------------------------23.11.00 13:04-------------------------------- - ---------------------------------------------------------------------------*/ struct LanguageConfig_Impl; class OfaLanguagesTabPage : public SfxTabPage { diff --git a/cui/source/options/opthtml.cxx b/cui/source/options/opthtml.cxx index c8c52f8126f9..34ed35a716dd 100644 --- a/cui/source/options/opthtml.cxx +++ b/cui/source/options/opthtml.cxx @@ -114,28 +114,16 @@ OfaHtmlTabPage::OfaHtmlTabPage(Window* pParent, const SfxItemSet& rSet) : aCharSetLB.FillWithMimeAndSelectBest(); } -/*-----------------02.09.96 13.47------------------- - ---------------------------------------------------*/ - OfaHtmlTabPage::~OfaHtmlTabPage() { } -/*-----------------02.09.96 13.47------------------- - ---------------------------------------------------*/ - SfxTabPage* OfaHtmlTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet ) { return new OfaHtmlTabPage(pParent, rAttrSet); } -/*-----------------02.09.96 13.47------------------- - ---------------------------------------------------*/ - BOOL OfaHtmlTabPage::FillItemSet( SfxItemSet& ) { SvxHtmlOptions* pHtmlOpt = SvxHtmlOptions::Get(); @@ -184,10 +172,6 @@ BOOL OfaHtmlTabPage::FillItemSet( SfxItemSet& ) return FALSE; } -/*-----------------02.09.96 13.47------------------- - ---------------------------------------------------*/ - void OfaHtmlTabPage::Reset( const SfxItemSet& ) { SvxHtmlOptions* pHtmlOpt = SvxHtmlOptions::Get(); @@ -238,9 +222,6 @@ void OfaHtmlTabPage::Reset( const SfxItemSet& ) aCharSetLB.SelectTextEncoding( pHtmlOpt->GetTextEncoding() ); } -/*-----------------16.04.98 16:03------------------- - ---------------------------------------------------*/ IMPL_LINK(OfaHtmlTabPage, ExportHdl_Impl, ListBox*, pBox) { USHORT nExport = aPosToExportArr[ pBox->GetSelectEntryPos() ]; @@ -256,9 +237,7 @@ IMPL_LINK(OfaHtmlTabPage, ExportHdl_Impl, ListBox*, pBox) return 0; } -/* -----------------05.02.99 09:17------------------- - * - * --------------------------------------------------*/ + IMPL_LINK(OfaHtmlTabPage, CheckBoxHdl_Impl, CheckBox*, pBox) { aStarBasicWarningCB.Enable(!pBox->IsChecked()); diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index 6143c3211b18..f85f15d592ea 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -306,27 +306,15 @@ SvxProxyTabPage::SvxProxyTabPage(Window* pParent, const SfxItemSet& rSet ) : ArrangeControls_Impl(); } -/*-----------------12.08.96 14.55------------------- - ---------------------------------------------------*/ - SvxProxyTabPage::~SvxProxyTabPage() { } -/*-----------------12.08.96 14.55------------------- - ---------------------------------------------------*/ - SfxTabPage* SvxProxyTabPage::Create(Window* pParent, const SfxItemSet& rAttrSet ) { return new SvxProxyTabPage(pParent, rAttrSet); } -/*-----------------02.09.04 14.55------------------- - ---------------------------------------------------*/ - void SvxProxyTabPage::ReadConfigData_Impl() { try { @@ -390,10 +378,6 @@ void SvxProxyTabPage::ReadConfigData_Impl() } -/*-----------------02.09.04 14.55------------------- - ---------------------------------------------------*/ - void SvxProxyTabPage::ReadConfigDefaults_Impl() { try @@ -453,10 +437,6 @@ void SvxProxyTabPage::ReadConfigDefaults_Impl() } } -/*-----------------02.09.04 14.55------------------- - ---------------------------------------------------*/ - void SvxProxyTabPage::RestoreConfigDefaults_Impl() { try @@ -491,10 +471,6 @@ void SvxProxyTabPage::RestoreConfigDefaults_Impl() } } -/*-----------------12.08.96 14.55------------------- - ---------------------------------------------------*/ - void SvxProxyTabPage::Reset(const SfxItemSet&) { ReadConfigData_Impl(); @@ -511,10 +487,6 @@ void SvxProxyTabPage::Reset(const SfxItemSet&) EnableControls_Impl( aProxyModeLB.GetSelectEntryPos() == 2 ); } -/*-----------------12.08.96 16.34------------------- - ---------------------------------------------------*/ - BOOL SvxProxyTabPage::FillItemSet(SfxItemSet& ) { BOOL bModified=FALSE; @@ -614,7 +586,7 @@ BOOL SvxProxyTabPage::FillItemSet(SfxItemSet& ) void SvxProxyTabPage::ArrangeControls_Impl() { - //-->Calculate dynamical width of controls, add buy wuy for i71445 Time: 2007.02.27 + // calculate dynamic width of controls, to not cut-off translated strings #i71445# long nWidth = aProxyModeFT.GetCtrlTextWidth( aProxyModeFT.GetText() ); long nTemp = aHttpProxyFT.GetCtrlTextWidth( aHttpProxyFT.GetText() ); if ( nTemp > nWidth ) @@ -660,12 +632,8 @@ void SvxProxyTabPage::ArrangeControls_Impl() aNewPos.Y() = aNoProxyForED.GetPosPixel().Y(); aNoProxyForED.SetPosSizePixel( aNewPos, aNewSize ); } - //<--End buy wuy for i71445 Time: 2007.02.27 } -/*-----------------12.08.96 13.38------------------- - ---------------------------------------------------*/ void SvxProxyTabPage::EnableControls_Impl(BOOL bEnable) { aHttpProxyFT.Enable(bEnable); @@ -1143,9 +1111,6 @@ IMPL_LINK( SvxSearchTabPage, SearchPartHdl_Impl, RadioButton *, EMPTYARG ) /********************************************************************/ /********************************************************************/ -/*-----------------15.05.97 09:51------------------- - ---------------------------------------------------*/ /* SvxPatternField::SvxPatternField( Window* pParent, const ResId& rResId ) : @@ -1159,10 +1124,6 @@ SvxPatternField::SvxPatternField( Window* pParent, const ResId& rResId ) : SelectFixedFont(); } */ -/*-----------------15.05.97 09:51------------------- - ---------------------------------------------------*/ - /*void SvxPatternField::KeyInput( const KeyEvent& rKEvt ) { PatternField::KeyInput( rKEvt ); diff --git a/cui/source/options/optinet2.hxx b/cui/source/options/optinet2.hxx index 9b7e5b20acbc..8c41db2ee4f3 100644 --- a/cui/source/options/optinet2.hxx +++ b/cui/source/options/optinet2.hxx @@ -303,9 +303,6 @@ public: //added by jmeng end #endif -/* -----------------------------20.06.01 16:32-------------------------------- - - ---------------------------------------------------------------------------*/ #ifdef WNT #else #define HELPER_PAGE_COMPLETE diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index 84b080fcf395..a83272e0b6fa 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -205,9 +205,7 @@ sal_Bool KillFile_Impl( const String& rURL ) return bRet; } -/* -----------------------------27.11.00 14:07-------------------------------- - ---------------------------------------------------------------------------*/ // 0x 0p 0t 0c nn // p: 1 -> parent // t: 1 -> spell, 2 -> hyph, 3 -> thes, 4 -> grammar @@ -711,9 +709,7 @@ void lcl_MergeLocales(Sequence< Locale >& aAllLocales, const Sequence< Locale >& for(i = 0; i < nFound; i++) pAllLocales2[nLength++] = pLocToAdd[i]; } -/* -----------------------------27.11.00 16:48-------------------------------- - ---------------------------------------------------------------------------*/ void lcl_MergeDisplayArray( SvxLinguData_Impl &rData, const ServiceInfo_Impl &rToAdd ) @@ -768,9 +764,7 @@ void lcl_MergeDisplayArray( rData.GetDisplayServiceArray().push_back( rToAdd ); rData.SetDisplayServiceCount( nCnt + 1 ); } -/* -----------------------------26.11.00 18:07-------------------------------- - ---------------------------------------------------------------------------*/ SvxLinguData_Impl::SvxLinguData_Impl() : nDisplayServices (0) { @@ -913,9 +907,7 @@ SvxLinguData_Impl::SvxLinguData_Impl() : } } } -/* -----------------------------22.05.01 10:43-------------------------------- ----------------------------------------------------------------------------*/ SvxLinguData_Impl::SvxLinguData_Impl( const SvxLinguData_Impl &rData ) : aDisplayServiceArr (rData.aDisplayServiceArr), nDisplayServices (rData.nDisplayServices), @@ -928,9 +920,7 @@ SvxLinguData_Impl::SvxLinguData_Impl( const SvxLinguData_Impl &rData ) : xLinguSrvcMgr (rData.xLinguSrvcMgr) { } -/* -----------------------------22.05.01 10:43-------------------------------- - ---------------------------------------------------------------------------*/ SvxLinguData_Impl & SvxLinguData_Impl::operator = (const SvxLinguData_Impl &rData) { xMSF = rData.xMSF; @@ -944,15 +934,11 @@ SvxLinguData_Impl & SvxLinguData_Impl::operator = (const SvxLinguData_Impl &rDat nDisplayServices = rData.nDisplayServices; return *this; } -/* -----------------------------26.11.00 18:08-------------------------------- - ---------------------------------------------------------------------------*/ SvxLinguData_Impl::~SvxLinguData_Impl() { } -/* -----------------------------26.11.00 19:42-------------------------------- - ---------------------------------------------------------------------------*/ void SvxLinguData_Impl::SetChecked(const Sequence<OUString>& rConfiguredServices) { const OUString* pConfiguredServices = rConfiguredServices.getConstArray(); @@ -978,9 +964,6 @@ void SvxLinguData_Impl::SetChecked(const Sequence<OUString>& rConfiguredServices } } } -/* -----------------------------26.11.00 20:43-------------------------------- - - ---------------------------------------------------------------------------*/ sal_Bool SvxLinguData_Impl::AddRemove( Sequence< OUString > &rConfigured, @@ -2175,9 +2158,7 @@ IMPL_LINK( SvxEditModulesDlg, SelectHdl_Impl, SvxCheckListBox *, pBox ) return 0; } -/* -----------------------------28.05.01 11:00-------------------------------- - ---------------------------------------------------------------------------*/ IMPL_LINK( SvxEditModulesDlg, BoxCheckButtonHdl_Impl, SvTreeListBox *, pBox ) { // if (pBox == (SvTreeListBox *) &aModulesCLB) @@ -2210,9 +2191,7 @@ IMPL_LINK( SvxEditModulesDlg, BoxCheckButtonHdl_Impl, SvTreeListBox *, pBox ) // } return 0; } -/* -----------------------------27.11.00 14:00-------------------------------- - ---------------------------------------------------------------------------*/ OUString lcl_GetServiceName(BYTE nType) { switch(nType) @@ -2485,9 +2464,7 @@ IMPL_LINK( SvxEditModulesDlg, LangSelectHdl_Impl, ListBox *, pBox ) aLastLocale.Country = aCurLocale.Country; return 0; } -/* -----------------------------27.11.00 19:50-------------------------------- - ---------------------------------------------------------------------------*/ IMPL_LINK( SvxEditModulesDlg, UpDownHdl_Impl, PushButton *, pBtn ) { sal_Bool bUp = &aPrioUpPB == pBtn; @@ -2534,9 +2511,7 @@ IMPL_LINK( SvxEditModulesDlg, ClickHdl_Impl, PushButton *, pBtn ) return 0; } -/* -----------------------------27.11.00 20:31-------------------------------- - ---------------------------------------------------------------------------*/ IMPL_LINK( SvxEditModulesDlg, BackHdl_Impl, PushButton *, EMPTYARG ) { rLinguData = *pDefaultLinguData; diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index 261390df80c5..6a4cfc74f47f 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -325,9 +325,6 @@ SfxTabPage* SfxSaveTabPage::Create( Window* pParent, return ( new SfxSaveTabPage( pParent, rAttrSet ) ); } -/* -----------------------------05.04.01 13:10-------------------------------- - - ---------------------------------------------------------------------------*/ OUString lcl_ExtractUIName(const Sequence<PropertyValue> rProperties) { OUString sRet; @@ -705,9 +702,7 @@ IMPL_LINK( SfxSaveTabPage, AutoClickHdl_Impl, CheckBox *, pBox ) } return 0; } -/* -----------------------------05.04.01 13:10-------------------------------- - ---------------------------------------------------------------------------*/ OUString lcl_ExtracUIName(const Sequence<PropertyValue> rProperties) { OUString sRet; @@ -734,9 +729,7 @@ OUString lcl_ExtracUIName(const Sequence<PropertyValue> rProperties) } return sRet; } -/* -----------------------------05.04.01 13:37-------------------------------- - ---------------------------------------------------------------------------*/ IMPL_LINK( SfxSaveTabPage, FilterHdl_Impl, ListBox *, pBox ) { USHORT nCurPos = aDocTypeLB.GetSelectEntryPos(); diff --git a/cui/source/options/readonlyimage.cxx b/cui/source/options/readonlyimage.cxx index 0a301c05eb89..763b3557a886 100644 --- a/cui/source/options/readonlyimage.cxx +++ b/cui/source/options/readonlyimage.cxx @@ -34,9 +34,6 @@ #include <dialmgr.hxx> #include <cuires.hrc> -/*-- 26.02.2004 13:31:04--------------------------------------------------- - - -----------------------------------------------------------------------*/ ReadOnlyImage::ReadOnlyImage(Window* pParent, const ResId rResId) : FixedImage(pParent, rResId) { @@ -44,15 +41,10 @@ ReadOnlyImage::ReadOnlyImage(Window* pParent, const ResId rResId) : SetImage( Image(CUI_RES(bHighContrast ? RID_SVXBMP_LOCK_HC : RID_SVXBMP_LOCK ))); } -/*-- 26.02.2004 13:31:04--------------------------------------------------- - - -----------------------------------------------------------------------*/ ReadOnlyImage::~ReadOnlyImage() { } -/*-- 26.02.2004 13:31:04--------------------------------------------------- - -----------------------------------------------------------------------*/ void ReadOnlyImage::RequestHelp( const HelpEvent& rHEvt ) { if( Help::IsBalloonHelpEnabled() || Help::IsQuickHelpEnabled() ) @@ -72,9 +64,6 @@ void ReadOnlyImage::RequestHelp( const HelpEvent& rHEvt ) Window::RequestHelp( rHEvt ); } -/*-- 26.02.2004 14:20:21--------------------------------------------------- - - -----------------------------------------------------------------------*/ const String& ReadOnlyImage::GetHelpTip() { static String aStr(CUI_RES(RID_SVXSTR_READONLY_CONFIG_TIP)); diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index df35f40fa435..3ba271b2fa4c 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -288,9 +288,6 @@ static USHORT getGroupNodeId( const rtl::OUString& rModule ) return nNodeId; } -/*-- 29.10.2004 13:57:25--------------------------------------------------- - - -----------------------------------------------------------------------*/ class MailMergeCfg_Impl : public utl::ConfigItem { friend class SvxEMailTabPage; @@ -307,9 +304,7 @@ public: sal_Bool IsEmailSupported() const {return bIsEmailSupported;} }; -/*-- 29.10.2004 13:57:25--------------------------------------------------- - -----------------------------------------------------------------------*/ MailMergeCfg_Impl::MailMergeCfg_Impl() : utl::ConfigItem(C2U("Office.Writer/MailMergeWizard")), bIsEmailSupported(sal_False) @@ -321,9 +316,7 @@ MailMergeCfg_Impl::MailMergeCfg_Impl() : if(aValues.getLength() && pValues[0].hasValue()) pValues[0] >>= bIsEmailSupported; } -/*-- 29.10.2004 13:57:25--------------------------------------------------- - -----------------------------------------------------------------------*/ MailMergeCfg_Impl::~MailMergeCfg_Impl() { } @@ -511,9 +504,6 @@ static sal_Bool lcl_isOptionHidden( USHORT _nPageId, const SvtOptionsDialogOptio return bIsHidden; } -/* -----------------11.02.99 09:56------------------- - * - * --------------------------------------------------*/ struct OptionsPageInfo { SfxTabPage* m_pPage; @@ -543,9 +533,6 @@ struct OptionsGroupInfo ~OptionsGroupInfo() { delete m_pInItemSet; delete m_pOutItemSet; } }; -/* -----------------04.05.99 15:51------------------- - * - * --------------------------------------------------*/ sal_Bool OfaOptionsTreeListBox::Collapse( SvLBoxEntry* pParent ) { bInCollapse = sal_True; @@ -621,10 +608,6 @@ OfaTreeOptionsDialog::OfaTreeOptionsDialog( Window* pParent, const rtl::OUString ActivateLastSelection(); } -/* -----------------11.02.99 07:58------------------- - * - * --------------------------------------------------*/ - OfaTreeOptionsDialog::~OfaTreeOptionsDialog() { SvLBoxEntry* pEntry = aTreeLB.First(); @@ -682,9 +665,6 @@ OfaTreeOptionsDialog::~OfaTreeOptionsDialog() deleteGroupNames(); } -/* -----------------11.02.99 08:21------------------- - * - * --------------------------------------------------*/ OptionsPageInfo* OfaTreeOptionsDialog::AddTabPage( sal_uInt16 nId, const String& rPageName, sal_uInt16 nGroup ) { @@ -696,9 +676,7 @@ OptionsPageInfo* OfaTreeOptionsDialog::AddTabPage( return pPageInfo; } -/* -----------------11.02.99 10:02------------------- - * der ItemSet* geht in den Besitz des Dialogs - * --------------------------------------------------*/ +// der ItemSet* geht in den Besitz des Dialogs sal_uInt16 OfaTreeOptionsDialog::AddGroup(const String& rGroupName, SfxShell* pCreateShell, SfxModule* pCreateModule, @@ -719,9 +697,6 @@ sal_uInt16 OfaTreeOptionsDialog::AddGroup(const String& rGroupName, return nRet - 1; } -/* -----------------11.02.99 10:31------------------- - * - * --------------------------------------------------*/ IMPL_LINK(OfaTreeOptionsDialog, ShowPageHdl_Impl, SvTreeListBox*, EMPTYARG) { if ( aSelectTimer.GetTimeout() == SELECT_FIRST_TIMEOUT ) @@ -734,9 +709,7 @@ IMPL_LINK(OfaTreeOptionsDialog, ShowPageHdl_Impl, SvTreeListBox*, EMPTYARG) return 0; } -/* -----------------11.02.99 10:49------------------- - * - * --------------------------------------------------*/ + IMPL_LINK( OfaTreeOptionsDialog, BackHdl_Impl, PushButton*, EMPTYARG ) { if ( pCurrentPageEntry && aTreeLB.GetParent( pCurrentPageEntry ) ) @@ -756,9 +729,7 @@ IMPL_LINK( OfaTreeOptionsDialog, BackHdl_Impl, PushButton*, EMPTYARG ) } return 0; } -/* -----------------11.02.99 16:45------------------- - * - * --------------------------------------------------*/ + IMPL_LINK( OfaTreeOptionsDialog, OKHdl_Impl, Button *, EMPTYARG ) { aTreeLB.EndSelection(); @@ -809,9 +780,7 @@ IMPL_LINK( OfaTreeOptionsDialog, OKHdl_Impl, Button *, EMPTYARG ) return 0; } -/* -----------------17.02.99 09:15------------------- - * Eine aufgeklappte Gruppe soll vollstaendig sichtbar sein - * --------------------------------------------------*/ +// Eine aufgeklappte Gruppe soll vollstaendig sichtbar sein IMPL_LINK(OfaTreeOptionsDialog, ExpandedHdl_Impl, SvTreeListBox*, pBox ) { pBox->Update(); @@ -846,9 +815,6 @@ IMPL_LINK(OfaTreeOptionsDialog, ExpandedHdl_Impl, SvTreeListBox*, pBox ) return 0; } -/* -----------------11.02.99 10:49------------------- - * - * --------------------------------------------------*/ void OfaTreeOptionsDialog::ApplyItemSets() { SvLBoxEntry* pEntry = aTreeLB.First(); @@ -910,9 +876,6 @@ void OfaTreeOptionsDialog::InitTreeAndHandler() aSelectTimer.SetTimeoutHdl( LINK( this, OfaTreeOptionsDialog, SelectHdl_Impl ) ); } -/* -----------------17.02.99 09:51------------------- - * - * --------------------------------------------------*/ void OfaTreeOptionsDialog::ActivatePage( sal_uInt16 nResId ) { bIsForSetDocumentLanguage = false; @@ -943,9 +906,6 @@ void OfaTreeOptionsDialog::ActivatePage( const String& rPageURL ) ActivateLastSelection(); } -/* -----------------16.02.99 13:17------------------- - * - * --------------------------------------------------*/ void OfaTreeOptionsDialog::ActivateLastSelection() { SvLBoxEntry* pEntry = NULL; @@ -1020,9 +980,6 @@ void OfaTreeOptionsDialog::ActivateLastSelection() aTreeLB.GrabFocus(); } -/* -----------------22.02.99 08:52------------------- - * - * --------------------------------------------------*/ long OfaTreeOptionsDialog::Notify( NotifyEvent& rNEvt ) { if ( rNEvt.GetType() == EVENT_KEYINPUT ) @@ -1442,10 +1399,6 @@ IMPL_LINK( OfaTreeOptionsDialog, SelectHdl_Impl, Timer*, EMPTYARG ) return 0; } -/* -----------------11.02.99 15:51------------------- - * - * --------------------------------------------------*/ - OfaPageResource::OfaPageResource() : Resource(CUI_RES(RID_OFADLG_OPTIONS_TREE_PAGES)), aGeneralDlgAry(CUI_RES(SID_GENERAL_OPTIONS)), diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 10797c780615..903ae3eeb55d 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -81,10 +81,6 @@ static ::com::sun::star::uno::Reference< return xMSF; } -/*-----------------14.10.96 15.47------------------- - ---------------------------------------------------*/ - OfaAutoCorrDlg::OfaAutoCorrDlg(Window* pParent, const SfxItemSet* _pSet ) : SfxTabDialog(pParent, CUI_RES( RID_OFA_AUTOCORR_DLG ), _pSet), aLanguageFT( this, CUI_RES(FT_LANG )), @@ -168,9 +164,6 @@ OfaAutoCorrDlg::OfaAutoCorrDlg(Window* pParent, const SfxItemSet* _pSet ) : if ( bOpenSmartTagOptions ) SetCurPageId( RID_OFAPAGE_SMARTTAG_OPTIONS ); } -/*-----------------16.10.96 14.06------------------- - ---------------------------------------------------*/ BOOL lcl_FindEntry( ListBox& rLB, const String& rEntry, CollatorWrapper& rCmpClass ) @@ -191,9 +184,6 @@ BOOL lcl_FindEntry( ListBox& rLB, const String& rEntry, return FALSE; } -/* -----------------23.11.98 10:46------------------- - * - * --------------------------------------------------*/ IMPL_LINK(OfaAutoCorrDlg, SelectLanguageHdl, ListBox*, pBox) { USHORT nPos = pBox->GetSelectEntryPos(); @@ -210,9 +200,6 @@ IMPL_LINK(OfaAutoCorrDlg, SelectLanguageHdl, ListBox*, pBox) } return 0; } -/*-----------------14.10.96 15.57------------------- - ---------------------------------------------------*/ OfaAutocorrOptionsPage::OfaAutocorrOptionsPage( Window* pParent, const SfxItemSet& rSet ) : @@ -233,29 +220,15 @@ OfaAutocorrOptionsPage::OfaAutocorrOptionsPage( Window* pParent, aCheckLB.SetHelpId(HID_OFAPAGE_AUTOCORR_CLB); } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - - OfaAutocorrOptionsPage::~OfaAutocorrOptionsPage() { } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - - SfxTabPage* OfaAutocorrOptionsPage::Create( Window* pParent, const SfxItemSet& rSet) { return new OfaAutocorrOptionsPage(pParent, rSet); } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - BOOL OfaAutocorrOptionsPage::FillItemSet( SfxItemSet& ) { @@ -282,19 +255,11 @@ BOOL OfaAutocorrOptionsPage::FillItemSet( SfxItemSet& ) return bReturn; } -/* -----------------23.11.98 16:15------------------- - * - * --------------------------------------------------*/ void OfaAutocorrOptionsPage::ActivatePage( const SfxItemSet& ) { ((OfaAutoCorrDlg*)GetTabDialog())->EnableLanguage(FALSE); } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - - void OfaAutocorrOptionsPage::Reset( const SfxItemSet& ) { SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get()->GetAutoCorrect(); @@ -695,9 +660,6 @@ BOOL OfaSwAutoFmtOptionsPage::FillItemSet( SfxItemSet& ) return TRUE; } -/* -----------------23.11.98 16:15------------------- - * - * --------------------------------------------------*/ void OfaSwAutoFmtOptionsPage::ActivatePage( const SfxItemSet& ) { ((OfaAutoCorrDlg*)GetTabDialog())->EnableLanguage(FALSE); @@ -938,9 +900,7 @@ void OfaACorrCheckListBox::HBarClick() { // Sortierung durch diese Ueberladung abgeklemmt } -/* -----------------------------22.05.2002 11:06------------------------------ - ---------------------------------------------------------------------------*/ void OfaACorrCheckListBox::KeyInput( const KeyEvent& rKEvt ) { if(!rKEvt.GetKeyCode().GetModifier() && @@ -967,9 +927,7 @@ void OfaACorrCheckListBox::KeyInput( const KeyEvent& rKEvt ) else SvxSimpleTable::KeyInput(rKEvt); } -/* -----------------19.11.98 15:57------------------- - * - * --------------------------------------------------*/ + struct DoubleString { String sShort; @@ -980,9 +938,6 @@ typedef DoubleString* DoubleStringPtr; SV_DECL_PTRARR_DEL(DoubleStringArray, DoubleStringPtr, 4, 4) SV_IMPL_PTRARR(DoubleStringArray, DoubleStringPtr); -/* -----------------19.11.98 16:07------------------- - * - * --------------------------------------------------*/ void lcl_ClearTable(DoubleStringTable& rTable) { DoubleStringArrayPtr pArray = rTable.Last(); @@ -995,10 +950,6 @@ void lcl_ClearTable(DoubleStringTable& rTable) rTable.Clear(); } -/*-----------------14.10.96 15.57------------------- - ---------------------------------------------------*/ - OfaAutocorrReplacePage::OfaAutocorrReplacePage( Window* pParent, const SfxItemSet& rSet ) : SfxTabPage(pParent, CUI_RES( RID_OFAPAGE_AUTOCORR_REPLACE ), rSet), @@ -1045,11 +996,6 @@ OfaAutocorrReplacePage::OfaAutocorrReplacePage( Window* pParent, aShortED.SetMaxTextLen(30); } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - - OfaAutocorrReplacePage::~OfaAutocorrReplacePage() { delete pFormatText; @@ -1057,34 +1003,24 @@ OfaAutocorrReplacePage::~OfaAutocorrReplacePage() delete pCompareClass; delete pCharClass; } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ SfxTabPage* OfaAutocorrReplacePage::Create( Window* pParent, const SfxItemSet& rSet) { return new OfaAutocorrReplacePage(pParent, rSet); } -/* -----------------20.11.98 13:26------------------- - * - * --------------------------------------------------*/ + void OfaAutocorrReplacePage::ActivatePage( const SfxItemSet& ) { if(eLang != eLastDialogLanguage) SetLanguage(eLastDialogLanguage); ((OfaAutoCorrDlg*)GetTabDialog())->EnableLanguage(TRUE); } -/* -----------------20.11.98 13:26------------------- - * - * --------------------------------------------------*/ + int OfaAutocorrReplacePage::DeactivatePage( SfxItemSet* ) { return LEAVE_PAGE; } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ BOOL OfaAutocorrReplacePage::FillItemSet( SfxItemSet& ) { @@ -1218,9 +1154,6 @@ BOOL OfaAutocorrReplacePage::FillItemSet( SfxItemSet& ) return FALSE; } -/* -----------------19.11.98 13:16------------------- - * - * --------------------------------------------------*/ void OfaAutocorrReplacePage::RefillReplaceBox(BOOL bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage) @@ -1330,9 +1263,6 @@ void OfaAutocorrReplacePage::RefillReplaceBox(BOOL bFromReset, else aTextOnlyCB.Enable( FALSE ); } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ void OfaAutocorrReplacePage::Reset( const SfxItemSet& ) { @@ -1340,9 +1270,6 @@ void OfaAutocorrReplacePage::Reset( const SfxItemSet& ) aShortED.GrabFocus(); } -/* -----------------23.11.98 10:33------------------- - * - * --------------------------------------------------*/ void OfaAutocorrReplacePage::SetLanguage(LanguageType eSet) { //save old settings an refill @@ -1360,10 +1287,6 @@ void OfaAutocorrReplacePage::SetLanguage(LanguageType eSet) ModifyHdl(&aShortED); } } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - IMPL_LINK(OfaAutocorrReplacePage, SelectHdl, SvTabListBox*, pBox) { @@ -1395,11 +1318,6 @@ IMPL_LINK(OfaAutocorrReplacePage, SelectHdl, SvTabListBox*, pBox) return 0; }; -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - - IMPL_LINK(OfaAutocorrReplacePage, NewDelHdl, PushButton*, pBtn) { SvLBoxEntry* _pEntry = aReplaceTLB.FirstSelected(); @@ -1466,9 +1384,6 @@ IMPL_LINK(OfaAutocorrReplacePage, NewDelHdl, PushButton*, pBtn) return 1; } -/*-----------------17.10.96 07.49------------------- - ---------------------------------------------------*/ IMPL_LINK(OfaAutocorrReplacePage, ModifyHdl, Edit*, pEdt) { SvLBoxEntry* pFirstSel = aReplaceTLB.FirstSelected(); @@ -1554,10 +1469,6 @@ IMPL_LINK(OfaAutocorrReplacePage, ModifyHdl, Edit*, pEdt) return 0; } -/* -----------------20.11.98 13:48------------------- - * - * --------------------------------------------------*/ - struct StringsArrays { @@ -1568,9 +1479,7 @@ struct StringsArrays aAbbrevStrings(5,5), aDoubleCapsStrings(5,5) {} }; typedef StringsArrays* StringsArraysPtr; -/* -----------------19.11.98 16:07------------------- - * - * --------------------------------------------------*/ + BOOL lcl_FindInArray(SvStringsDtor& rStrings, const String& rString) { for(USHORT i = 0; i < rStrings.Count(); i++) @@ -1590,10 +1499,6 @@ void lcl_ClearTable(StringsTable& rTable) rTable.Clear(); } -/*-----------------14.10.96 15.57------------------- - ---------------------------------------------------*/ - OfaAutocorrExceptPage::OfaAutocorrExceptPage( Window* pParent, const SfxItemSet& rSet ) : SfxTabPage(pParent, CUI_RES( RID_OFAPAGE_AUTOCORR_EXCEPT ), rSet), @@ -1633,44 +1538,29 @@ OfaAutocorrExceptPage::OfaAutocorrExceptPage( Window* pParent, } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - OfaAutocorrExceptPage::~OfaAutocorrExceptPage() { lcl_ClearTable(aStringsTable); delete pCompareClass; } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - SfxTabPage* OfaAutocorrExceptPage::Create( Window* pParent, const SfxItemSet& rSet) { return new OfaAutocorrExceptPage(pParent, rSet); } -/* -----------------20.11.98 13:26------------------- - * - * --------------------------------------------------*/ + void OfaAutocorrExceptPage::ActivatePage( const SfxItemSet& ) { if(eLang != eLastDialogLanguage) SetLanguage(eLastDialogLanguage); ((OfaAutoCorrDlg*)GetTabDialog())->EnableLanguage(TRUE); } -/* -----------------20.11.98 13:26------------------- - * - * --------------------------------------------------*/ + int OfaAutocorrExceptPage::DeactivatePage( SfxItemSet* ) { return LEAVE_PAGE; } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ BOOL OfaAutocorrExceptPage::FillItemSet( SfxItemSet& ) { @@ -1780,9 +1670,6 @@ BOOL OfaAutocorrExceptPage::FillItemSet( SfxItemSet& ) return FALSE; } -/* -----------------23.11.98 10:33------------------- - * - * --------------------------------------------------*/ void OfaAutocorrExceptPage::SetLanguage(LanguageType eSet) { if(eLang != eSet) @@ -1799,9 +1686,7 @@ void OfaAutocorrExceptPage::SetLanguage(LanguageType eSet) ModifyHdl(&aDoubleCapsED); } } -/* -----------------20.11.98 14:06------------------- - * - * --------------------------------------------------*/ + void OfaAutocorrExceptPage::RefillReplaceBoxes(BOOL bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage) @@ -1875,10 +1760,6 @@ void OfaAutocorrExceptPage::RefillReplaceBoxes(BOOL bFromReset, } } -/*-----------------14.10.96 15.58------------------- - ---------------------------------------------------*/ - void OfaAutocorrExceptPage::Reset( const SfxItemSet& ) { SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get()->GetAutoCorrect(); @@ -1889,11 +1770,6 @@ void OfaAutocorrExceptPage::Reset( const SfxItemSet& ) aAutoCapsCB.SaveValue(); } -/*-----------------16.10.96 12.27------------------- - ---------------------------------------------------*/ - - IMPL_LINK(OfaAutocorrExceptPage, NewDelHdl, PushButton*, pBtn) { if((pBtn == &aNewAbbrevPB || pBtn == (PushButton*)&aAbbrevED ) @@ -1921,10 +1797,6 @@ IMPL_LINK(OfaAutocorrExceptPage, NewDelHdl, PushButton*, pBtn) return 0; } -/*-----------------16.10.96 12.57------------------- - ---------------------------------------------------*/ - IMPL_LINK(OfaAutocorrExceptPage, SelectHdl, ListBox*, pBox) { if(pBox == &aAbbrevLB) @@ -1942,10 +1814,6 @@ IMPL_LINK(OfaAutocorrExceptPage, SelectHdl, ListBox*, pBox) return 0; } -/*-----------------16.10.96 13.02------------------- - ---------------------------------------------------*/ - IMPL_LINK(OfaAutocorrExceptPage, ModifyHdl, Edit*, pEdt) { // BOOL bSame = pEdt->GetText() == ->GetSelectEntry(); @@ -1970,10 +1838,6 @@ IMPL_LINK(OfaAutocorrExceptPage, ModifyHdl, Edit*, pEdt) return 0; } -/*-----------------16.10.96 15.03------------------- - ---------------------------------------------------*/ - void AutoCorrEdit::KeyInput( const KeyEvent& rKEvt ) { const KeyCode aKeyCode = rKEvt.GetKeyCode(); @@ -1989,10 +1853,6 @@ void AutoCorrEdit::KeyInput( const KeyEvent& rKEvt ) Edit::KeyInput(rKEvt); } -/*-----------------03.07.97 13:17------------------- - ---------------------------------------------------*/ - enum OfaQuoteOptions { ADD_NONBRK_SPACE, @@ -2104,24 +1964,18 @@ OfaQuoteTabPage::OfaQuoteTabPage( Window* pParent, const SfxItemSet& rSet ) : aSglStandardPB.SetClickHdl(LINK(this, OfaQuoteTabPage, StdQuoteHdl)); } -/*-----------------03.07.97 13:17------------------- ---------------------------------------------------*/ OfaQuoteTabPage::~OfaQuoteTabPage() { delete( pCheckButtonData ); } -/*-----------------03.07.97 13:17------------------- ---------------------------------------------------*/ SfxTabPage* OfaQuoteTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet) { return new OfaQuoteTabPage(pParent, rAttrSet); } -/*-----------------03.07.97 13:18------------------- ---------------------------------------------------*/ BOOL OfaQuoteTabPage::FillItemSet( SfxItemSet& ) { SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get()->GetAutoCorrect(); @@ -2189,16 +2043,12 @@ BOOL OfaQuoteTabPage::FillItemSet( SfxItemSet& ) } return bReturn; } -/* -----------------23.11.98 16:15------------------- - * - * --------------------------------------------------*/ + void OfaQuoteTabPage::ActivatePage( const SfxItemSet& ) { ((OfaAutoCorrDlg*)GetTabDialog())->EnableLanguage(FALSE); } -/*-----------------03.07.97 13:18------------------- ---------------------------------------------------*/ void OfaQuoteTabPage::Reset( const SfxItemSet& ) { SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get()->GetAutoCorrect(); @@ -2256,10 +2106,6 @@ void OfaQuoteTabPage::Reset( const SfxItemSet& ) aDblEndExFT .SetText(ChangeStringExt_Impl(cEndQuote)); } - -/*-----------------15.10.96 16.42------------------- - ---------------------------------------------------*/ #define SGL_START 0 #define DBL_START 1 #define SGL_END 2 @@ -2342,9 +2188,6 @@ IMPL_LINK( OfaQuoteTabPage, QuoteHdl, PushButton*, pBtn ) return 0; } -/*-----------------27.06.97 09.55------------------- - ---------------------------------------------------*/ IMPL_LINK( OfaQuoteTabPage, StdQuoteHdl, PushButton*, pBtn ) { if(pBtn == &aDblStandardPB) diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index d3224b6bf78b..4165efb1e969 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -113,9 +113,7 @@ struct SvxBackgroundPage_Impl SvxBackgroundPage_Impl() : pLoadTimer(NULL), bIsImportDlgInExecute(FALSE) {} }; -/* -----------------------------15.08.2002 12:21------------------------------ - ---------------------------------------------------------------------------*/ inline BYTE lcl_PercentToTransparency(long nPercent) { //0xff must not be returned! @@ -318,9 +316,7 @@ void BackgroundPreviewImpl::Paint( const Rectangle& ) } } } -/* -----------------------------27.02.2002 11:07------------------------------ - ---------------------------------------------------------------------------*/ void BackgroundPreviewImpl::DataChanged( const DataChangedEvent& rDCEvt ) { if ( (rDCEvt.GetType() == DATACHANGED_SETTINGS) && @@ -1935,9 +1931,7 @@ void SvxBackgroundTabPage::FillControls_Impl( const SvxBrushItem& rBgdAttr, SetGraphicPosition_Impl( ePos ); } } -/* -----------------------------09.08.2002 14:04------------------------------ - ---------------------------------------------------------------------------*/ void SvxBackgroundTabPage::EnableTransparency(BOOL bColor, BOOL bGraphic) { bColTransparency = bColor; diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index e0356b2b5391..c9f2cb482f88 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -3343,9 +3343,6 @@ IMPL_LINK( SvxCharPositionPage, ScaleWidthModifyHdl_Impl, MetricField*, EMPTYARG return 0; } -/* -----------------28.08.2003 12:12----------------- - - --------------------------------------------------*/ void SvxCharPositionPage::ActivatePage( const SfxItemSet& rSet ) { //update the preview diff --git a/cui/source/tabpages/labdlg.cxx b/cui/source/tabpages/labdlg.cxx index 4eeb6be807fe..898186031f1b 100644 --- a/cui/source/tabpages/labdlg.cxx +++ b/cui/source/tabpages/labdlg.cxx @@ -640,9 +640,7 @@ void SvxCaptionTabDialog::PageCreated( USHORT nId, SfxTabPage &rPage ) break; } } -/*-- 05.03.2004 13:54:26--------------------------------------------------- - -----------------------------------------------------------------------*/ void SvxCaptionTabDialog::SetValidateFramePosLink( const Link& rLink ) { aValidateLink = rLink; diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index 1fe6de438dc0..8ce06eb1b3e7 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -1925,12 +1925,11 @@ void SvxNumberFormatTabPage::SetCategory(USHORT nPos) } aLbCategory.SelectEntryPos(nPos); } -/* -----------------12.11.2002 14:35----------------- - * to support Writer text field language handling an - * additional entry needs to be inserted into the ListBox - * which marks a certain language as automatically detected - * Additionally the "Default" language is removed - * --------------------------------------------------*/ +/* to support Writer text field language handling an + additional entry needs to be inserted into the ListBox + which marks a certain language as automatically detected + Additionally the "Default" language is removed +*/ void SvxNumberFormatTabPage::AddAutomaticLanguage_Impl(LanguageType eAutoLang, BOOL bSelect) { aLbLanguage.RemoveLanguage(LANGUAGE_SYSTEM); diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 0a1e02b78a9e..339abf62895c 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -94,9 +94,6 @@ using rtl::OUString; SV_IMPL_PTRARR(SvxNumSettingsArr_Impl,SvxNumSettings_ImplPtr); -/*-----------------07.02.97 15.37------------------- - ---------------------------------------------------*/ #define NUM_PAGETYPE_BULLET 0 #define NUM_PAGETYPE_SINGLENUM 1 #define NUM_PAGETYPE_NUM 2 @@ -118,9 +115,7 @@ static const sal_Char cPrefix[] = "Prefix"; static const sal_Char cSuffix[] = "Suffix"; static const sal_Char cBulletChar[] = "BulletChar"; static const sal_Char cBulletFontName[] = "BulletFontName"; -/* -----------------------------31.01.01 10:23-------------------------------- - ---------------------------------------------------------------------------*/ Reference<XDefaultNumberingProvider> lcl_GetNumberingProvider() { Reference< XMultiServiceFactory > xMSF = ::comphelper::getProcessServiceFactory(); @@ -131,9 +126,7 @@ Reference<XDefaultNumberingProvider> lcl_GetNumberingProvider() return xRet; } -/* -----------------------------31.01.01 11:40-------------------------------- - ---------------------------------------------------------------------------*/ SvxNumSettings_ImplPtr lcl_CreateNumSettingsPtr(const Sequence<PropertyValue>& rLevelProps) { const PropertyValue* pValues = rLevelProps.getConstArray(); @@ -155,9 +148,7 @@ SvxNumSettings_ImplPtr lcl_CreateNumSettingsPtr(const Sequence<PropertyValue>& r } return pNew; } -/* -----------------28.10.98 08:32------------------- - * - * --------------------------------------------------*/ + // Die Auswahl an Bullets aus den StarSymbol static const sal_Unicode aBulletTypes[] = { @@ -170,9 +161,7 @@ static const sal_Unicode aBulletTypes[] = 0x2717, 0x2714 }; -/* -----------------28.10.98 09:42------------------- - * - * --------------------------------------------------*/ + static sal_Char __READONLY_DATA aNumChar[] = { 'A', //CHARS_UPPER_LETTER @@ -183,9 +172,7 @@ static sal_Char __READONLY_DATA aNumChar[] = ' ' }; -/*-----------------18.03.98 08:35------------------- - Ist eins der maskierten Formate gesetzt? ---------------------------------------------------*/ +// Ist eins der maskierten Formate gesetzt? BOOL lcl_IsNumFmtSet(SvxNumRule* pNum, USHORT nLevelMask) { BOOL bRet = FALSE; @@ -198,9 +185,6 @@ BOOL lcl_IsNumFmtSet(SvxNumRule* pNum, USHORT nLevelMask) } return bRet; } -/* -----------------28.10.98 08:50------------------- - * - * --------------------------------------------------*/ Font& lcl_GetDefaultBulletFont() { @@ -273,9 +257,6 @@ SvxSingleNumPickTabPage::SvxSingleNumPickTabPage(Window* pParent, pExamplesVS->SetNumberingSettings(aNumberings, xFormat, aLocale); } } -/*-----------------07.02.97 12.08------------------- - ---------------------------------------------------*/ SvxSingleNumPickTabPage::~SvxSingleNumPickTabPage() { @@ -285,21 +266,12 @@ SvxSingleNumPickTabPage::SvxSingleNumPickTabPage(Window* pParent, aNumSettingsArr.DeleteAndDestroy(0, aNumSettingsArr.Count()); } -/*-----------------07.02.97 12.13------------------- - ---------------------------------------------------*/ - SfxTabPage* SvxSingleNumPickTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet) { return new SvxSingleNumPickTabPage(pParent, rAttrSet); } -/*-----------------07.02.97 12.09------------------- - ---------------------------------------------------*/ - - BOOL SvxSingleNumPickTabPage::FillItemSet( SfxItemSet& rSet ) { if( (bPreset || bModified) && pSaveNum) @@ -312,10 +284,6 @@ BOOL SvxSingleNumPickTabPage::FillItemSet( SfxItemSet& rSet ) return bModified; } -/*-----------------08.02.97 16.27------------------- - ---------------------------------------------------*/ - void SvxSingleNumPickTabPage::ActivatePage(const SfxItemSet& rSet) { const SfxPoolItem* pItem; @@ -351,10 +319,6 @@ void SvxSingleNumPickTabPage::ActivatePage(const SfxItemSet& rSet) bModified = FALSE; } -/*-----------------08.02.97 11.28------------------- - ---------------------------------------------------*/ - int SvxSingleNumPickTabPage::DeactivatePage(SfxItemSet *_pSet) { if(_pSet) @@ -362,11 +326,6 @@ int SvxSingleNumPickTabPage::DeactivatePage(SfxItemSet *_pSet) return TRUE; } -/*-----------------07.02.97 12.09------------------- - ---------------------------------------------------*/ - - void SvxSingleNumPickTabPage::Reset( const SfxItemSet& rSet ) { const SfxPoolItem* pItem; @@ -393,9 +352,6 @@ void SvxSingleNumPickTabPage::Reset( const SfxItemSet& rSet ) else if(*pSaveNum != *pActNum) *pActNum = *pSaveNum; } -/*-----------------08.02.97 11.40------------------- - ---------------------------------------------------*/ IMPL_LINK(SvxSingleNumPickTabPage, NumSelectHdl_Impl, ValueSet*, EMPTYARG) { @@ -439,9 +395,6 @@ IMPL_LINK(SvxSingleNumPickTabPage, NumSelectHdl_Impl, ValueSet*, EMPTYARG) return 0; } -/*-----------------06.06.97 11.15------------------- - ---------------------------------------------------*/ IMPL_LINK(SvxSingleNumPickTabPage, DoubleClickHdl_Impl, ValueSet*, EMPTYARG) { NumSelectHdl_Impl(pExamplesVS); @@ -475,10 +428,6 @@ SvxBulletPickTabPage::SvxBulletPickTabPage(Window* pParent, pExamplesVS->SetHelpId(HID_VALUESET_BULLET ); } -/*-----------------07.02.97 12.10------------------- - ---------------------------------------------------*/ - SvxBulletPickTabPage::~SvxBulletPickTabPage() { @@ -486,10 +435,6 @@ SvxBulletPickTabPage::SvxBulletPickTabPage(Window* pParent, delete pExamplesVS; delete pSaveNum; } -/*-----------------07.02.97 12.10------------------- - ---------------------------------------------------*/ - SfxTabPage* SvxBulletPickTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet) @@ -497,11 +442,6 @@ SfxTabPage* SvxBulletPickTabPage::Create( Window* pParent, return new SvxBulletPickTabPage(pParent, rAttrSet); } -/*-----------------07.02.97 12.10------------------- - ---------------------------------------------------*/ - - BOOL SvxBulletPickTabPage::FillItemSet( SfxItemSet& rSet ) { if( (bPreset || bModified) && pActNum) @@ -512,9 +452,6 @@ BOOL SvxBulletPickTabPage::FillItemSet( SfxItemSet& rSet ) } return bModified; } -/*-----------------08.02.97 16.28------------------- - ---------------------------------------------------*/ void SvxBulletPickTabPage::ActivatePage(const SfxItemSet& rSet) { @@ -549,9 +486,6 @@ void SvxBulletPickTabPage::ActivatePage(const SfxItemSet& rSet) bPreset |= bIsPreset; bModified = FALSE; } -/*-----------------08.02.97 11.28------------------- - ---------------------------------------------------*/ int SvxBulletPickTabPage::DeactivatePage(SfxItemSet *_pSet) { @@ -560,11 +494,6 @@ int SvxBulletPickTabPage::DeactivatePage(SfxItemSet *_pSet) return TRUE; } -/*-----------------07.02.97 12.11------------------- - ---------------------------------------------------*/ - - void SvxBulletPickTabPage::Reset( const SfxItemSet& rSet ) { const SfxPoolItem* pItem; @@ -593,9 +522,6 @@ void SvxBulletPickTabPage::Reset( const SfxItemSet& rSet ) else if(*pSaveNum != *pActNum) *pActNum = *pSaveNum; } -/*-----------------08.02.97 11.58------------------- - ---------------------------------------------------*/ IMPL_LINK(SvxBulletPickTabPage, NumSelectHdl_Impl, ValueSet*, EMPTYARG) { @@ -709,10 +635,6 @@ SvxNumPickTabPage::SvxNumPickTabPage(Window* pParent, pExamplesVS->SetOutlineNumberingSettings(aOutlineAccess, xFormat, aLocale); } } -/*-----------------07.02.97 12.12------------------- - ---------------------------------------------------*/ - SvxNumPickTabPage::~SvxNumPickTabPage() { @@ -721,22 +643,12 @@ SvxNumPickTabPage::SvxNumPickTabPage(Window* pParent, delete pSaveNum; } -/*-----------------07.02.97 12.12------------------- - ---------------------------------------------------*/ - - SfxTabPage* SvxNumPickTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet) { return new SvxNumPickTabPage(pParent, rAttrSet); } -/*-----------------07.02.97 12.12------------------- - ---------------------------------------------------*/ - - BOOL SvxNumPickTabPage::FillItemSet( SfxItemSet& rSet ) { if( (bPreset || bModified) && pActNum) @@ -747,9 +659,6 @@ BOOL SvxNumPickTabPage::FillItemSet( SfxItemSet& rSet ) } return bModified; } -/*-----------------08.02.97 16.28------------------- - ---------------------------------------------------*/ void SvxNumPickTabPage::ActivatePage(const SfxItemSet& rSet) { @@ -785,10 +694,6 @@ void SvxNumPickTabPage::ActivatePage(const SfxItemSet& rSet) bModified = FALSE; } -/* -----------------08.02.97 11.29------------------- - ---------------------------------------------------*/ - int SvxNumPickTabPage::DeactivatePage(SfxItemSet *_pSet) { if(_pSet) @@ -796,10 +701,6 @@ int SvxNumPickTabPage::DeactivatePage(SfxItemSet *_pSet) return TRUE; } -/*-----------------07.02.97 12.12------------------- - ---------------------------------------------------*/ - void SvxNumPickTabPage::Reset( const SfxItemSet& rSet ) { const SfxPoolItem* pItem; @@ -829,10 +730,7 @@ void SvxNumPickTabPage::Reset( const SfxItemSet& rSet ) } -/*-----------------08.02.97 11.58------------------- - Hier werden alle Ebenen veraendert, ---------------------------------------------------*/ - +// Hier werden alle Ebenen veraendert IMPL_LINK(SvxNumPickTabPage, NumSelectHdl_Impl, ValueSet*, EMPTYARG) { if(pActNum) @@ -1004,11 +902,7 @@ SvxBitmapPickTabPage::SvxBitmapPickTabPage(Window* pParent, } -/*-----------------12.02.97 07.46------------------- - ---------------------------------------------------*/ - - SvxBitmapPickTabPage::~SvxBitmapPickTabPage() +SvxBitmapPickTabPage::~SvxBitmapPickTabPage() { String* pStr = (String*)aGrfNames.First(); while( pStr ) @@ -1021,20 +915,12 @@ SvxBitmapPickTabPage::SvxBitmapPickTabPage(Window* pParent, delete pSaveNum; } -/*-----------------12.02.97 07.46------------------- - ---------------------------------------------------*/ - SfxTabPage* SvxBitmapPickTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet) { return new SvxBitmapPickTabPage(pParent, rAttrSet); } -/*-----------------12.02.97 07.46------------------- - ---------------------------------------------------*/ - void SvxBitmapPickTabPage::ActivatePage(const SfxItemSet& rSet) { const SfxPoolItem* pItem; @@ -1070,9 +956,6 @@ void SvxBitmapPickTabPage::ActivatePage(const SfxItemSet& rSet) bPreset |= bIsPreset; bModified = FALSE; } -/*-----------------12.02.97 07.46------------------- - ---------------------------------------------------*/ int SvxBitmapPickTabPage::DeactivatePage(SfxItemSet *_pSet) { @@ -1080,9 +963,6 @@ int SvxBitmapPickTabPage::DeactivatePage(SfxItemSet *_pSet) FillItemSet(*_pSet); return TRUE; } -/*-----------------12.02.97 07.46------------------- - ---------------------------------------------------*/ BOOL SvxBitmapPickTabPage::FillItemSet( SfxItemSet& rSet ) { @@ -1101,9 +981,6 @@ BOOL SvxBitmapPickTabPage::FillItemSet( SfxItemSet& rSet ) return bModified; } -/*-----------------12.02.97 07.46------------------- - ---------------------------------------------------*/ void SvxBitmapPickTabPage::Reset( const SfxItemSet& rSet ) { @@ -1142,10 +1019,6 @@ void SvxBitmapPickTabPage::Reset( const SfxItemSet& rSet ) } } -/*-----------------12.02.97 07.53------------------- - ---------------------------------------------------*/ - IMPL_LINK(SvxBitmapPickTabPage, NumSelectHdl_Impl, ValueSet*, EMPTYARG) { if(pActNum) @@ -1193,9 +1066,6 @@ IMPL_LINK(SvxBitmapPickTabPage, NumSelectHdl_Impl, ValueSet*, EMPTYARG) return 0; } -/*-----------------06.06.97 11.17------------------- - ---------------------------------------------------*/ IMPL_LINK(SvxBitmapPickTabPage, DoubleClickHdl_Impl, ValueSet*, EMPTYARG) { NumSelectHdl_Impl(pExamplesVS); @@ -1203,9 +1073,7 @@ IMPL_LINK(SvxBitmapPickTabPage, DoubleClickHdl_Impl, ValueSet*, EMPTYARG) rOk.GetClickHdl().Call(&rOk); return 0; } -/* -----------------03.11.99 13:46------------------- - --------------------------------------------------*/ IMPL_LINK(SvxBitmapPickTabPage, LinkBmpHdl_Impl, CheckBox*, EMPTYARG ) { if(!pExamplesVS->IsNoSelection()) @@ -1215,70 +1083,7 @@ IMPL_LINK(SvxBitmapPickTabPage, LinkBmpHdl_Impl, CheckBox*, EMPTYARG ) return 0; } -//CHINA001 SvxBmpNumValueSet::SvxBmpNumValueSet( Window* pParent, const ResId& rResId/*, const List& rStrNames*/ ) : -//CHINA001 -//CHINA001 SvxNumValueSet( pParent, rResId, NUM_PAGETYPE_BMP ), -//CHINA001 // rStrList ( rStrNames ), -//CHINA001 bGrfNotFound( FALSE ) -//CHINA001 -//CHINA001 { -//CHINA001 GalleryExplorer::BeginLocking(GALLERY_THEME_BULLETS); -//CHINA001 SetStyle( GetStyle() | WB_VSCROLL ); -//CHINA001 SetLineCount( 3 ); -//CHINA001 aFormatTimer.SetTimeout(300); -//CHINA001 aFormatTimer.SetTimeoutHdl(LINK(this, SvxBmpNumValueSet, FormatHdl_Impl)); -//CHINA001 } -//CHINA001 -//CHINA001 SvxBmpNumValueSet::~SvxBmpNumValueSet() -//CHINA001 { -//CHINA001 GalleryExplorer::EndLocking(GALLERY_THEME_BULLETS); -//CHINA001 aFormatTimer.Stop(); -//CHINA001 } -//CHINA001 -//CHINA001 void SvxBmpNumValueSet::UserDraw( const UserDrawEvent& rUDEvt ) -//CHINA001 { -//CHINA001 SvxNumValueSet::UserDraw(rUDEvt); -//CHINA001 -//CHINA001 Rectangle aRect = rUDEvt.GetRect(); -//CHINA001 OutputDevice* pDev = rUDEvt.GetDevice(); -//CHINA001 USHORT nItemId = rUDEvt.GetItemId(); -//CHINA001 Point aBLPos = aRect.TopLeft(); -//CHINA001 -//CHINA001 int nRectHeight = aRect.GetHeight(); -//CHINA001 Size aSize(nRectHeight/8, nRectHeight/8); -//CHINA001 -//CHINA001 Graphic aGraphic; -//CHINA001 if(!GalleryExplorer::GetGraphicObj( GALLERY_THEME_BULLETS, nItemId - 1, -//CHINA001 &aGraphic, NULL)) -//CHINA001 { -//CHINA001 bGrfNotFound = TRUE; -//CHINA001 } -//CHINA001 else -//CHINA001 { -//CHINA001 Point aPos(aBLPos.X() + 5, 0); -//CHINA001 for( USHORT i = 0; i < 3; i++ ) -//CHINA001 { -//CHINA001 USHORT nY = 11 + i * 33; -//CHINA001 aPos.Y() = aBLPos.Y() + nRectHeight * nY / 100; -//CHINA001 aGraphic.Draw( pDev, aPos, aSize ); -//CHINA001 } -//CHINA001 } -//CHINA001 } -//CHINA001 -//CHINA001 IMPL_LINK(SvxBmpNumValueSet, FormatHdl_Impl, Timer*, EMPTYARG) -//CHINA001 { -//CHINA001 // nur, wenn eine Grafik nicht da war, muss formatiert werden -//CHINA001 if(bGrfNotFound) -//CHINA001 { -//CHINA001 bGrfNotFound = FALSE; -//CHINA001 Format(); -//CHINA001 } -//CHINA001 Invalidate(); -//CHINA001 return 0; -//CHINA001 } -/*-----------------01.12.97 16:15------------------- - Tabpage Numerierungsoptionen ---------------------------------------------------*/ +// Tabpage Numerierungsoptionen #define NUM_NO_GRAPHIC 1000 SvxNumOptionsTabPage::SvxNumOptionsTabPage(Window* pParent, const SfxItemSet& rSet) : @@ -1422,9 +1227,6 @@ SvxNumOptionsTabPage::SvxNumOptionsTabPage(Window* pParent, } } -/*-----------------01.12.97 16:30------------------- - ---------------------------------------------------*/ SvxNumOptionsTabPage::~SvxNumOptionsTabPage() { delete aBitmapMB.GetPopupMenu()->GetPopupMenu( MN_GALLERY ); @@ -1439,9 +1241,6 @@ SvxNumOptionsTabPage::~SvxNumOptionsTabPage() delete pSaveNum; } -/*-----------------03.12.97 07:52------------------- - ---------------------------------------------------*/ void SvxNumOptionsTabPage::SetMetric(FieldUnit eMetric) { if(eMetric == FUNIT_MM) @@ -1453,17 +1252,12 @@ void SvxNumOptionsTabPage::SetMetric(FieldUnit eMetric) aHeightMF .SetUnit( eMetric ); } -/*-----------------01.12.97 16:30------------------- - ---------------------------------------------------*/ SfxTabPage* SvxNumOptionsTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet) { return new SvxNumOptionsTabPage(pParent, rAttrSet); }; -/*-----------------01.12.97 16:29------------------- ---------------------------------------------------*/ void SvxNumOptionsTabPage::ActivatePage(const SfxItemSet& rSet) { const SfxPoolItem* pItem; @@ -1504,18 +1298,14 @@ void SvxNumOptionsTabPage::ActivatePage(const SfxItemSet& rSet) } } -/*-----------------01.12.97 16:29------------------- ---------------------------------------------------*/ int SvxNumOptionsTabPage::DeactivatePage(SfxItemSet * _pSet) { if(_pSet) FillItemSet(*_pSet); return TRUE; } -/*-----------------01.12.97 16:29------------------- ---------------------------------------------------*/ BOOL SvxNumOptionsTabPage::FillItemSet( SfxItemSet& rSet ) { rSet.Put(SfxUInt16Item(SID_PARAM_CUR_NUM_LEVEL, nActNumLvl)); @@ -1527,9 +1317,7 @@ BOOL SvxNumOptionsTabPage::FillItemSet( SfxItemSet& rSet ) } return bModified; }; -/*-----------------01.12.97 16:29------------------- ---------------------------------------------------*/ void SvxNumOptionsTabPage::Reset( const SfxItemSet& rSet ) { const SfxPoolItem* pItem; @@ -1702,9 +1490,7 @@ void SvxNumOptionsTabPage::Reset( const SfxItemSet& rSet ) bModified = FALSE; } -/*-----------------02.12.97 13:47------------------- ---------------------------------------------------*/ void SvxNumOptionsTabPage::InitControls() { BOOL bShowBullet = TRUE; @@ -1885,10 +1671,7 @@ void SvxNumOptionsTabPage::InitControls() pPreviewWIN->Invalidate(); } -/*-----------------02.12.97 14:01------------------- - 0 - Nummer; 1 - Bullet; 2 - Bitmap ---------------------------------------------------*/ - +// 0 - Nummer; 1 - Bullet; 2 - Bitmap void SvxNumOptionsTabPage::SwitchNumberType( BYTE nType, BOOL ) { if(nBullet == nType) @@ -1963,9 +1746,7 @@ void SvxNumOptionsTabPage::SwitchNumberType( BYTE nType, BOOL ) aOrientLB .Enable(bEnableBitmap); } -/*-----------------02.12.97 13:51------------------- ---------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, LevelHdl_Impl, ListBox *, pBox ) { USHORT nSaveNumLvl = nActNumLvl; @@ -2007,17 +1788,13 @@ IMPL_LINK( SvxNumOptionsTabPage, LevelHdl_Impl, ListBox *, pBox ) InitControls(); return 0; } -/* -----------------------------05.04.2002 15:30------------------------------ - ---------------------------------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, PreviewInvalidateHdl_Impl, Timer*, EMPTYARG ) { pPreviewWIN->Invalidate(); return 0; } -/*-----------------03.12.97 12:01------------------- ---------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, AllLevelHdl_Impl, NumericField*, pBox ) { for(USHORT i = 0; i < pActNum->GetLevelCount(); i++) @@ -2038,9 +1815,6 @@ IMPL_LINK( SvxNumOptionsTabPage, AllLevelHdl_Impl, NumericField*, pBox ) return 0; } -/*-----------------02.12.97 08:56------------------- - ---------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, NumberTypeSelectHdl_Impl, ListBox *, pBox ) { String sSelectStyle; @@ -2129,9 +1903,7 @@ IMPL_LINK( SvxNumOptionsTabPage, NumberTypeSelectHdl_Impl, ListBox *, pBox ) } return 0; } -/* -----------------06.11.2002 14:27----------------- - * - * --------------------------------------------------*/ + void SvxNumOptionsTabPage::CheckForStartValue_Impl(sal_uInt16 nNumberingType) { BOOL bIsNull = aStartED.GetValue() == 0; @@ -2142,9 +1914,7 @@ void SvxNumOptionsTabPage::CheckForStartValue_Impl(sal_uInt16 nNumberingType) if(bIsNull && bNoZeroAllowed) aStartED.GetModifyHdl().Call(&aStartED); } -/*-----------------03.12.97 16:43------------------- ---------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, OrientHdl_Impl, ListBox *, pBox ) { USHORT nPos = pBox->GetSelectEntryPos(); @@ -2172,9 +1942,6 @@ IMPL_LINK( SvxNumOptionsTabPage, OrientHdl_Impl, ListBox *, pBox ) } -/*-----------------06.12.97 12:00------------------- - ---------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, SameLevelHdl_Impl, CheckBox *, pBox ) { BOOL bSet = pBox->IsChecked(); @@ -2193,9 +1960,7 @@ IMPL_LINK( SvxNumOptionsTabPage, SameLevelHdl_Impl, CheckBox *, pBox ) InitControls(); return 0; } -/* -----------------16.11.98 14:20------------------- - * - * --------------------------------------------------*/ + IMPL_LINK( SvxNumOptionsTabPage, BulColorHdl_Impl, ColorListBox*, pBox ) { Color nSetColor = pBox->GetSelectEntryColor(); @@ -2214,9 +1979,7 @@ IMPL_LINK( SvxNumOptionsTabPage, BulColorHdl_Impl, ColorListBox*, pBox ) SetModified(); return 0; } -/* -----------------16.11.98 14:20------------------- - * - * --------------------------------------------------*/ + IMPL_LINK( SvxNumOptionsTabPage, BulRelSizeHdl_Impl, MetricField *, pField) { USHORT nRelSize = (USHORT)pField->GetValue(); @@ -2236,9 +1999,6 @@ IMPL_LINK( SvxNumOptionsTabPage, BulRelSizeHdl_Impl, MetricField *, pField) return 0; } -/*-----------------02.12.97 10:50------------------- - ---------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, GraphicHdl_Impl, MenuButton *, pButton ) { USHORT nItemId = pButton->GetCurItemId(); @@ -2314,9 +2074,7 @@ IMPL_LINK( SvxNumOptionsTabPage, GraphicHdl_Impl, MenuButton *, pButton ) } return 0; } -/* -----------------27.07.99 12:20------------------- - --------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, PopupActivateHdl_Impl, Menu *, EMPTYARG ) { if(!bMenuButtonInitialized) @@ -2369,9 +2127,6 @@ IMPL_LINK( SvxNumOptionsTabPage, PopupActivateHdl_Impl, Menu *, EMPTYARG ) return 0; } -/*-----------------02.12.97 10:58------------------- - ---------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, BulletHdl_Impl, Button *, EMPTYARG ) { SvxCharacterMap* pMap = new SvxCharacterMap( this, TRUE ); @@ -2433,10 +2188,6 @@ IMPL_LINK( SvxNumOptionsTabPage, BulletHdl_Impl, Button *, EMPTYARG ) return 0; } -/*-----------------03.03.97 15:21------------------- - ---------------------------------------------------*/ - IMPL_LINK( SvxNumOptionsTabPage, SizeHdl_Impl, MetricField *, pField) { BOOL bWidth = pField == &aWidthMF; @@ -2521,9 +2272,6 @@ IMPL_LINK( SvxNumOptionsTabPage, RatioHdl_Impl, CheckBox *, pBox ) return 0; } -/*-----------------02.12.97 16:07------------------- - ---------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, CharFmtHdl_Impl, ListBox *, EMPTYARG ) { bAutomaticCharStyles = FALSE; @@ -2552,9 +2300,6 @@ IMPL_LINK( SvxNumOptionsTabPage, CharFmtHdl_Impl, ListBox *, EMPTYARG ) }; -/*-----------------03.12.97 11:01------------------- - ---------------------------------------------------*/ IMPL_LINK( SvxNumOptionsTabPage, EditModifyHdl_Impl, Edit *, pEdit ) { BOOL bPrefix = pEdit == &aPrefixED; @@ -2591,9 +2336,6 @@ IMPL_LINK( SvxNumOptionsTabPage, EditModifyHdl_Impl, Edit *, pEdit ) return 0; } -/*-----------------09.12.97 11:49------------------- - ---------------------------------------------------*/ USHORT lcl_DrawGraphic(VirtualDevice* pVDev, const SvxNumberFormat &rFmt, USHORT nXStart, USHORT nYStart, USHORT nDivision) { @@ -2616,9 +2358,6 @@ USHORT lcl_DrawGraphic(VirtualDevice* pVDev, const SvxNumberFormat &rFmt, USHORT } -/*-----------------09.12.97 11:54------------------- - ---------------------------------------------------*/ USHORT lcl_DrawBullet(VirtualDevice* pVDev, const SvxNumberFormat& rFmt, USHORT nXStart, USHORT nYStart, const Size& rSize) @@ -2653,9 +2392,8 @@ USHORT lcl_DrawBullet(VirtualDevice* pVDev, pVDev->SetFont(aTmpFont); return nRet; } -/*-----------------02.12.97 10:34------------------- - Vorschau der Numerierung painten ---------------------------------------------------*/ + +// Vorschau der Numerierung painten void SvxNumberingPreview::Paint( const Rectangle& /*rRect*/ ) { Size aSize(PixelToLogic(GetOutputSizePixel())); @@ -2955,9 +2693,6 @@ void SvxNumberingPreview::Paint( const Rectangle& /*rRect*/ ) } -/*-----------------03.12.97 10:02------------------- - ---------------------------------------------------*/ SvxNumPositionTabPage::SvxNumPositionTabPage(Window* pParent, const SfxItemSet& rSet) : SfxTabPage( pParent, CUI_RES( RID_SVXPAGE_NUM_POSITION ), rSet ), @@ -3059,9 +2794,7 @@ SvxNumPositionTabPage::SvxNumPositionTabPage(Window* pParent, pDebugFixedText->SetText( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "Das ist ein Debug-Text" ) ) ); #endif } -/*-----------------03.12.97 10:02------------------- ---------------------------------------------------*/ SvxNumPositionTabPage::~SvxNumPositionTabPage() { delete pActNum; @@ -3101,9 +2834,6 @@ void lcl_PrintDebugOutput(FixedText& rFixed, const SvxNumberFormat& rNumFmt) } #endif -/*-----------------03.12.97 10:06------------------- - ---------------------------------------------------*/ void SvxNumPositionTabPage::InitControls() { bInInintControl = TRUE; @@ -3303,9 +3033,6 @@ void SvxNumPositionTabPage::InitControls() bInInintControl = FALSE; } -/*-----------------03.12.97 10:02------------------- - ---------------------------------------------------*/ void SvxNumPositionTabPage::ActivatePage(const SfxItemSet& rSet) { const SfxPoolItem* pItem; @@ -3353,9 +3080,6 @@ void SvxNumPositionTabPage::ActivatePage(const SfxItemSet& rSet) pPreviewWIN->Invalidate(); } -/*-----------------03.12.97 10:02------------------- - ---------------------------------------------------*/ int SvxNumPositionTabPage::DeactivatePage(SfxItemSet *_pSet) { if(_pSet) @@ -3363,9 +3087,6 @@ int SvxNumPositionTabPage::DeactivatePage(SfxItemSet *_pSet) return TRUE; } -/*-----------------03.12.97 10:02------------------- - ---------------------------------------------------*/ BOOL SvxNumPositionTabPage::FillItemSet( SfxItemSet& rSet ) { rSet.Put(SfxUInt16Item(SID_PARAM_CUR_NUM_LEVEL, nActNumLvl)); @@ -3379,9 +3100,6 @@ BOOL SvxNumPositionTabPage::FillItemSet( SfxItemSet& rSet ) return bModified; } -/*-----------------03.12.97 10:02------------------- - ---------------------------------------------------*/ void SvxNumPositionTabPage::Reset( const SfxItemSet& rSet ) { const SfxPoolItem* pItem; @@ -3505,18 +3223,12 @@ void SvxNumPositionTabPage::ShowControlsDependingOnPosAndSpaceMode() aIndentAtMF.Show( bLabelAlignmentPosAndSpaceModeActive ); } -/*-----------------03.12.97 10:02------------------- - ---------------------------------------------------*/ SfxTabPage* SvxNumPositionTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet) { return new SvxNumPositionTabPage(pParent, rAttrSet); } -/*-----------------04.12.97 12:51------------------- - ---------------------------------------------------*/ void SvxNumPositionTabPage::SetMetric(FieldUnit eMetric) { if(eMetric == FUNIT_MM) @@ -3536,9 +3248,6 @@ void SvxNumPositionTabPage::SetMetric(FieldUnit eMetric) aIndentAtMF.SetUnit( eMetric ); } -/*-----------------03.12.97 11:06------------------- - ---------------------------------------------------*/ IMPL_LINK( SvxNumPositionTabPage, EditModifyHdl_Impl, Edit *, EMPTYARG ) { USHORT nMask = 1; @@ -3564,9 +3273,7 @@ IMPL_LINK( SvxNumPositionTabPage, EditModifyHdl_Impl, Edit *, EMPTYARG ) SetModified(); return 0; } -/*-----------------03.12.97 11:11------------------- ---------------------------------------------------*/ IMPL_LINK( SvxNumPositionTabPage, LevelHdl_Impl, ListBox *, pBox ) { USHORT nSaveNumLvl = nActNumLvl; @@ -3612,9 +3319,7 @@ IMPL_LINK( SvxNumPositionTabPage, LevelHdl_Impl, ListBox *, pBox ) InitControls(); return 0; } -/*-----------------03.12.97 12:24------------------- ---------------------------------------------------*/ IMPL_LINK( SvxNumPositionTabPage, DistanceHdl_Impl, MetricField *, pFld ) { if(bInInintControl) @@ -3686,9 +3391,6 @@ IMPL_LINK( SvxNumPositionTabPage, DistanceHdl_Impl, MetricField *, pFld ) return 0; } -/*-----------------04.12.97 12:35------------------- - ---------------------------------------------------*/ IMPL_LINK( SvxNumPositionTabPage, RelativeHdl_Impl, CheckBox *, pBox ) { BOOL bOn = pBox->IsChecked(); diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index bae6fde93b8b..398b6bf8c7e1 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -1378,9 +1378,8 @@ void SvxParaAlignTabPage::UpdateExample_Impl( BOOL bAll ) aExampleWin.Draw( bAll ); } -/*-----------------17.01.97 08.04------------------- - Erweiterungen fuer den Blocksatz einschalten ---------------------------------------------------*/ + +// Erweiterungen fuer den Blocksatz einschalten void SvxParaAlignTabPage::EnableJustifyExt() { aLastLineFT.Show(); @@ -2332,9 +2331,7 @@ void SvxAsianTabPage::Reset( const SfxItemSet& rSet ) // aPuntuationCB .Enable(FALSE); // aAdjustNumbersCB .Enable(FALSE); } -/* -----------------------------19.12.00 12:59-------------------------------- - ---------------------------------------------------------------------------*/ IMPL_LINK( SvxAsianTabPage, ClickHdl_Impl, TriStateBox*, pBox ) { pBox->EnableTriState( FALSE ); diff --git a/cui/source/tabpages/paragrph.src b/cui/source/tabpages/paragrph.src index d52283ceea8f..db0f85e035d6 100644 --- a/cui/source/tabpages/paragrph.src +++ b/cui/source/tabpages/paragrph.src @@ -659,9 +659,8 @@ TabPage RID_SVXPAGE_EXT_PARAGRAPH Left = TRUE ; }; }; -/*-- 29.11.00 11:36:24--------------------------------------------------- - Asian typography - -----------------------------------------------------------------------*/ + +// Asian typography TabPage RID_SVXPAGE_PARA_ASIAN { HelpId = HID_SVXPAGE_PARA_ASIAN ; diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx index b8bfdf5c5052..5cb7ccce540e 100644 --- a/cui/source/tabpages/swpossizetabpage.cxx +++ b/cui/source/tabpages/swpossizetabpage.cxx @@ -365,9 +365,7 @@ static FrmMap __FAR_DATA aVAsCharHtmlMap[] = {SwFPos::BOTTOM, SwFPos::BOTTOM, VertOrientation::LINE_BOTTOM, LB_REL_ROW}, {SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, VertOrientation::LINE_CENTER, LB_REL_ROW} }; -/*-- 05.03.2004 15:52:56--------------------------------------------------- - -----------------------------------------------------------------------*/ std::size_t lcl_GetFrmMapCount(const FrmMap* pMap) { if ( pMap ) @@ -422,9 +420,7 @@ std::size_t lcl_GetFrmMapCount(const FrmMap* pMap) } return 0; } -/*-- 03.03.2004 12:21:33--------------------------------------------------- - -----------------------------------------------------------------------*/ SvxSwFramePosString::StringId lcl_ChangeResIdToVerticalOrRTL( SvxSwFramePosString::StringId eStringId, BOOL bVertical, BOOL bRTL) { @@ -520,9 +516,7 @@ ULONG lcl_GetLBRelationsForStrID( const FrmMap* _pMap, return nLBRelations; } -/*-- 03.03.2004 12:21:33--------------------------------------------------- - -----------------------------------------------------------------------*/ SvxSwPosSizeTabPage::SvxSwPosSizeTabPage( Window* pParent, const SfxItemSet& rInAttrs ) : SfxTabPage( pParent, CUI_RES( RID_SVXPAGE_SWPOSSIZE ), rInAttrs ), #ifdef _MSC_VER @@ -624,22 +618,16 @@ SvxSwPosSizeTabPage::SvxSwPosSizeTabPage( Window* pParent, const SfxItemSet& rIn m_aHoriMirrorCB.SetClickHdl(LINK(this, SvxSwPosSizeTabPage, MirrorHdl)); m_aPositionCB.SetClickHdl(LINK(this, SvxSwPosSizeTabPage, ProtectHdl)); } -/*-- 03.03.2004 12:21:33--------------------------------------------------- - -----------------------------------------------------------------------*/ SvxSwPosSizeTabPage::~SvxSwPosSizeTabPage() { } -/*-- 03.03.2004 12:21:33--------------------------------------------------- - -----------------------------------------------------------------------*/ SfxTabPage* SvxSwPosSizeTabPage::Create( Window* pParent, const SfxItemSet& rSet) { return new SvxSwPosSizeTabPage(pParent, rSet); } -/*-- 05.03.2004 17:27:42--------------------------------------------------- - -----------------------------------------------------------------------*/ USHORT* SvxSwPosSizeTabPage::GetRanges() { static USHORT pSwPosRanges[] = @@ -668,9 +656,7 @@ USHORT* SvxSwPosSizeTabPage::GetRanges() }; return pSwPosRanges; } -/*-- 03.03.2004 12:21:34--------------------------------------------------- - -----------------------------------------------------------------------*/ BOOL SvxSwPosSizeTabPage::FillItemSet( SfxItemSet& rSet) { bool bAnchorChanged = false; @@ -826,9 +812,7 @@ BOOL SvxSwPosSizeTabPage::FillItemSet( SfxItemSet& rSet) return bModified; } -/*-- 03.03.2004 12:21:34--------------------------------------------------- - -----------------------------------------------------------------------*/ void SvxSwPosSizeTabPage::Reset( const SfxItemSet& rSet) { const SfxPoolItem* pItem = GetItem( rSet, SID_ATTR_TRANSFORM_ANCHOR ); @@ -1003,18 +987,14 @@ void SvxSwPosSizeTabPage::Reset( const SfxItemSet& rSet) RangeModifyHdl(&m_aWidthMF); // initially set maximum values } } -/*-- 03.03.2004 12:21:35--------------------------------------------------- - -----------------------------------------------------------------------*/ int SvxSwPosSizeTabPage::DeactivatePage( SfxItemSet* _pSet ) { if( _pSet ) FillItemSet( *_pSet ); return( LEAVE_PAGE ); } -/*-- 04.03.2004 09:14:41--------------------------------------------------- - -----------------------------------------------------------------------*/ void SvxSwPosSizeTabPage::EnableAnchorTypes(USHORT nAnchorEnable) { if((nAnchorEnable & SVX_OBJ_AT_FLY)) @@ -1022,9 +1002,7 @@ void SvxSwPosSizeTabPage::EnableAnchorTypes(USHORT nAnchorEnable) if(!(nAnchorEnable & SVX_OBJ_PAGE)) m_aToPageRB.Enable(FALSE); } -/*-- 04.03.2004 09:33:33--------------------------------------------------- - -----------------------------------------------------------------------*/ short SvxSwPosSizeTabPage::GetAnchorType(bool* pbHasChanged) { short nRet = -1; @@ -1066,9 +1044,7 @@ short SvxSwPosSizeTabPage::GetAnchorType(bool* pbHasChanged) } return nRet; } -/*-- 05.03.2004 10:43:32--------------------------------------------------- - -----------------------------------------------------------------------*/ IMPL_LINK( SvxSwPosSizeTabPage, RangeModifyHdl, Edit *, EMPTYARG ) { if(m_bPositioningDisabled) @@ -1152,9 +1128,7 @@ IMPL_LINK( SvxSwPosSizeTabPage, RangeModifyHdl, Edit *, EMPTYARG ) return 0; } -/*-- 05.03.2004 11:12:56--------------------------------------------------- - -----------------------------------------------------------------------*/ IMPL_LINK( SvxSwPosSizeTabPage, AnchorTypeHdl, RadioButton *, EMPTYARG ) { m_aHoriMirrorCB.Enable(!m_aAsCharRB.IsChecked() && !m_bIsMultiSelection); @@ -1175,9 +1149,7 @@ IMPL_LINK( SvxSwPosSizeTabPage, AnchorTypeHdl, RadioButton *, EMPTYARG ) } return 0; } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ IMPL_LINK( SvxSwPosSizeTabPage, MirrorHdl, CheckBox *, EMPTYARG ) { short nId = GetAnchorType(); @@ -1185,9 +1157,7 @@ IMPL_LINK( SvxSwPosSizeTabPage, MirrorHdl, CheckBox *, EMPTYARG ) return 0; } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ IMPL_LINK( SvxSwPosSizeTabPage, RelHdl, ListBox *, pLB ) { BOOL bHori = pLB == &m_aHoriToLB; @@ -1246,9 +1216,7 @@ IMPL_LINK( SvxSwPosSizeTabPage, RelHdl, ListBox *, pLB ) return 0; } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ IMPL_LINK( SvxSwPosSizeTabPage, PosHdl, ListBox *, pLB ) { BOOL bHori = pLB == &m_aHoriLB; @@ -1353,9 +1321,7 @@ IMPL_LINK( SvxSwPosSizeTabPage, PosHdl, ListBox *, pLB ) } return 0; } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ IMPL_LINK( SvxSwPosSizeTabPage, ModifyHdl, Edit *, pEdit ) { sal_Int64 nWidth = m_aWidthMF.Denormalize(m_aWidthMF.GetValue(FUNIT_TWIP)); @@ -1377,17 +1343,13 @@ IMPL_LINK( SvxSwPosSizeTabPage, ModifyHdl, Edit *, pEdit ) UpdateExample(); return 0; } -/*-- 11.03.2004 15:40:17--------------------------------------------------- - -----------------------------------------------------------------------*/ IMPL_LINK( SvxSwPosSizeTabPage, ProtectHdl, TriStateBox *, EMPTYARG) { m_aSizeCB.Enable(m_aPositionCB.IsEnabled() && !m_aPositionCB.IsChecked()); return 0; } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ short SvxSwPosSizeTabPage::GetRelation(FrmMap *, ListBox &rRelationLB) { short nRel = 0; @@ -1401,9 +1363,7 @@ short SvxSwPosSizeTabPage::GetRelation(FrmMap *, ListBox &rRelationLB) return nRel; } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ short SvxSwPosSizeTabPage::GetAlignment(FrmMap *pMap, USHORT nMapPos, ListBox &/*rAlignLB*/, ListBox &rRelationLB) { short nAlign = 0; @@ -1438,9 +1398,7 @@ short SvxSwPosSizeTabPage::GetAlignment(FrmMap *pMap, USHORT nMapPos, ListBox &/ return nAlign; } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ USHORT SvxSwPosSizeTabPage::GetMapPos(FrmMap *pMap, ListBox &rAlignLB) { USHORT nMapPos = 0; @@ -1472,9 +1430,7 @@ USHORT SvxSwPosSizeTabPage::GetMapPos(FrmMap *pMap, ListBox &rAlignLB) return nMapPos; } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ void SvxSwPosSizeTabPage::InitPos(short nAnchor, USHORT nH, USHORT nHRel, @@ -1624,9 +1580,7 @@ void SvxSwPosSizeTabPage::InitPos(short nAnchor, m_aVertByMF.Enable( bEnable ); UpdateExample(); } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ void SvxSwPosSizeTabPage::UpdateExample() { USHORT nPos = m_aHoriLB.GetSelectEntryPos(); @@ -1659,9 +1613,7 @@ void SvxSwPosSizeTabPage::UpdateExample() m_aExampleWN.SetAnchor( GetAnchorType() ); m_aExampleWN.Invalidate(); } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ ULONG SvxSwPosSizeTabPage::FillRelLB(FrmMap *pMap, USHORT nMapPos, USHORT nAlign, USHORT nRel, ListBox &rLB, FixedText &rFT) { @@ -1807,9 +1759,7 @@ ULONG SvxSwPosSizeTabPage::FillRelLB(FrmMap *pMap, USHORT nMapPos, USHORT nAlign return nLBRelations; } -/*-- 05.03.2004 14:20:19--------------------------------------------------- - -----------------------------------------------------------------------*/ USHORT SvxSwPosSizeTabPage::FillPosLB(FrmMap *_pMap, USHORT _nAlign, const USHORT _nRel, @@ -1862,9 +1812,7 @@ USHORT SvxSwPosSizeTabPage::FillPosLB(FrmMap *_pMap, return GetMapPos(_pMap, _rLB); } -/*-- 09.03.2004 15:37:50--------------------------------------------------- - -----------------------------------------------------------------------*/ void SvxSwPosSizeTabPage::SetView( const SdrView* pSdrView ) { m_pSdrView = pSdrView; diff --git a/cui/source/tabpages/swpossizetabpage.hxx b/cui/source/tabpages/swpossizetabpage.hxx index 4ad36b9aa1d7..200c261a4408 100644 --- a/cui/source/tabpages/swpossizetabpage.hxx +++ b/cui/source/tabpages/swpossizetabpage.hxx @@ -35,9 +35,7 @@ #include <svx/swframeposstrings.hxx> #include <svx/swframeexample.hxx> -/*-- 01.03.2004 15:45:01--------------------------------------------------- - SvxSwPosSizeTabPage - position and size page for Writer drawing objects - -----------------------------------------------------------------------*/ +// SvxSwPosSizeTabPage - position and size page for Writer drawing objects struct FrmMap; class SdrView; class SvxSwPosSizeTabPage : public SfxTabPage diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx index 8ca6d49e4ab1..cdb3286127a5 100644 --- a/cui/source/tabpages/textattr.cxx +++ b/cui/source/tabpages/textattr.cxx @@ -66,34 +66,6 @@ static USHORT pRanges[] = /************************************************************************* |* -|* Dialog zum Kopieren von Objekten -|* -\************************************************************************/ - -//CHINA001 SvxTextAttrDialog::SvxTextAttrDialog( Window* pParent, const SfxItemSet& rInAttrs, -//CHINA001 const SdrView* pSdrView ) : -//CHINA001 SfxSingleTabDialog( pParent, rInAttrs, RID_SVXPAGE_TEXTATTR ) -//CHINA001 { -//CHINA001 SvxTextAttrPage* pPage = new SvxTextAttrPage( this, rInAttrs ); -//CHINA001 -//CHINA001 pPage->SetView( pSdrView ); -//CHINA001 pPage->Construct(); -//CHINA001 -//CHINA001 SetTabPage( pPage ); -//CHINA001 SetText( pPage->GetText() ); -//CHINA001 } -/************************************************************************* -|* -|* Dtor -|* -\************************************************************************/ - -//CHINA001 SvxTextAttrDialog::~SvxTextAttrDialog() -//CHINA001 { -//CHINA001 } - -/************************************************************************* -|* |* Dialog (Seite) zum Kopieren von Objekten |* \************************************************************************/ |