summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-05-04 07:08:05 +0000
committerMichael Stahl <mstahl@redhat.com>2017-05-04 14:20:00 +0200
commit15c7b259334a685844d32a9b562dcc50a8d9ef2e (patch)
tree305da0350565f4a8bfec186024ccb8a613194737
parent02bcb700b42fef999f7aa576719494668bb355dd (diff)
tdf#39468: Translate German comments and terms in sw/source/core/unocore/
Change-Id: I7e9a7b1721de6b183d2511e36b3e20a32a8118f1 Reviewed-on: https://gerrit.libreoffice.org/37224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--sw/source/core/unocore/unofield.cxx4
-rw-r--r--sw/source/core/unocore/unoframe.cxx14
-rw-r--r--sw/source/core/unocore/unoftn.cxx2
-rw-r--r--sw/source/core/unocore/unosect.cxx2
-rw-r--r--sw/source/core/unocore/unosrch.cxx2
5 files changed, 12 insertions, 12 deletions
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index 89e296e159d8..c6876dfbccc7 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -1900,7 +1900,7 @@ void SAL_CALL SwXTextField::attach(
static_cast<SwTableField*>(pField)->ChgExpStr(m_pImpl->m_pProps->sPar1);
}
break;
- default: OSL_FAIL("was ist das fuer ein Typ?");
+ default: OSL_FAIL("What kind of type is that?");
}
if (!pField)
throw uno::RuntimeException("no SwField created?");
@@ -2348,7 +2348,7 @@ uno::Any SAL_CALL SwXTextField::getPropertyValue(const OUString& rPropertyName)
// e.g. fields in undo or redo array
if (rTextNode.GetNodes().IsDocNodes())
{
- bool bFrame = 0 != rTextNode.FindLayoutRect().Width(); // oder so
+ bool bFrame = 0 != rTextNode.FindLayoutRect().Width(); // or so
bool bHidden = rTextNode.IsHidden();
if ( !bHidden )
{
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index ded1ed2d72c9..7115af7c8686 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -977,7 +977,7 @@ static inline void lcl_FillCol ( SfxItemSet &rToSet, const ::SfxItemSet &rFromSe
bool SwFrameProperties_Impl::AnyToItemSet(SwDoc *pDoc, SfxItemSet& rSet, SfxItemSet&, bool& rSizeFound)
{
- //Properties fuer alle Frames
+ // Properties for all frames
const ::uno::Any *pStyleName;
SwDocStyleSheet* pStyle = nullptr;
bool bRet;
@@ -1050,7 +1050,7 @@ bool SwGraphicProperties_Impl::AnyToItemSet(
SfxItemSet& rGrSet,
bool& rSizeFound)
{
- //Properties fuer alle Frames
+ // Properties for all frames
bool bRet;
const ::uno::Any *pStyleName;
SwDocStyleSheet* pStyle = nullptr;
@@ -2184,7 +2184,7 @@ uno::Any SwXFrame::getPropertyValue(const OUString& rPropertyName)
const SwFormatContent* pCnt = &pFormat->GetContent();
OSL_ENSURE( pCnt->GetContentIdx() &&
pDoc->GetNodes()[ pCnt->GetContentIdx()->
- GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
+ GetIndex() + 1 ]->GetOLENode(), "no OLE-Node?");
SwOLENode* pOleNode = pDoc->GetNodes()[ pCnt->GetContentIdx()
->GetIndex() + 1 ]->GetOLENode();
@@ -3464,7 +3464,7 @@ uno::Reference< embed::XEmbeddedObject > SAL_CALL SwXTextEmbeddedObject::getExte
const SwFormatContent* pCnt = &pFormat->GetContent();
OSL_ENSURE( pCnt->GetContentIdx() &&
pDoc->GetNodes()[ pCnt->GetContentIdx()->
- GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
+ GetIndex() + 1 ]->GetOLENode(), "no OLE-Node?");
SwOLENode* pOleNode = pDoc->GetNodes()[ pCnt->GetContentIdx()
->GetIndex() + 1 ]->GetOLENode();
@@ -3497,7 +3497,7 @@ sal_Int64 SAL_CALL SwXTextEmbeddedObject::getAspect()
const SwFormatContent* pCnt = &pFormat->GetContent();
OSL_ENSURE( pCnt->GetContentIdx() &&
pDoc->GetNodes()[ pCnt->GetContentIdx()->
- GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
+ GetIndex() + 1 ]->GetOLENode(), "no OLE-Node?");
return pDoc->GetNodes()[ pCnt->GetContentIdx()->GetIndex() + 1 ]->GetOLENode()->GetAspect();
}
@@ -3514,7 +3514,7 @@ void SAL_CALL SwXTextEmbeddedObject::setAspect( sal_Int64 nAspect )
const SwFormatContent* pCnt = &pFormat->GetContent();
OSL_ENSURE( pCnt->GetContentIdx() &&
pDoc->GetNodes()[ pCnt->GetContentIdx()->
- GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
+ GetIndex() + 1 ]->GetOLENode(), "no OLE-Node?");
pDoc->GetNodes()[ pCnt->GetContentIdx()->GetIndex() + 1 ]->GetOLENode()->SetAspect( nAspect );
}
@@ -3529,7 +3529,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL SwXTextEmbeddedObject::getReplaceme
const SwFormatContent* pCnt = &pFormat->GetContent();
OSL_ENSURE( pCnt->GetContentIdx() &&
pDoc->GetNodes()[ pCnt->GetContentIdx()->
- GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
+ GetIndex() + 1 ]->GetOLENode(), "no OLE-Node?");
const Graphic* pGraphic = pDoc->GetNodes()[ pCnt->GetContentIdx()->GetIndex() + 1 ]->GetOLENode()->GetGraphic();
if ( pGraphic )
diff --git a/sw/source/core/unocore/unoftn.cxx b/sw/source/core/unocore/unoftn.cxx
index 92d77dde84d6..ce5c213d5aab 100644
--- a/sw/source/core/unocore/unoftn.cxx
+++ b/sw/source/core/unocore/unoftn.cxx
@@ -268,7 +268,7 @@ SwXFootnote::setLabel(const OUString& aLabel)
if(pFormat)
{
const SwTextFootnote* pTextFootnote = pFormat->GetTextFootnote();
- OSL_ENSURE(pTextFootnote, "kein TextNode?");
+ OSL_ENSURE(pTextFootnote, "No TextNode?");
SwTextNode& rTextNode = (SwTextNode&)pTextFootnote->GetTextNode();
SwPaM aPam(rTextNode, pTextFootnote->GetStart());
diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx
index b41221e56eb1..da5af6a13e38 100644
--- a/sw/source/core/unocore/unosect.cxx
+++ b/sw/source/core/unocore/unosect.cxx
@@ -294,7 +294,7 @@ SwXTextSection::attach(const uno::Reference< text::XTextRange > & xTextRange)
}
SwUnoInternalPaM aPam(*pDoc);
- //das muss jetzt true liefern
+ // this has to return true now
::sw::XTextRangeToSwPaM(aPam, xTextRange);
UnoActionContext aCont(pDoc);
pDoc->GetIDocumentUndoRedo().StartUndo( SwUndoId::INSSECTION, nullptr );
diff --git a/sw/source/core/unocore/unosrch.cxx b/sw/source/core/unocore/unosrch.cxx
index 6f3f7bd0e319..59dea4f2e075 100644
--- a/sw/source/core/unocore/unosrch.cxx
+++ b/sw/source/core/unocore/unosrch.cxx
@@ -746,7 +746,7 @@ void SwXTextSearch::FillSearchOptions( i18nutil::SearchOptions2& rSearchOpt ) co
if( m_bWord )
rSearchOpt.searchFlag |= util::SearchFlags::NORM_WORD_ONLY;
-// bInSel: 1; // wie geht das?
+// bInSel: 1; // How is that possible?
// TODO: pSearch->bStyles!
// inSelection??
// aSrchParam.SetSrchInSelection(TypeConversion::toBOOL(aVal));