[Libreoffice-commits] core.git: dtrans/source filter/source include/osl include/rtl offapi/com sal/osl sal/qa svtools/source vcl/inc vcl/source
Julien Nabet
serval2412 at yahoo.fr
Sat Dec 20 07:40:29 PST 2014
dtrans/source/win32/dnd/source.cxx | 2 +-
filter/source/graphicfilter/idxf/dxfgrprd.cxx | 2 +-
include/osl/thread.h | 4 ++--
include/rtl/process.h | 4 ++--
offapi/com/sun/star/deployment/XExtensionManager.idl | 2 +-
sal/osl/unx/thread.cxx | 2 +-
sal/qa/helper/gcov/deprecated.txt | 4 ++--
sal/qa/osl/process/osl_Thread.cxx | 2 +-
svtools/source/contnr/fileview.cxx | 2 +-
vcl/inc/sft.hxx | 6 +++---
vcl/source/filter/wmf/wmfwr.hxx | 2 +-
11 files changed, 16 insertions(+), 16 deletions(-)
New commits:
commit b63571f510793376a334d346974d4d0d73b9a0ff
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Dec 20 16:39:24 2014 +0100
Typos
Change-Id: I3475be796cf2655d9b619b86c9686aeef4b97b82
diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx
index d7907f5..2728aed 100644
--- a/dtrans/source/win32/dnd/source.cxx
+++ b/dtrans/source/win32/dnd/source.cxx
@@ -99,7 +99,7 @@ void DragSource::StartDragImpl(
// The SourceContext class administers the XDragSourceListener s and
// fires events to them. An instance only exists in the scope of this
- // functions. However, the drag and drop operation causes callbacks
+ // function. However, the drag and drop operation causes callbacks
// to the IDropSource interface implemented in this class (but only
// while this function executes). The source context is also used
// in DragSource::QueryContinueDrag.
diff --git a/filter/source/graphicfilter/idxf/dxfgrprd.cxx b/filter/source/graphicfilter/idxf/dxfgrprd.cxx
index 0d79682..ecba39f 100644
--- a/filter/source/graphicfilter/idxf/dxfgrprd.cxx
+++ b/filter/source/graphicfilter/idxf/dxfgrprd.cxx
@@ -27,7 +27,7 @@
// we use an own ReadLine function, because Stream::ReadLine stops if
-// a 0-sign occurs; this functions converts 0-signs to blanks and reads
+// a 0-sign occurs; this function converts 0-signs to blanks and reads
// a complete line until a cr/lf is found
OString DXFReadLine(SvStream& rIStm)
diff --git a/include/osl/thread.h b/include/osl/thread.h
index 7c2dd3c..0a8eb4c 100644
--- a/include/osl/thread.h
+++ b/include/osl/thread.h
@@ -62,7 +62,7 @@ typedef sal_uInt32 oslThreadIdentifier;
typedef void* oslThreadKey;
/** Create the thread, using the function-ptr pWorker as
- its main (worker) function. This functions receives in
+ its main (worker) function. This function receives in
its void* parameter the value supplied by pThreadData.
Once the OS-structures are initialized,the thread starts
running.
@@ -71,7 +71,7 @@ typedef void* oslThreadKey;
SAL_DLLPUBLIC oslThread SAL_CALL osl_createThread(oslWorkerFunction pWorker, void* pThreadData);
/** Create the thread, using the function-ptr pWorker as
- its main (worker) function. This functions receives in
+ its main (worker) function. This function receives in
its void* parameter the value supplied by pThreadData.
The thread will be created, but it won't start running.
To wake-up the thread, use resume().
diff --git a/include/rtl/process.h b/include/rtl/process.h
index bd55a3a..d393b5c 100644
--- a/include/rtl/process.h
+++ b/include/rtl/process.h
@@ -46,7 +46,7 @@ SAL_DLLPUBLIC void SAL_CALL rtl_getGlobalProcessId( sal_uInt8 *pTargetUUID );
/** Get the nArg-th command-line argument passed to the main-function of this process.
- This functions differs from osl_getCommandArg() in filtering any bootstrap values
+ This function differs from osl_getCommandArg() in filtering any bootstrap values
given by command args, that means that all arguments starting with "-env:" will be
ignored by this function.
@@ -60,7 +60,7 @@ SAL_DLLPUBLIC oslProcessError SAL_CALL rtl_getAppCommandArg(sal_uInt32 nArg, rtl
/** Returns the number of command line arguments at process start.
- This functions differs from osl_getCommandArg() in filtering any bootstrap values
+ This function differs from osl_getCommandArg() in filtering any bootstrap values
given by command args, that means that all arguments starting with "-env:" will be
ignored by this function.
diff --git a/offapi/com/sun/star/deployment/XExtensionManager.idl b/offapi/com/sun/star/deployment/XExtensionManager.idl
index d6c92ce..f7bb93f 100644
--- a/offapi/com/sun/star/deployment/XExtensionManager.idl
+++ b/offapi/com/sun/star/deployment/XExtensionManager.idl
@@ -304,7 +304,7 @@ interface XExtensionManager
need to be displayed, and which are installed with the corresponding option,
are also not returned.
- Extensions returned by this functions are not returned by
+ Extensions returned by these functions are not returned by
XExtensionManger::getDeployedExtension()
XExtensionManger::getDeployedExtensions()
XExtensionManger::getAllExtensions()
diff --git a/sal/osl/unx/thread.cxx b/sal/osl/unx/thread.cxx
index 78843ea..c2f2fc9 100644
--- a/sal/osl/unx/thread.cxx
+++ b/sal/osl/unx/thread.cxx
@@ -527,7 +527,7 @@ void SAL_CALL osl_waitThread(const TimeValue* pDelay)
/* osl_yieldThread */
/*
Note that POSIX scheduling _really_ requires threads to call this
- functions, since a thread only reschedules to other thread, when
+ function, since a thread only reschedules to other thread, when
it blocks (sleep, blocking I/O) OR calls sched_yield().
*/
/*****************************************************************************/
diff --git a/sal/qa/helper/gcov/deprecated.txt b/sal/qa/helper/gcov/deprecated.txt
index a851c75..62d5636 100644
--- a/sal/qa/helper/gcov/deprecated.txt
+++ b/sal/qa/helper/gcov/deprecated.txt
@@ -169,7 +169,7 @@
###
# LLA:
-# this functions are not deprecated, they only marked as deprecated, to say that
+# these functions are not deprecated, they only marked as deprecated, to say that
# there is no test need.
###
rtl_zeroMemory;
@@ -206,7 +206,7 @@
# LLA:
# marked as deprecated, due to the fact there is no access from outside
-# so this functions are not really accessible
+# so these functions are not really accessible
# They are used in rtl/source/locale.c
rtl_hashentry_destroy;
rtl_hashfunc;
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index 1840d3b..ba5b0b7 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -415,7 +415,7 @@ namespace osl_Thread
void resumeAndWaitThread(Thread* _pThread)
{
- // This functions starts a thread, wait a second and suspends the thread
+ // This function starts a thread, wait a second and suspends the thread
// Due to the fact, that a suspend and never run thread never really exists.
// Note: on UNX, after createSuspended, and then terminate the thread, it performs well;
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 019a832..af2c3b9 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -2065,7 +2065,7 @@ static bool gbAscending = true;
static sal_Int16 gnColumn = COLUMN_TITLE;
static const CollatorWrapper* pCollatorWrapper = NULL;
-/* this functions returns true, if aOne is less then aTwo
+/* this function returns true, if aOne is less then aTwo
*/
bool CompareSortingData_Impl( SortingData_Impl* const aOne, SortingData_Impl* const aTwo )
{
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx
index 5d0f493..2aae5f7 100644
--- a/vcl/inc/sft.hxx
+++ b/vcl/inc/sft.hxx
@@ -367,7 +367,7 @@ namespace vcl
#ifndef NO_TYPE3
/**
* Generates a new PostScript Type 3 font and dumps it to <b>outf</b> file.
- * This functions subsititues glyph 0 for all glyphIDs that are not found in the font.
+ * This function substitutes glyph 0 for all glyphIDs that are not found in the font.
* @param ttf pointer to the TrueTypeFont structure
* @param outf the resulting font is written to this stream
* @param fname font name for the new font. If it is NULL the PostScript name of the
@@ -388,7 +388,7 @@ namespace vcl
#ifndef NO_TTCR
/**
* Generates a new TrueType font and dumps it to <b>outf</b> file.
- * This functions subsititues glyph 0 for all glyphIDs that are not found in the font.
+ * This function substitutes glyph 0 for all glyphIDs that are not found in the font.
* @param ttf pointer to the TrueTypeFont structure
* @param fname file name for the output TrueType font file
* @param glyphArray pointer to an array of glyphs that are to be extracted from ttf. The first
@@ -419,7 +419,7 @@ namespace vcl
#ifndef NO_TYPE42
/**
* Generates a new PostScript Type42 font and dumps it to <b>outf</b> file.
- * This functions subsititues glyph 0 for all glyphIDs that are not found in the font.
+ * This function substitutes glyph 0 for all glyphIDs that are not found in the font.
* @param ttf pointer to the TrueTypeFont structure
* @param outf output stream for a resulting font
* @param psname PostScript name of the resulting font
diff --git a/vcl/source/filter/wmf/wmfwr.hxx b/vcl/source/filter/wmf/wmfwr.hxx
index 93ca0d5..c27a8eb 100644
--- a/vcl/source/filter/wmf/wmfwr.hxx
+++ b/vcl/source/filter/wmf/wmfwr.hxx
@@ -110,7 +110,7 @@ private:
bool bEmbedEMF; // optionally embedd EMF data into WMF
void MayCallback();
- // this functions calculates percentage using the above 5 parameters
+ // this function calculates percentage using the above 5 parameters
// and triggers a callback if needed. Puts bStatus to FALSE if the
// users wants to abort.
More information about the Libreoffice-commits
mailing list