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


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2171

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/71/2171/1

Comment translation german-english

Change-Id: Ia5c5d1d8b539ffb4286232177c12b294b0f60706
---
M sw/source/core/draw/dcontact.cxx
M sw/source/core/draw/drawdoc.cxx
M sw/source/ui/utlui/numfmtlb.cxx
3 files changed, 29 insertions(+), 91 deletions(-)



diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index ed69adb..8d38294 100644
--- a/sw/source/core/draw/dcontact.cxx
+++ b/sw/source/core/draw/dcontact.cxx
@@ -173,11 +173,7 @@
          || SDRTEXTANI_ALTERNATE == eTKind || SDRTEXTANI_SLIDE == eTKind );
 }
 
-/*************************************************************************
-|*
-|*  SwContact, Ctor and Dtor
-|*
-|*************************************************************************/
+// SwContact
 
 SwContact::SwContact( SwFrmFmt *pToRegisterIn ) :
     SwClient( pToRegisterIn ),
@@ -200,7 +196,6 @@
 }
 
 /** method to move drawing object to corresponding visible layer
-
     @author OD
 */
 void SwContact::MoveObjToVisibleLayer( SdrObject* _pDrawObj )
@@ -234,9 +229,7 @@
 }
 
 /** method to move drawing object to corresponding invisible layer
-
     OD 21.08.2003 #i18447#
-
     @author OD
 */
 void SwContact::MoveObjToInvisibleLayer( SdrObject* _pDrawObj )
@@ -263,11 +256,9 @@
 }
 
 /** method to move object to visible/invisible layer
-
     OD 21.08.2003 #i18447#
     implementation for the public method <MoveObjToVisibleLayer(..)>
     and <MoveObjToInvisibleLayer(..)>
-
     @author OD
 */
 void SwContact::_MoveObjToLayer( const bool _bToVisible,
@@ -359,7 +350,6 @@
     }
 }
 
-// -------------------------------------------------------------------------
 // some virtual helper methods for information
 // about the object (Writer fly frame resp. drawing object)
 
@@ -368,10 +358,9 @@
     return GetCntntAnchor().nContent;
 }
 
-/** get minimum order number of anchored objects handled by with contact
+// get minimum order number of anchored objects handled by with contact
+// @author
 
-    @author
-*/
 sal_uInt32 SwContact::GetMinOrdNum() const
 {
     sal_uInt32 nMinOrdNum( SAL_MAX_UINT32 );
@@ -421,13 +410,8 @@
 
     return nMaxOrdNum;
 }
-// -------------------------------------------------------------------------
 
-/*************************************************************************
-|*
-|*  SwFlyDrawContact, Ctor und Dtor
-|*
-|*************************************************************************/
+// SwFlyDrawContact
 
 SwFlyDrawContact::SwFlyDrawContact( SwFlyFrmFmt *pToRegisterIn, SdrModel * ) :
     SwContact( pToRegisterIn )
@@ -506,11 +490,7 @@
     mpMasterObj = static_cast<SwFlyDrawObj *>(_pNewMaster);
 }
 
-/*************************************************************************
-|*
-|*  SwFlyDrawContact::Modify()
-|*
-|*************************************************************************/
+// SwFlyDrawContact::Modify()
 
 void SwFlyDrawContact::Modify( const SfxPoolItem*, const SfxPoolItem * )
 {
@@ -598,11 +578,8 @@
     SwFlyFrm::GetAnchoredObjects( _roAnchoredObjs, *pFmt );
 }
 
-/*************************************************************************
-|*
-|*  SwDrawContact, Ctor+Dtor
-|*
-|*************************************************************************/
+// SwDrawContact
+
 bool CheckControlLayer( const SdrObject *pObj )
 {
     if ( FmFormInventor == pObj->GetObjInventor() )
@@ -1010,11 +987,7 @@
     return pRetDrawObj;
 }
 
-/*************************************************************************
-|*
-|*  SwDrawContact::Changed
-|*
-|*************************************************************************/
+// SwDrawContact::Changed
 
 void SwDrawContact::NotifyBackgrdOfAllVirtObjs( const Rectangle* pOldBoundRect )
 {
@@ -1469,11 +1442,7 @@
     }
 }
 
-/*************************************************************************
-|*
-|*  SwDrawContact::Modify()
-|*
-|*************************************************************************/
+// SwDrawContact::Modify()
 
 void SwDrawContact::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew )
 {
@@ -1624,11 +1593,7 @@
     }
 }
 
-/*************************************************************************
-|*
-|*  SwDrawContact::DisconnectFromLayout()
-|*
-|*************************************************************************/
+// SwDrawContact::DisconnectFromLayout()
 
 void SwDrawContact::DisconnectFromLayout( bool _bMoveMasterToInvisibleLayer )
 {
@@ -1740,11 +1705,8 @@
     }
 }
 
-/*************************************************************************
-|*
-|*  SwDrawContact::ConnectToLayout()
-|*
-|*************************************************************************/
+// SwDrawContact::ConnectToLayout()
+
 static SwTxtFrm* lcl_GetFlyInCntntAnchor( SwTxtFrm* _pProposedAnchorFrm,
                                    const xub_StrLen _nTxtOfs )
 {
@@ -1951,11 +1913,7 @@
     GetMaster()->SetUserCall( this );
 }
 
-/*************************************************************************
-|*
-|*  SwDrawContact::FindPage(), ChkPage()
-|*
-|*************************************************************************/
+// SwDrawContact::FindPage(), ChkPage()
 
 SwPageFrm* SwDrawContact::FindPage( const SwRect &rRect )
 {
@@ -2001,11 +1959,8 @@
     }
 }
 
-/*************************************************************************
-|*
-|*  SwDrawContact::ChangeMasterObject()
-|*
-|*************************************************************************/
+// SwDrawContact::ChangeMasterObject()
+
 // Important note:
 // method is called by method <SwDPage::ReplaceObject(..)>, which called its
 // corresponding superclass method <FmFormPage::ReplaceObject(..)>.
@@ -2202,11 +2157,9 @@
     } // end of namespace contact
 } // end of namespace sdr
 
-//////////////////////////////////////////////////////////////////////////////////////
-
-// =============================================================================
+//////////////////////////////////////////////
+// ===========================================
 /** implementation of class <SwDrawVirtObj>
-
     @author OD
 */
 
diff --git a/sw/source/core/draw/drawdoc.cxx b/sw/source/core/draw/drawdoc.cxx
index ee35d1e9..5b0d252 100644
--- a/sw/source/core/draw/drawdoc.cxx
+++ b/sw/source/core/draw/drawdoc.cxx
@@ -40,11 +40,7 @@
 
 using namespace com::sun::star;
 
-/*************************************************************************
-|*
-|* Constructor
-|*
-\************************************************************************/
+// Constructor
 
 const String GetPalettePath()
 {
@@ -120,12 +116,7 @@
     SetCharCompressType( static_cast<sal_uInt16>(pD->getCharacterCompressionType() ));
 }
 
-/*************************************************************************
-|*
-|* Destructor
-|*
-\************************************************************************/
-
+// Destructor
 
 SwDrawDocument::~SwDrawDocument()
 {
@@ -134,15 +125,10 @@
     ClearModel(sal_True);
 }
 
-/*************************************************************************
-|*
-|* This method creates a new page (SdPage) and thereupon returns a pointer
-|* to it back. The drawing engine is using this method while loading for
-|* the creating of pages (whose type it not even know, because they are
-|* inherited from SdrPage).
-|*
-\************************************************************************/
-
+// This method creates a new page (SdPage) and thereupon returns a pointer
+// to it back. The drawing engine is using this method while loading for
+// the creating of pages (whose type it not even know, because they are
+// inherited from SdrPage).
 
 SdrPage* SwDrawDocument::AllocPage(bool bMasterPage)
 {
diff --git a/sw/source/ui/utlui/numfmtlb.cxx b/sw/source/ui/utlui/numfmtlb.cxx
index 687236e..f7549dc 100644
--- a/sw/source/ui/utlui/numfmtlb.cxx
+++ b/sw/source/ui/utlui/numfmtlb.cxx
@@ -46,14 +46,13 @@
 using namespace ::com::sun::star::lang;
 
 
-// STATIC DATA -----------------------------------------------------------
+// STATIC DATA
 
-/*--------------------------------------------------------------------
-    Description:
-                    nFormatType: Display the formats of this Type
-                    nDefFmt:     Select this format and possibly
-                                 insert it
- --------------------------------------------------------------------*/
+/**
+ *  Description:
+ *     nFormatType: Display the formats of this Type
+ *     nDefFmt:     Select this format and possibly insert it
+ */
 
 NumFormatListBox::NumFormatListBox( Window* pWin, const ResId& rResId,
                                     short nFormatType, sal_uLong nDefFmt,

-- 
To view, visit https://gerrit.libreoffice.org/2171
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5c5d1d8b539ffb4286232177c12b294b0f60706
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Matthias Freund <matti_lx@yahoo.de>

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.