summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlfly.cxx
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-04-25 07:04:03 +0000
committerMichael Stahl <mstahl@redhat.com>2017-04-27 21:30:47 +0200
commitf92790d5e654a5a213e6e2190131d1c2852e8129 (patch)
tree87ad3a912bdac97e36efe393496a3e39dec2c627 /sw/source/filter/html/htmlfly.cxx
parentd26f7537a57e4fc4c041db852b23c27149bc213d (diff)
tdf#39468 Translate German comments in sw
Translate German comments and terms in sw/ Change-Id: Ie33ad4496f9aeb5c06612241779fba627a5d2876 Reviewed-on: https://gerrit.libreoffice.org/36926 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/filter/html/htmlfly.cxx')
-rw-r--r--sw/source/filter/html/htmlfly.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/filter/html/htmlfly.cxx b/sw/source/filter/html/htmlfly.cxx
index 0613b7c79100..6b390344e866 100644
--- a/sw/source/filter/html/htmlfly.cxx
+++ b/sw/source/filter/html/htmlfly.cxx
@@ -49,10 +49,9 @@ SwHTMLPosFlyFrame::SwHTMLPosFlyFrame( const SwPosFlyFrame& rPosFly,
if ((RndStdIds::FLY_AT_CHAR == rAnchor.GetAnchorId()) &&
HtmlPosition::Inside == GetOutPos() )
{
- // Auto-gebundene Rahmen werden ein Zeichen weiter hinten
- // ausgegeben, weil dann die Positionierung mit Netscape
- // uebereinstimmt.
- OSL_ENSURE( rAnchor.GetContentAnchor(), "Keine Anker-Position?" );
+ // Output of auto-bound frames will be a character farther back,
+ // because then the position aligns with Netscape.
+ OSL_ENSURE( rAnchor.GetContentAnchor(), "No anchor position?" );
if( rAnchor.GetContentAnchor() )
{
nContentIdx = rAnchor.GetContentAnchor()->nContent.GetIndex();
@@ -61,7 +60,7 @@ SwHTMLPosFlyFrame::SwHTMLPosFlyFrame( const SwPosFlyFrame& rPosFly,
if( text::RelOrientation::FRAME == eHoriRel || text::RelOrientation::PRINT_AREA == eHoriRel )
{
const SwContentNode *pCNd = pNdIdx->GetNode().GetContentNode();
- OSL_ENSURE( pCNd, "Kein Content-Node an PaM-Position" );
+ OSL_ENSURE( pCNd, "No Content-Node at PaM position" );
if( pCNd && nContentIdx < pCNd->Len() )
nContentIdx++;
}