[Libreoffice-commits] .: sw/source

Philipp Riemer priemer at kemper.freedesktop.org
Tue Aug 14 01:38:00 PDT 2012


 sw/source/core/docnode/ndnotxt.cxx |   22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

New commits:
commit a6c7410c1391b67f4550dadf105c8f4979c21dcd
Author: Bertrand Lorentz <bertrand.lorentz at gmail.com>
Date:   Mon Aug 13 19:01:29 2012 +0200

    fdo#39468: Translated German comments in sw/source/core/docnode/ndnotxt.cxx
    
    Change-Id: I0838ef7e1a80056a2a0bf0fc8d4ff91f9acbe5b7

diff --git a/sw/source/core/docnode/ndnotxt.cxx b/sw/source/core/docnode/ndnotxt.cxx
index 9b9f6cd..fd3a069 100644
--- a/sw/source/core/docnode/ndnotxt.cxx
+++ b/sw/source/core/docnode/ndnotxt.cxx
@@ -38,7 +38,7 @@
 #include <ndgrf.hxx>
 #include <ndole.hxx>
 #include <ndindex.hxx>
-#include <hints.hxx>            // fuer SwFmtChg
+#include <hints.hxx>
 #include <istyleaccess.hxx>
 #include <SwStyleNameMapper.hxx>
 
@@ -54,23 +54,21 @@ SwNoTxtNode::SwNoTxtNode( const SwNodeIndex & rWhere,
     bContourMapModeValid( sal_True ),
     bPixelContour( sal_False )
 {
-    // soll eine Harte-Attributierung gesetzt werden?
+    // Should this set a hard attribute?
     if( pAutoAttr )
         SetAttr( *pAutoAttr );
 }
 
-
 SwNoTxtNode::~SwNoTxtNode()
 {
     delete pContour;
 }
 
-
-// erzeugt fuer alle Ableitungen einen AttrSet mit Bereichen
-// fuer Frame- und Grafik-Attributen
+/// Creates an AttrSet for all derivations with ranges for frame-
+/// and graphics-attributes.
 void SwNoTxtNode::NewAttrSet( SwAttrPool& rPool )
 {
-    OSL_ENSURE( !mpAttrSet.get(), "AttrSet ist doch gesetzt" );
+    OSL_ENSURE( !mpAttrSet.get(), "AttrSet is already set" );
     SwAttrSet aNewAttrSet( rPool, aNoTxtNodeSetRange );
 
     // put names of parent style and conditional style:
@@ -84,22 +82,18 @@ void SwNoTxtNode::NewAttrSet( SwAttrPool& rPool )
     mpAttrSet = GetDoc()->GetIStyleAccess().getAutomaticStyle( aNewAttrSet, IStyleAccess::AUTO_STYLE_NOTXT );
 }
 
-// Dummies fuer das Laden/Speichern von persistenten Daten
-// bei Grafiken und OLE-Objekten
-
-
+/// Dummies for loading/saving of persistent data
+/// when working with graphics and OLE objects
 sal_Bool SwNoTxtNode::RestorePersistentData()
 {
     return sal_True;
 }
 
-
 sal_Bool SwNoTxtNode::SavePersistentData()
 {
     return sal_True;
 }
 
-
 void SwNoTxtNode::SetContour( const PolyPolygon *pPoly, sal_Bool bAutomatic )
 {
     delete pContour;
@@ -112,7 +106,6 @@ void SwNoTxtNode::SetContour( const PolyPolygon *pPoly, sal_Bool bAutomatic )
     bPixelContour = sal_False;
 }
 
-
 void SwNoTxtNode::CreateContour()
 {
     OSL_ENSURE( !pContour, "Contour available." );
@@ -262,7 +255,6 @@ sal_Bool SwNoTxtNode::IsPixelContour() const
     return bRet;
 }
 
-
 Graphic SwNoTxtNode::GetGraphic() const
 {
     Graphic aRet;


More information about the Libreoffice-commits mailing list