summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-25 22:05:13 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-11-25 22:05:13 +0100
commit983e0332737c9bdb114ca2132f4c90d33428dbba (patch)
tree2ec31e95004e836fdc61095110cd78dc8d74f11c
parent396dd770eb8e12b89865b2e2b899b801e4e6bd34 (diff)
Fix different typos for "unknown"
Change-Id: Ib2ee00d4e9f4c6c05d090adfcd5fb791fcbca72c
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx2
-rw-r--r--sfx2/source/control/objface.cxx2
-rw-r--r--solenv/gcc-wrappers/wrapper.cxx2
-rw-r--r--wizards/com/sun/star/wizards/web/AbstractErrorHandler.py6
-rw-r--r--wizards/com/sun/star/wizards/web/FTPDialog.py8
-rw-r--r--writerfilter/source/doctok/resources.xmi4
6 files changed, 12 insertions, 12 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index bb7cb8e65d81..5f85ca054252 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 2778b393a6a0..9242e94b39fc 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 42ead2f9bed0..a3bd84a47d69 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 3f9a10263ca4..52fb229747d9 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 17d869030166..5507adab3fa6 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 52c3d017eb8c..9706d7596f9c 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>