[Libreoffice-commits] core.git: pyuno/source sfx2/source solenv/gcc-wrappers wizards/com writerfilter/source

Julien Nabet serval2412 at yahoo.fr
Mon Nov 25 13:06:10 PST 2013


 pyuno/source/module/pyuno_runtime.cxx                    |    2 +-
 sfx2/source/control/objface.cxx                          |    2 +-
 solenv/gcc-wrappers/wrapper.cxx                          |    2 +-
 wizards/com/sun/star/wizards/web/AbstractErrorHandler.py |    6 +++---
 wizards/com/sun/star/wizards/web/FTPDialog.py            |    8 ++++----
 writerfilter/source/doctok/resources.xmi                 |    4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 983e0332737c9bdb114ca2132f4c90d33428dbba
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Nov 25 22:05:13 2013 +0100

    Fix different typos for "unknown"
    
    Change-Id: Ib2ee00d4e9f4c6c05d090adfcd5fb791fcbca72c

diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index bb7cb8e..5f85ca0 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -566,7 +566,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
     default:
     {
         OUStringBuffer buf;
-        buf.appendAscii( "Unknonwn UNO type class " );
+        buf.appendAscii( "Unknown UNO type class " );
         buf.append( (sal_Int32 ) a.getValueTypeClass() );
         throw RuntimeException(buf.makeStringAndClear( ), Reference< XInterface > () );
     }
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index 2778b39..9242e94 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -366,7 +366,7 @@ const SfxSlot* SfxInterface::GetRealSlot( sal_uInt16 nSlotId ) const
     {
         if(pGenoType)
             return pGenoType->GetRealSlot(nSlotId);
-        OSL_FAIL("unkonown Slot");
+        OSL_FAIL("unknown Slot");
         return 0;
     }
 
diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx
index 42ead2f..a3bd84a 100644
--- a/solenv/gcc-wrappers/wrapper.cxx
+++ b/solenv/gcc-wrappers/wrapper.cxx
@@ -108,7 +108,7 @@ string processccargs(vector<string> rawargs) {
             }
             else
             {
-                cerr << "unknonwn -o argument - please adapt gcc-wrapper for \""
+                cerr << "unknown -o argument - please adapt gcc-wrapper for \""
                      << (*i) << "\"";
                 exit(1);
             }
diff --git a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py
index 3f9a102..52fb229 100644
--- a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py
+++ b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py
@@ -109,7 +109,7 @@ class AbstractErrorHandler(ErrorHandler):
                 return 2
         elif (errorType in (ErrorHandler.ERROR_WARNING, ErrorHandler.ERROR_MESSAGE)):
                 return 1
-        raise ValueError("unkonown error type")
+        raise ValueError("unknown error type")
 
 
     # @param errorType
@@ -136,7 +136,7 @@ class AbstractErrorHandler(ErrorHandler):
                 return OK
         elif (errorType == ErrorHandler.ERROR_MESSAGE):
                 return OK
-        raise ValueError("unkonown error type")
+        raise ValueError("unknown error type")
 
     # @deprecated
     # @param errorType
@@ -163,7 +163,7 @@ class AbstractErrorHandler(ErrorHandler):
                 return "warningbox"
         elif (errorType == ErrorHandler.ERROR_MESSAGE):
                 return "infobox"
-        raise ValueError("unkonown error type")
+        raise ValueError("unknown error type")
 
     # renders the error
     # @param ex the exception
diff --git a/wizards/com/sun/star/wizards/web/FTPDialog.py b/wizards/com/sun/star/wizards/web/FTPDialog.py
index 17d8690..5507ada 100644
--- a/wizards/com/sun/star/wizards/web/FTPDialog.py
+++ b/wizards/com/sun/star/wizards/web/FTPDialog.py
@@ -60,7 +60,7 @@ class FTPDialog(UnoDialog2, UIConsts):
     # A Constant used for the setLabel(int) method to change the
     # status-display. "unknown" is the status when the user first
     # opens the dialog, or changes the servername/username/password.
-    STATUS_UNKONWN = 0
+    STATUS_UNKNOWN = 0
     # A Constant used for the setLabel(int) method to change the
     # status-display. (connection established)
     STATUS_OK = 1
@@ -216,7 +216,7 @@ class FTPDialog(UnoDialog2, UIConsts):
         self.username = "" if (self.publish.cp_Username == None) else self.publish.cp_Username
         self.password = "" if (self.publish.password == None) else self.publish.password
         self.folder = self.extractDir(self.publish.cp_URL)
-        self.setLabel(self.STATUS_UNKONWN)
+        self.setLabel(self.STATUS_UNKNOWN)
 
         self.enableTestButton()
         self.updateUI()
@@ -365,14 +365,14 @@ class FTPDialog(UnoDialog2, UIConsts):
         self.enableTestButton()
         self.setEnabled(self.btnOK, False)
         self.setEnabled(self.btnDir, False)
-        self.setLabel(self.STATUS_UNKONWN)
+        self.setLabel(self.STATUS_UNKNOWN)
 
     # changes the status label and icon, according to the
     # given status
     # @param status one opf the private status-constants.
     # if this param is not one of them, an "unknown error" status is displayed.
     def setLabel(self, status):
-        if status == self.STATUS_UNKONWN:
+        if status == self.STATUS_UNKNOWN:
             # not connected yet
             self.setLabel1(self.resources.resFTPDisconnected, self.ICON_UNKNOWN)
         elif status == self.STATUS_OK:
diff --git a/writerfilter/source/doctok/resources.xmi b/writerfilter/source/doctok/resources.xmi
index 52c3d01..9706d75 100644
--- a/writerfilter/source/doctok/resources.xmi
+++ b/writerfilter/source/doctok/resources.xmi
@@ -24226,7 +24226,7 @@
             <UML:Attribute name="unknown">
               <UML:ModelElement.taggedValue>
                 <UML:TaggedValue>
-                  <UML:TaggedValue.dataValue>unkonwn</UML:TaggedValue.dataValue>
+                  <UML:TaggedValue.dataValue>unknown</UML:TaggedValue.dataValue>
                   <UML:TaggedValue.type>
                     <UML:TagDefinition xmi.idref="comment"/>
                   </UML:TaggedValue.type>
@@ -24284,7 +24284,7 @@
             <UML:Attribute name="dropdownIndex">
               <UML:ModelElement.taggedValue>
                 <UML:TaggedValue>
-                  <UML:TaggedValue.dataValue>unkonwn</UML:TaggedValue.dataValue>
+                  <UML:TaggedValue.dataValue>unknown</UML:TaggedValue.dataValue>
                   <UML:TaggedValue.type>
                     <UML:TagDefinition xmi.idref="comment"/>
                   </UML:TaggedValue.type>


More information about the Libreoffice-commits mailing list