diff options
author | Bertrand Lorentz <bertrand.lorentz@gmail.com> | 2012-08-13 19:01:29 +0200 |
---|---|---|
committer | Philipp Riemer <ruderphilipp@gmail.com> | 2012-08-14 10:36:04 +0200 |
commit | a6c7410c1391b67f4550dadf105c8f4979c21dcd (patch) | |
tree | f6b767a2ba8cee1b69b4caf0383bf56b6a3e3cfa /sw | |
parent | e06c1f56b9c70cbf208e508d4a6dd8b276e1bd19 (diff) |
fdo#39468: Translated German comments in sw/source/core/docnode/ndnotxt.cxx
Change-Id: I0838ef7e1a80056a2a0bf0fc8d4ff91f9acbe5b7
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/ndnotxt.cxx | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/sw/source/core/docnode/ndnotxt.cxx b/sw/source/core/docnode/ndnotxt.cxx index 9b9f6cd78a21..fd3a0695483e 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; |