Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index



This patch removes bogus comments found in the navipi.cxx file
including empty Beschreibung (translation: description) statements

Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>
---
 sw/source/ui/utlui/navipi.cxx |  129 ++---------------------------------------
 1 files changed, 6 insertions(+), 123 deletions(-)

diff --git a/sw/source/ui/utlui/navipi.cxx b/sw/source/ui/utlui/navipi.cxx
index 1ee700e..c535448 100644
--- a/sw/source/ui/utlui/navipi.cxx
+++ b/sw/source/ui/utlui/navipi.cxx
@@ -102,6 +102,7 @@ void SwNavigationPI::CleanEntry( String& rEntry )
             if( *pStr == 10 || *pStr == 9 )
                 *pStr = 0x20;
 }
+
 /*------------------------------------------------------------------------
  Beschreibung: Ausfuehrung der Drag-Operation
                 mit und ohne Childs
@@ -139,12 +140,10 @@ void SwNavigationPI::MoveOutline(USHORT nSource, USHORT nTarget,
 
 }
 
-
 /*------------------------------------------------------------------------
  Beschreibung: Nach Goto einen Status Rahmenselektion aufheben
 ------------------------------------------------------------------------*/
 
-
 void lcl_UnSelectFrm(SwWrtShell *pSh)
 {
     if (pSh->IsFrmSelected())
@@ -158,7 +157,6 @@ void lcl_UnSelectFrm(SwWrtShell *pSh)
  Beschreibung: Select der Documentanzeige
 ------------------------------------------------------------------------*/
 
-
 IMPL_LINK( SwNavigationPI, DocListBoxSelectHdl, ListBox *, pBox )
 {
     int nEntryIdx = pBox->GetSelectEntryPos();
@@ -188,7 +186,6 @@ IMPL_LINK( SwNavigationPI, DocListBoxSelectHdl, ListBox *, pBox )
                 Der PI wird auf volle Groesse gesetzt
 ------------------------------------------------------------------------*/
 
-
 void SwNavigationPI::FillBox()
 {
     if(pContentWrtShell)
@@ -214,7 +211,6 @@ void SwNavigationPI::FillBox()
     }
 }
 
-
 void SwNavigationPI::UsePage(SwWrtShell *pSh)
 {
     if (!pSh)
@@ -239,7 +235,6 @@ void SwNavigationPI::UsePage(SwWrtShell *pSh)
  Beschreibung: SelectHandler der Toolboxen
 ------------------------------------------------------------------------*/
 
-
 IMPL_LINK( SwNavigationPI, ToolBoxSelectHdl, ToolBox *, pBox )
 {
     const USHORT nCurrItemId = pBox->GetCurItemId();
@@ -378,11 +373,11 @@ IMPL_LINK( SwNavigationPI, ToolBoxSelectHdl, ToolBox *, pBox )
         pView->GetEditWin().GrabFocus();
     return TRUE;
 }
+
 /*------------------------------------------------------------------------
  Beschreibung: ClickHandler der Toolboxen
 ------------------------------------------------------------------------*/
 
-
 IMPL_LINK( SwNavigationPI, ToolBoxClickHdl, ToolBox *, pBox )
 {
     const USHORT nCurrItemId = pBox->GetCurItemId();
@@ -399,9 +394,6 @@ IMPL_LINK( SwNavigationPI, ToolBoxClickHdl, ToolBox *, pBox )
     return TRUE;
 }
 
-/*-----------------13.07.04 -------------------
- ----------------------------------------------*/
-
 IMPL_LINK( SwNavigationPI, ToolBoxDropdownClickHdl, ToolBox*, pBox )
 {
     const USHORT nCurrItemId = pBox->GetCurItemId();
@@ -460,15 +452,11 @@ IMPL_LINK( SwNavigationPI, ToolBoxDropdownClickHdl, ToolBox*, pBox )
     return TRUE;
 }
 
-/*-----------------13.07.04 -------------------
---------------------------------------------------*/
-
 SwNavHelpToolBox::SwNavHelpToolBox(SwNavigationPI* pParent, const ResId &rResId) :
             SwHelpToolBox(pParent, rResId)
-{}
-/*-----------------19.06.97 09:09-------------------
+{
+}
 
---------------------------------------------------*/
 void SwNavHelpToolBox::MouseButtonDown(const MouseEvent &rEvt)
 {
     if(rEvt.GetButtons() == MOUSE_LEFT &&
@@ -479,9 +467,7 @@ void SwNavHelpToolBox::MouseButtonDown(const MouseEvent &rEvt)
     else
         SwHelpToolBox::MouseButtonDown(rEvt);
 }
-/* -----------------------------12.03.2002 16:55------------------------------
 
- ---------------------------------------------------------------------------*/
 void SwNavigationPI::CreateNavigationTool(const Rectangle& rRect, BOOL bSetFocus)
 {
 //    SfxBindings& rBind = GetCreateView()->GetViewFrame()->GetBindings();
@@ -505,9 +491,6 @@ void SwNavigationPI::CreateNavigationTool(const Rectangle& rRect, BOOL bSetFocus
     }
 }
 
-/*-----------------19.06.97 10:12-------------------
-
---------------------------------------------------*/
 void  SwNavHelpToolBox::RequestHelp( const HelpEvent& rHEvt )
 {
     USHORT nItemId = GetItemId(ScreenToOutputPixel(rHEvt.GetMousePosPixel()));
@@ -523,7 +506,6 @@ void  SwNavHelpToolBox::RequestHelp( const HelpEvent& rHEvt )
                 nicht Gliederungssicht angeschaltet ist.
 ------------------------------------------------------------------------*/
 
-
 IMPL_LINK( SwNavigationPI, EditAction, NumEditAction *, pEdit )
 {
     SwView *pView = GetCreateView();
@@ -543,7 +525,6 @@ IMPL_LINK( SwNavigationPI, EditAction, NumEditAction *, pEdit )
                 das Maximum gesetzt.
 ------------------------------------------------------------------------*/
 
-
 IMPL_LINK( SwNavigationPI, EditGetFocus, NumEditAction *, pEdit )
 {
     SwView *pView = GetCreateView();
@@ -557,10 +538,6 @@ IMPL_LINK( SwNavigationPI, EditGetFocus, NumEditAction *, pEdit )
     return 0;
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 BOOL SwNavigationPI::Close()
 {
     SfxViewFrame* pVFrame = pCreateView->GetViewFrame();
@@ -573,7 +550,6 @@ BOOL SwNavigationPI::Close()
  Beschreibung: Setzen einer automatischen Marke
 ------------------------------------------------------------------------*/
 
-
 void SwNavigationPI::MakeMark()
 {
     SwView *pView = GetCreateView();
@@ -603,10 +579,6 @@ void SwNavigationPI::MakeMark()
         nAutoMarkIdx = 0;
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 void SwNavigationPI::GotoPage()
 {
     if ( pContextWin->GetFloatingWindow() && pContextWin->GetFloatingWindow()->IsRollUp())
@@ -617,10 +589,6 @@ void SwNavigationPI::GotoPage()
     GetPageEdit().GrabFocus();
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 void SwNavigationPI::_ZoomOut()
 {
     if (_IsZoomedIn())
@@ -651,10 +619,6 @@ void SwNavigationPI::_ZoomOut()
     }
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 void SwNavigationPI::_ZoomIn()
 {
     FloatingWindow* pFloat = pContextWin->GetFloatingWindow();
@@ -681,9 +645,6 @@ void SwNavigationPI::_ZoomIn()
         aContentToolBox.CheckItem(FN_SHOW_CONTENT_BOX, FALSE);
     }
 }
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
 
 void SwNavigationPI::Resize()
 {
@@ -733,11 +694,6 @@ void SwNavigationPI::Resize()
     }
 }
 
-
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings,
                                 SfxChildWindowContext* pCw,
                                 Window* pParent) :
@@ -918,10 +874,6 @@ SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings,
     aPageChgTimer.SetTimeout(PAGE_CHANGE_TIMEOUT);
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 SwNavigationPI::~SwNavigationPI()
 {
     if(IsGlobalDoc() && !IsGlobalMode())
@@ -952,10 +904,6 @@ SwNavigationPI::~SwNavigationPI()
         rBindings.Release(*this);
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 void SwNavigationPI::SetPopupWindow( SfxPopupWindow* pWindow )
 {
     pPopupWindow = pWindow;
@@ -963,10 +911,6 @@ void SwNavigationPI::SetPopupWindow( SfxPopupWindow* pWindow )
     pPopupWindow->SetDeleteLink_Impl( LINK( this, SwNavigationPI, ClosePopupWindow ));
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 IMPL_LINK( SwNavigationPI, PopupModeEndHdl, void *, EMPTYARG )
 {
     if ( pPopupWindow->IsVisible() )
@@ -987,10 +931,6 @@ IMPL_LINK( SwNavigationPI, PopupModeEndHdl, void *, EMPTYARG )
     return 1;
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 IMPL_LINK( SwNavigationPI, ClosePopupWindow, SfxPopupWindow *, pWindow )
 {
     if ( pWindow == pFloatingWindow )
@@ -1001,10 +941,6 @@ IMPL_LINK( SwNavigationPI, ClosePopupWindow, SfxPopupWindow *, pWindow )
     return 1;
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 void SwNavigationPI::StateChanged( USHORT nSID, SfxItemState /*eState*/,
                                             const SfxPoolItem* /*pState*/ )
 {
@@ -1044,10 +980,6 @@ NumEditAction& SwNavigationPI::GetPageEdit()
     return *(NumEditAction*)aContentToolBox.GetItemWindow(FN_PAGENUMBER);
 }
 
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 SfxChildAlignment SwNavigationPI::CheckAlignment
     (
         SfxChildAlignment eActAlign,
@@ -1132,10 +1064,6 @@ void SwNavigationPI::Notify( SfxBroadcaster& rBrdc, const SfxHint& rHint )
     }
 }
 
-/*--------------------------------------------------------------------
-    Beschreibung:
- --------------------------------------------------------------------*/
-
 IMPL_LINK( SwNavigationPI, MenuSelectHdl, Menu *, pMenu )
 {
     USHORT nMenuId = pMenu->GetCurItemId();
@@ -1149,11 +1077,6 @@ IMPL_LINK( SwNavigationPI, MenuSelectHdl, Menu *, pMenu )
     return 0;
 }
 
-
-/*--------------------------------------------------------------------
-    Beschreibung:
- --------------------------------------------------------------------*/
-
 void SwNavigationPI::UpdateListBox()
 {
     aDocListBox.SetUpdateMode(FALSE);
@@ -1224,14 +1147,6 @@ void SwNavigationPI::UpdateListBox()
     aDocListBox.SetUpdateMode(TRUE);
 }
 
-/*-----------------16.06.97 15:05-------------------
-
---------------------------------------------------*/
-
-/*------------------------------------------------------------------------
-    Beschreibung:
-------------------------------------------------------------------------*/
-
 IMPL_LINK(SwNavigationPI, DoneLink, SfxPoolItem *, pItem)
 {
     const SfxViewFrameItem* pFrameItem = PTR_CAST(SfxViewFrameItem, pItem );
@@ -1286,10 +1201,6 @@ String SwNavigationPI::CreateDropFileName( TransferableDataHelper& rData )
     return sFileName;
 }
 
-/*------------------------------------------------------------------------
-    Beschreibung:
-------------------------------------------------------------------------*/
-
 sal_Int8 SwNavigationPI::AcceptDrop( const AcceptDropEvent& /*rEvt*/ )
 {
     return ( !aContentTree.IsInDrag() &&
@@ -1343,10 +1254,6 @@ sal_Int8 SwNavigationPI::ExecuteDrop( const ExecuteDropEvent& rEvt )
     return nRet;
 }
 
-/*-----------------27.11.96 13.00-------------------
-
---------------------------------------------------*/
-
 void SwNavigationPI::SetRegionDropMode(USHORT nNewMode)
 {
     nRegionMode = nNewMode;
@@ -1365,11 +1272,6 @@ void SwNavigationPI::SetRegionDropMode(USHORT nNewMode)
                                     rImgLst.GetImage(nDropId));
 }
 
-
-/*-----------------12.06.97 09:47-------------------
-
---------------------------------------------------*/
-
 BOOL   SwNavigationPI::ToggleTree()
 {
     BOOL bRet = TRUE;
@@ -1403,9 +1305,6 @@ BOOL      SwNavigationPI::ToggleTree()
     return bRet;
 }
 
-/*-----------------13.06.97 09:42-------------------
-
---------------------------------------------------*/
 BOOL   SwNavigationPI::IsGlobalDoc() const
 {
     BOOL bRet = FALSE;
@@ -1417,18 +1316,14 @@ BOOL    SwNavigationPI::IsGlobalDoc() const
     }
     return bRet;
 }
-/* -----------------26.10.98 08:10-------------------
- *
- * --------------------------------------------------*/
+
 IMPL_LINK( SwNavigationPI, ChangePageHdl, Timer*, EMPTYARG )
 {
     EditAction(&GetPageEdit());
     GetPageEdit().GrabFocus();
     return 0;
 }
-/* -----------------26.10.98 08:14-------------------
- *
- * --------------------------------------------------*/
+
 IMPL_LINK( SwNavigationPI, PageEditModifyHdl, Edit*, EMPTYARG )
 {
     if(aPageChgTimer.IsActive())
@@ -1437,9 +1332,6 @@ IMPL_LINK( SwNavigationPI, PageEditModifyHdl, Edit*, EMPTYARG )
     return 0;
 }
 
-/* -----------------------------23.04.01 07:34--------------------------------
-
- ---------------------------------------------------------------------------*/
 SwView*  SwNavigationPI::GetCreateView() const
 {
     if(!pCreateView)
@@ -1459,11 +1351,6 @@ SwView*  SwNavigationPI::GetCreateView() const
     return pCreateView;
 }
 
-
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
 SwNavigationChild::SwNavigationChild( Window* pParent,
                         USHORT nId,
                         SfxBindings* _pBindings,
@@ -1491,9 +1378,7 @@ SwNavigationChild::SwNavigationChild( Window* pParent,
         pNavi->_ZoomIn();
     }
 }
-/* -----------------------------06.05.2002 10:06------------------------------
 
- ---------------------------------------------------------------------------*/
 void SwNavigationPI::DataChanged( const DataChangedEvent& rDCEvt )
 {
     Window::DataChanged( rDCEvt );
@@ -1507,9 +1392,7 @@ void SwNavigationPI::DataChanged( const DataChangedEvent& rDCEvt )
         SetBackground( aBack );
     }
 }
-/* -----------------------------06.05.2002 10:07------------------------------
 
- ---------------------------------------------------------------------------*/
 void SwNavigationPI::InitImageList()
 {
     USHORT k;

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.