sw/source/filter/ww1/w1class.cxx | 6 +++--- sw/source/filter/ww1/w1filter.cxx | 4 ++-- sw/source/filter/ww1/w1par.cxx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit a4f0d096058709f89860178d88e4bad97e458995 Author: Stefan Ring <stefan...@gmail.com> Date: Wed Feb 26 11:25:33 2014 +0100 Translate german strings, potentially user-visible - sw/source/filter/ww1 These are mostly assertion-like messages. Change-Id: Iabf8e2ea3411c51756765e160a9e654b06ca005d Reviewed-on: https://gerrit.libreoffice.org/8356 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/filter/ww1/w1class.cxx b/sw/source/filter/ww1/w1class.cxx index 799d50b..db40b6a 100644 --- a/sw/source/filter/ww1/w1class.cxx +++ b/sw/source/filter/ww1/w1class.cxx @@ -911,7 +911,7 @@ long Ww1Bookmarks::Len() const { if( nIsEnd ) { - OSL_ENSURE( false, "Falscher Aufruf (1) von Ww1Bookmarks::Len()" ); + OSL_ENSURE( false, "Invalid usage (1) of Ww1Bookmarks::Len()" ); return 0; } sal_uInt16 nEndIdx = SVBT16ToShort(pPos[0]->GetData(nPlcIdx[0])); @@ -1013,7 +1013,7 @@ Ww1Assoc::Ww1Assoc(Ww1Fib& _rFib) && rFib.GetStream().Read(pBuffer, cb) == cb) { sal_uInt16 j; - OSL_ENSURE( cb == SVBT16ToShort( *(SVBT16*)pBuffer ), "size missmatch"); + OSL_ENSURE( cb == SVBT16ToShort( *(SVBT16*)pBuffer ), "size mismatch"); for (i=0,j=sizeof(SVBT16);j<cb && i<Criteria1;i++) { pStrTbl[i] = pBuffer+j; @@ -1102,7 +1102,7 @@ sal_Bool Ww1Pap::HasId0(sal_uInt16 nId) UpdateIdx(); if( !pPap ){ - OSL_ENSURE( false, "Ww1Pap::HasId():: kann kein pPap erzeugen" ); + OSL_ENSURE( false, "Ww1Pap::HasId():: cannot create a pPap" ); return sal_False; } diff --git a/sw/source/filter/ww1/w1filter.cxx b/sw/source/filter/ww1/w1filter.cxx index b1df0d1..633b13d 100644 --- a/sw/source/filter/ww1/w1filter.cxx +++ b/sw/source/filter/ww1/w1filter.cxx @@ -1219,7 +1219,7 @@ void Ww1Chp::Stop(Ww1Shell& rOut, Ww1Manager& rMan, sal_Unicode&) if (aChpx.fsFtcGet()) rOut.EndItem(RES_CHRATR_FONT); }else{ - OSL_ENSURE( !nPlcIndex, "Chp-Attribut-Stop verloren" ); + OSL_ENSURE( !nPlcIndex, "Lost Chp-Attribut-Stop" ); } } } @@ -1391,7 +1391,7 @@ SvxFontItem Ww1Fonts::GetFont(sal_uInt16 nFCode) } else { - OSL_ENSURE(false, "WW1Fonts::GetFont: Nicht existenter Font !"); + OSL_ENSURE(false, "WW1Fonts::GetFont: Non-existent font !"); eFamily = FAMILY_SWISS; aName = "Helv"; ePitch = PITCH_VARIABLE; diff --git a/sw/source/filter/ww1/w1par.cxx b/sw/source/filter/ww1/w1par.cxx index f7861b5..48882eb 100644 --- a/sw/source/filter/ww1/w1par.cxx +++ b/sw/source/filter/ww1/w1par.cxx @@ -54,7 +54,7 @@ static sal_uLong WW1_Read_FieldIniFlags() sal_uLong WW1Reader::Read(SwDoc& rDoc, const OUString& rBaseURL, SwPaM& rPam, const OUString& /*cName*/) { sal_uLong nRet = ERR_SWG_READ_ERROR; - OSL_ENSURE(pStrm!=NULL, "W1-Read ohne Stream"); + OSL_ENSURE(pStrm!=NULL, "W1-Read without Stream"); if (pStrm != NULL) { sal_Bool bNew = !bInsertMode; // New Doc ( no insert )
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits