Fix typos in code and comments.

Change-Id: Ic36a34d51e781d1122fd3fa05834401d9ee4d9e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210053
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-08-27 20:41:03 +02:00
committed by Julien Nabet
parent ae0af926f1
commit ac2c1efd43
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -199,13 +199,13 @@ def windowsDefaultAppMightExecute():
# First get the length of the string
if assocQueryString(flags, assocStr, ".py", None, None, ctypes.byref(length)) != 1: # S_FALSE
log.debug("AsscQueryStringW failed")
log.debug("AssocQueryStringW failed")
return True
exeBuf = ctypes.create_unicode_buffer(length.value)
if assocQueryString(flags, assocStr, ".py", None, exeBuf, ctypes.byref(length)) != 0: # S_OK
log.debug("AsscQueryStringW failed")
log.debug("AssocQueryStringW failed")
return True
if length.value < 2:
@@ -935,7 +935,7 @@ class DummyProgressHandler(unohelper.Base, XProgressHandler):
log.debug("pythonscript: DummyProgressHandler.update " + str(status))
def pop(self, event):
log.debug("pythonscript: DummyProgressHandler.push " + str(event))
log.debug("pythonscript: DummyProgressHandler.pop " + str(event))
class CommandEnvironment(unohelper.Base, XCommandEnvironment):
@@ -1318,7 +1318,7 @@ class PythonScriptProvider(unohelper.Base, XBrowseNode, XScriptProvider, XNameCo
self.provCtx.removePackageByUrl(uri)
else:
log.debug("removeByName unknown uri " + str(name) + ", ignoring")
raise NoSuchElementException(uri + "is not in package", self)
raise NoSuchElementException(uri + " is not in package", self)
log.debug("removeByName called" + str(uri) + " successful")
def insertByName(self, name, value):
@@ -2334,7 +2334,7 @@ void StringResourceWithLocationImpl::initialize( const Sequence< Any >& aArgumen
bOk = (aArguments[5] >>= m_xInteractionHandler);
if( !bOk )
{
throw IllegalArgumentException( u"StringResourceWithStorageImpl::initialize: invalid type"_ustr, Reference< XInterface >(), 5 );
throw IllegalArgumentException( u"StringResourceWithLocationImpl::initialize: invalid type"_ustr, Reference< XInterface >(), 5 );
}
implInitializeCommonParameters( aGuard, aArguments );
+1 -1
View File
@@ -555,7 +555,7 @@ public:
{
xCloseBroadcaster->removeCloseListener( this );
}
// Add the listener into the new XCloseBroadcaster.
// Add the listener to the new XCloseBroadcaster.
xCloseBroadcaster.set( xModel, uno::UNO_QUERY );
if (xCloseBroadcaster.is())
{