fdo#39468: Translated German comments in sw/source/core/docnode/ndnotxt.cxx
Change-Id: I0838ef7e1a80056a2a0bf0fc8d4ff91f9acbe5b7
This commit is contained in:
committed by
Philipp Riemer
parent
e06c1f56b9
commit
a6c7410c13
@@ -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;
|
||||
|
Reference in New Issue
Block a user