From 5e997f4503cd34767c668c60893c4975c46b4daf Mon Sep 17 00:00:00 2001 From: Sven Wehner Date: Fri, 17 Jan 2014 11:48:15 +0100 Subject: [PATCH] Translate German ("kein break") comments to English ("no break"). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ibbc706d1c3cd36e21da2a15077392f9d75ba39fd Reviewed-on: https://gerrit.libreoffice.org/7498 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- cui/source/tabpages/paragrph.cxx | 2 +- svl/source/svdde/ddecli.cxx | 2 +- sw/source/core/layout/pagechg.cxx | 2 +- sw/source/core/txtnode/thints.cxx | 2 +- sw/source/core/unocore/unostyle.cxx | 40 ++++++++++++++--------------- sw/source/filter/html/parcss1.cxx | 2 +- sw/source/filter/html/swhtml.cxx | 2 +- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index 585460804a02..1f549cd140f6 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -2014,7 +2014,7 @@ IMPL_LINK_NOARG(SvxExtParagraphTabPage, OrphanHdl_Impl) if ( m_pWidowBox->GetState() == STATE_NOCHECK ) m_pKeepTogetherBox->Enable(); - // kein break + // no break case STATE_DONTKNOW: m_pOrphanRowNo->Enable(sal_False); m_pOrphanRowLabel->Enable(sal_False); diff --git a/svl/source/svdde/ddecli.cxx b/svl/source/svdde/ddecli.cxx index 96cf5f38be4e..78e10c6de239 100644 --- a/svl/source/svdde/ddecli.cxx +++ b/svl/source/svdde/ddecli.cxx @@ -120,7 +120,7 @@ HDDEDATA CALLBACK DdeInternal::CliCallback( WORD nCode, WORD nCbType, nRet = (HDDEDATA)DDE_FACK; break; } - // kein break; + // no break case XTYP_REQUEST: if( !hData && XTYP_REQUEST == nCode ) diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index 0cbf9f39d93e..950843572d59 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -617,7 +617,7 @@ void SwPageFrm::_UpdateAttr( const SfxPoolItem *pOld, const SfxPoolItem *pNew, rInvFlags |= 0x10; CheckDirChange(); } - /* kein break hier */ + // no break case RES_FRM_SIZE: { const SwRect aOldPageFrmRect( Frm() ); diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index f4477e1e650e..f3fdc96c6f12 100644 --- a/sw/source/core/txtnode/thints.cxx +++ b/sw/source/core/txtnode/thints.cxx @@ -1160,7 +1160,7 @@ void SwTxtNode::DestroyAttr( SwTxtAttr* pAttr ) { case RES_HIDDENPARAFLD: SetCalcHiddenParaField(); - // kein break ! + // no break case RES_DBSETNUMBERFLD: case RES_GETEXPFLD: case RES_DBFLD: diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 7c27d16133d0..8e1f9da8e6c8 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -3066,45 +3066,45 @@ void SAL_CALL SwXPageStyle::SetPropertyValues_Impl( switch(pEntry->nWID) { case FN_UNO_FOOTER_ON: bFooter = true; - //kein break; + // no break case FN_UNO_HEADER_ON: nRes = SID_ATTR_PAGE_ON; break; case FN_UNO_FOOTER_BACKGROUND: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_BACKGROUND: nRes = RES_BACKGROUND; nItemType = TYPE_BRUSH; break; case FN_UNO_FOOTER_BOX: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_BOX: nRes = RES_BOX; nItemType = TYPE_BOX; break; case FN_UNO_FOOTER_LR_SPACE: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_LR_SPACE: nRes = RES_LR_SPACE;nItemType = TYPE_LRSPACE; break; case FN_UNO_FOOTER_SHADOW: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_SHADOW: nRes = RES_SHADOW;nItemType = TYPE_SHADOW; break; case FN_UNO_FOOTER_BODY_DISTANCE: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_BODY_DISTANCE: nRes = RES_UL_SPACE;nItemType = TYPE_ULSPACE; break; case FN_UNO_FOOTER_IS_DYNAMIC_DISTANCE: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_IS_DYNAMIC_DISTANCE: nRes = SID_ATTR_PAGE_DYNAMIC; break; case FN_UNO_FOOTER_SHARE_CONTENT: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_SHARE_CONTENT: nRes = SID_ATTR_PAGE_SHARED; break; case FN_UNO_FIRST_SHARE_CONTENT: nRes = SID_ATTR_PAGE_SHARED_FIRST; break; case FN_UNO_FOOTER_HEIGHT: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_HEIGHT: nRes = SID_ATTR_PAGE_SIZE;nItemType = TYPE_SIZE; break; case FN_UNO_FOOTER_EAT_SPACING: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_EAT_SPACING: nRes = RES_HEADER_FOOTER_EAT_SPACING;nItemType = TYPE_SIZE; break; } @@ -3317,7 +3317,7 @@ uno::Sequence< uno::Any > SAL_CALL SwXPageStyle::GetPropertyValues_Impl( { case FN_UNO_FOOTER_ON: bFooter = true; - // kein break! + // no break case FN_UNO_HEADER_ON: { //falls das SetItem nicht da ist, dann ist der Wert sal_False @@ -3327,41 +3327,41 @@ uno::Sequence< uno::Any > SAL_CALL SwXPageStyle::GetPropertyValues_Impl( } break; case FN_UNO_FOOTER_BACKGROUND: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_BACKGROUND: nRes = RES_BACKGROUND; break; case FN_UNO_FOOTER_BOX: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_BOX: nRes = RES_BOX; break; case FN_UNO_FOOTER_LR_SPACE: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_LR_SPACE: nRes = RES_LR_SPACE; break; case FN_UNO_FOOTER_SHADOW: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_SHADOW: nRes = RES_SHADOW; break; case FN_UNO_FOOTER_BODY_DISTANCE: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_BODY_DISTANCE: nRes = RES_UL_SPACE; break; case FN_UNO_FOOTER_IS_DYNAMIC_DISTANCE: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_IS_DYNAMIC_DISTANCE: nRes = SID_ATTR_PAGE_DYNAMIC; break; case FN_UNO_FOOTER_SHARE_CONTENT: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_SHARE_CONTENT: nRes = SID_ATTR_PAGE_SHARED; break; case FN_UNO_FIRST_SHARE_CONTENT: nRes = SID_ATTR_PAGE_SHARED_FIRST; break; case FN_UNO_FOOTER_HEIGHT: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_HEIGHT: nRes = SID_ATTR_PAGE_SIZE; break; case FN_UNO_FOOTER_EAT_SPACING: bFooter = true; - // kein break; + // no break case FN_UNO_HEADER_EAT_SPACING: nRes = RES_HEADER_FOOTER_EAT_SPACING; break; } diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx index a2f399b3a976..4ae93049f4b0 100644 --- a/sw/source/filter/html/parcss1.cxx +++ b/sw/source/filter/html/parcss1.cxx @@ -585,7 +585,7 @@ CSS1Token CSS1Parser::GetNextToken() bNextCh = sal_False; break; } - // kein break; + // no break default: // IDENT | syntax error if (comphelper::string::isalphaAscii(cNextCh)) diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index cedd1b73f052..0dd7fc0bedb1 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -2875,7 +2875,7 @@ void SwHTMLParser::_SetAttr( sal_Bool bChkEnd, sal_Bool bBeforeTable, } OSL_ENSURE( !this, "LRSpace ueber mehrere Absaetze gesetzt!" ); - // kein break (hier sollen wir trotzdem nie hinkommen; + // no break (shouldn't reach this point anyway) default: // ggfs. ein Bookmark anspringen