Kaydet (Commit) 5bea199b authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Noel Grandin

Fix typos

Change-Id: Ic6c41fbcc36c11a7528cde0986593a39c2d6738b
Reviewed-on: https://gerrit.libreoffice.org/34803Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 51d99635
......@@ -1297,7 +1297,7 @@ void addJavaInfosDirScan(
{
//usr/java
//When we look directly into a dir like /usr, /usr/lib, etc. then we only
//look for certain java directories, such as jre, jdk, etc. Whe do not want
//look for certain java directories, such as jre, jdk, etc. We do not want
//to examine the whole directory because of performance reasons.
DirectoryItem item2;
if(DirectoryItem::get(usDir2, item2) == File::E_None)
......
......@@ -1728,7 +1728,7 @@ def __compil__(s):
if len(subnames) > 0:
globs = "global %s" % ", ".join(subnames)
# search user functions (function calls with two or more arguments need explicite Python parentheses)
# search user functions (function calls with two or more arguments need explicit Python parentheses)
ends = __l12n__(_.lng)["END"] # support multiple names of "END"
firstend = ends.split("|")[0]
s = re.sub(r"(?<!:)\b(?:%s)\b" % ends, firstend, s)
......
......@@ -316,7 +316,7 @@ Sequence < Reference < css::linguistic2::XMeaning > > SAL_CALL Thesaurus::queryM
{
if (rLocale == aTLocs[i])
{
// open up and intialize this thesaurus if need be
// open up and initialize this thesaurus if need be
if (!aThes[i])
{
OUString datpath = aTNames[i] + ".dat";
......
......@@ -109,7 +109,7 @@ class GrammarCheckingIterator:
osl::Condition m_aWakeUpThread;
oslThread m_thread;
//! beware of initilization order !
//! beware of initialization order!
struct MyMutex : public rtl::Static< osl::Mutex, MyMutex > {};
comphelper::OInterfaceContainerHelper2 m_aEventListeners;
comphelper::OInterfaceContainerHelper2 m_aNotifyListeners;
......
......@@ -56,7 +56,7 @@
/**
* @file
* For LWP filter architecture prototype
* Implemention of class LwpBackgroundStuff.
* Implementation of class LwpBackgroundStuff.
*/
#include "lwpbackgroundstuff.hxx"
......
......@@ -742,7 +742,7 @@ void LwpPara::RegisterStyle()
//register master page;
RegisterMasterPage(GetXFParaStyle());
// reg auto style,lay here for pagebreak need overrided para style
// reg auto style,lay here for pagebreak need overridden para style
m_Fribs.SetPara(this);
m_Fribs.RegisterStyle();
......
......@@ -55,7 +55,7 @@
************************************************************************/
/*************************************************************************
* @file
* Implemention file for Meta data,pls reference to the header file.
* Implementation file for Meta data,pls reference to the header file.
************************************************************************/
#include "xfofficemeta.hxx"
#include "ixfstream.hxx"
......
......@@ -55,7 +55,7 @@
************************************************************************/
/*************************************************************************
* @file
* Tool funtions for xml filter.
* Tool functions for xml filter.
* Don't use any template for the ***TOOUString function list for easy.
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFUTIL_HXX
......
......@@ -495,7 +495,7 @@ void SAL_CALL OConnection::clearWarnings()
void OConnection::disposing()
{
// we noticed that we should be destroied in near future so we have to dispose our statements
// we noticed that we should be destroyed in near future so we have to dispose our statements
MutexGuard aGuard(m_aMutex);
for (OWeakRefArray::iterator i = m_aStatements.begin(); i != m_aStatements.end() ; ++i) {
......
......@@ -56,7 +56,7 @@ void MysqlCDriver::disposing()
{
::osl::MutexGuard aGuard(m_aMutex);
// when driver will be destroied so all our connections have to be destroied as well
// when driver will be destroyed so all our connections have to be destroyed as well
for (OWeakRefArray::iterator i = m_xConnections.begin(); m_xConnections.end() != i; ++i)
{
Reference< XComponent > xComp(i->get(), UNO_QUERY);
......
......@@ -119,7 +119,7 @@ public class LicenseTest {
public void initialize( Object[] object )
throws com.sun.star.uno.Exception {
/* The component describes what arguments its expected and in which
* order!At this point you can read the objects and can intialize
* order!At this point you can read the objects and can initialize
* your component using these objects.
*/
}
......
......@@ -379,7 +379,7 @@ void OConnection::buildTypeInfo() throw( SQLException)
void OConnection::disposing()
{
// we noticed that we should be destroied in near future so we have to dispose our statements
// we noticed that we should be destroyed in near future so we have to dispose our statements
::osl::MutexGuard aGuard(m_aMutex);
for (OWeakRefArray::iterator i = m_aStatements.begin(); m_aStatements.end() != i; ++i)
......
......@@ -63,7 +63,7 @@ void SkeletonDriver::disposing()
{
::osl::MutexGuard aGuard(m_aMutex);
// when driver will be destroied so all our connections have to be destroied as well
// when driver will be destroyed so all our connections have to be destroyed as well
for (OWeakRefArray::iterator i = m_xConnections.begin(); m_xConnections.end() != i; ++i)
{
Reference< XComponent > xComp(i->get(), UNO_QUERY);
......
......@@ -64,7 +64,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
xCompLoader.loadComponentFromURL("private:factory/swriter",
"_blank", 0, new com.sun.star.beans.PropertyValue[0]);
// intialize the test document
// initialize the test document
com.sun.star.frame.XFrame xFrame = null;
{
com.sun.star.text.XTextDocument xDoc =UnoRuntime.queryInterface(com.sun.star.text.XTextDocument.class,
......@@ -176,7 +176,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
xMenuElementFactory.createInstance(
"com.sun.star.ui.ActionTriggerContainer" ));
// intialize root menu entry
// initialize root menu entry
xRootMenuEntry.setPropertyValue( "Text", "Help");
xRootMenuEntry.setPropertyValue( "CommandURL", "slot:5410");
xRootMenuEntry.setPropertyValue( "HelpURL", "5410");
......@@ -184,7 +184,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
// create menu entries for the new sub menu
// intialize help/content menu entry
// initialize help/content menu entry
XPropertySet xMenuEntry = UnoRuntime.queryInterface(
XPropertySet.class, xMenuElementFactory.createInstance(
"com.sun.star.ui.ActionTrigger" ));
......@@ -196,7 +196,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
// insert menu entry to sub menu
xSubMenuContainer.insertByIndex( 0, xMenuEntry );
// intialize help/help on help
// initialize help/help on help
xMenuEntry = UnoRuntime.queryInterface(
com.sun.star.beans.XPropertySet.class,
xMenuElementFactory.createInstance(
......@@ -208,7 +208,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
// insert menu entry to sub menu
xSubMenuContainer.insertByIndex( 1, xMenuEntry );
// intialize help/tips
// initialize help/tips
xMenuEntry = UnoRuntime.queryInterface(
com.sun.star.beans.XPropertySet.class,
xMenuElementFactory.createInstance(
......
......@@ -323,7 +323,7 @@ public class LinguisticExamples
}
}
//! remove listener before programm termination.
//! remove listener before program termination.
//! should not be omitted.
mxLinguSvcMgr.removeLinguServiceManagerListener(aClient);
......
......@@ -92,7 +92,7 @@ public class MinimalComponent {
public void initialize( Object[] object )
throws com.sun.star.uno.Exception {
/* The component describes what arguments its expected and in which
* order!At this point you can read the objects and can intialize
* order!At this point you can read the objects and can initialize
* your component using these objects.
*/
}
......
......@@ -29,7 +29,7 @@ interface XSidebar
{
/** Request layout of the sidebar.
Call this method when one of the panels wants to change its size due to
late initilization or different content after a context change.
late initialization or different content after a context change.
*/
void requestLayout ();
} ;
......
......@@ -18,7 +18,7 @@ module freedesktop
module PackageKit
{
/**
* The interface used for quering the package database.
* The interface used for querying the package database.
*
* @sa
* https://git.gnome.org/browse/gnome-software/tree/src/org.freedesktop.PackageKit.xml
......
......@@ -105,7 +105,7 @@
05/15/06 (JSC, TL): TaskID=i54823,i62825
adapt the documentation because of specification errors which have never matched
the existing implmentation.
the existing implementation.
Style -> FollowStyle property is now of type string instead of boolean
TextTableRow -> TableColumnSeparators is now a sequence instead of the single return
......
......@@ -77,7 +77,7 @@ drawing::EnhancedCustomShapeParameterPair lcl_parseEnhancedCustomShapeParameterP
{
drawing::EnhancedCustomShapeParameterPair aPair;
OString aToken = rValue;
// We expect the followings here: First.Value, First.Type, Second.Value, Second.Type
// We expect the following here: First.Value, First.Type, Second.Value, Second.Type
static const char aExpectedFVPrefix[] = "First = (com.sun.star.drawing.EnhancedCustomShapeParameter) { Value = (any) { (long) ";
assert(aToken.startsWith(aExpectedFVPrefix));
sal_Int32 nIndex = strlen(aExpectedFVPrefix);
......@@ -107,7 +107,7 @@ drawing::EnhancedCustomShapeSegment lcl_parseEnhancedCustomShapeSegment(const OS
{
drawing::EnhancedCustomShapeSegment aSegment;
OString aToken = rValue;
// We expect the followings here: Command, Count
// We expect the following here: Command, Count
static const char aExpectedCommandPrefix[] = "Command = (short) ";
assert(aToken.startsWith(aExpectedCommandPrefix));
sal_Int32 nIndex = strlen(aExpectedCommandPrefix);
......@@ -125,7 +125,7 @@ awt::Rectangle lcl_parseRectangle(const OString& rValue)
{
awt::Rectangle aRectangle;
OString aToken = rValue;
// We expect the followings here: X, Y, Width, Height
// We expect the following here: X, Y, Width, Height
static const char aExpectedXPrefix[] = "X = (long) ";
assert(aToken.startsWith(aExpectedXPrefix));
sal_Int32 nIndex = strlen(aExpectedXPrefix);
......@@ -156,7 +156,7 @@ awt::Size lcl_parseSize(const OString& rValue)
{
awt::Size aSize;
OString aToken = rValue;
// We expect the followings here: Width, Height
// We expect the following here: Width, Height
static const char aExpectedWidthPrefix[] = "Width = (long) ";
assert(aToken.startsWith(aExpectedWidthPrefix));
sal_Int32 nIndex = strlen(aExpectedWidthPrefix);
......@@ -289,7 +289,7 @@ void lcl_parseHandleRange(std::vector<beans::PropertyValue>& rHandle, const OStr
{
drawing::EnhancedCustomShapeParameter aParameter;
aToken = aToken.copy(strlen(aExpectedPrefix), aToken.getLength() - strlen(aExpectedPrefix) - strlen(" } }"));
// We expect the followings here: Value and Type
// We expect the following here: Value and Type
static const char aExpectedVPrefix[] = "Value = (any) { (long) ";
assert(aToken.startsWith(aExpectedVPrefix));
sal_Int32 nIndex = strlen(aExpectedVPrefix);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment