[Libreoffice-commits] core.git: sw/source

Thomas Klausner wiz at NetBSD.org
Sat Aug 8 00:59:00 PDT 2015


 sw/source/filter/ww8/ww8scan.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 2981bcf7e34d9f4c9d1e821045f3f22ddb318339
Author: Thomas Klausner <wiz at NetBSD.org>
Date:   Sat Aug 8 09:43:02 2015 +0200

    Translate two assertions to English, adapt two others for consistency.

diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 6c1c600..04e07a1 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -1716,7 +1716,7 @@ WW8ScannerBase::WW8ScannerBase( SvStream* pSt, SvStream* pTableSt,
 
             break;
         default:
-            OSL_ENSURE( false, "Es wurde vergessen, nVersion zu kodieren!" );
+            OSL_ENSURE( false, "nVersion not implemented!" );
             break;
     }
 
@@ -2842,7 +2842,7 @@ bool WW8PLCFx_Fc_FKP::NewFkp()
             break;
         default:
             // program error!
-            OSL_ENSURE( false, "Someone forgot to encode nVersion!" );
+            OSL_ENSURE( false, "nVersion not implemented!" );
             return false;
     }
 
@@ -5341,7 +5341,7 @@ WW8Fib::WW8Fib(SvStream& rSt, sal_uInt8 nWantedVersion, sal_uInt32 nOffset)
                 nFibMin = 0;            // programm error!
                 nFibMax = 0;
                 nFib    = 1;
-                OSL_ENSURE( false, "It was forgotten to encode nVersion!" );
+                OSL_ENSURE( false, "nVersion not implemented!" );
                 break;
         }
         if ( (nFib < nFibMin) || (nFib > nFibMax) )
@@ -6402,7 +6402,7 @@ WW8Fonts::WW8Fonts( SvStream& rSt, WW8Fib& rFib )
     // always in ANSI, even if eStructCharSet == CHARSET_MAC !!
     if( rFib.lcbSttbfffn <= 2 )
     {
-        OSL_ENSURE( false, "Fonttabelle kaputt! (rFib.lcbSttbfffn < 2)" );
+        OSL_ENSURE( false, "font table is broken! (rFib.lcbSttbfffn < 2)" );
         return;
     }
 


More information about the Libreoffice-commits mailing list