Fix typos

Change-Id: Iaa9c0aea3ea1a239e378bd714ba335f91bb1faf3
Reviewed-on: https://gerrit.libreoffice.org/41194
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
Andrea Gelmini
2017-08-17 21:53:28 +02:00
committed by Michael Stahl
parent fc443f3b50
commit 64a3124d92
87 changed files with 131 additions and 131 deletions
+2 -2
View File
@@ -77,8 +77,8 @@ libraries on Mac OS X (.dylib)) must be built as static archives
instead. This has some interesting consequences for how UNO is
implemented and used.
An iOS app is a "bundle" that contains a single executable, In an app
using LibreOffice code, that eecutable then congtains the necessary
An iOS app is a "bundle" that contains a single executable. In an app
using LibreOffice code, that executable then contains the necessary
LibreOffice libraries and UNO components statically linked.
The Apple tool-chain for iOS cross-building is available only for OS
+1 -1
View File
@@ -5,7 +5,7 @@
# * autogen.lastrun (rw)
# * autogen.lastrun.bak (rw)
#
# If _no_ parmeters:
# If _no_ parameters:
# Read args from autogen.input or autogen.lastrun
# Else
# Backup autogen.lastrun as autogen.lastrun.bak
+1 -1
View File
@@ -281,7 +281,7 @@ sal_Int16 SAL_CALL Player::getVolumeDB()
// get the actual volume
const float fVolume = [mpPlayer volume];
// convert into Dezibel value
// convert into Decibel value
// -40dB <-> AVPlayer volume 0.0
// 0dB <-> AVPlayer volume 1.0
const int nVolumeDB = (fVolume <= 0) ? -40 : lrint( 20.0*log10(fVolume));
+1 -1
View File
@@ -31,7 +31,7 @@ Function verify_testReplace() as String
retStr = Replace("abcbcdbc", destStr, repStr)
TestLog_ASSERT retStr = "aefefdef", "expression string:" & retStr
retStr = Replace(srcStr, destStr, repStr, 1, -1, vbBinaryCompare)
TestLog_ASSERT retStr = "aefefdBc", "binanary compare:" & retStr
TestLog_ASSERT retStr = "aefefdBc", "binary compare:" & retStr
retStr = Replace(srcStr, destStr, repStr, 1, -1, vbTextCompare)
TestLog_ASSERT retStr = "aefefdef", "text compare:" & retStr
retStr = Replace(srcStr, destStr, repStr, compare:=vbTextCompare)
+1 -1
View File
@@ -401,7 +401,7 @@ sub print_bugs($$$$)
{
my ($pbugs, $log, $wiki) = @_;
# sort alphabetically by bugzilla-type, but whithin that numerically
# sort alphabetically by bugzilla-type, but within that numerically
foreach my $bug ( sort { ($a =~ /(\D+)/)[0] cmp ($b =~ /(\D+)/)[0] ||
($a =~ /(\d+)/)[0] <=> ($b =~ /(\d+)/)[0] } keys %{$pbugs}) {
my $summary = $pbugs->{$bug}{'summary'};
+1 -1
View File
@@ -48,7 +48,7 @@ sub inc_test_version($)
if ($lastchar =~ /\d/) {
return "$version" . "$lastchar" . "a";
} elsif ($lastchar =~ /\w/) {
# select next letter alhabeticaly: a->b, b->c, ...
# select next letter alphabetically: a->b, b->c, ...
$lastchar =~ tr/0a-zA-Z/a-zA-Z0/;
return "$version" . "$lastchar";
} else {
@@ -1485,7 +1485,7 @@ double VSeriesPlotter::getMaximumYInRange( double fMinimumX, double fMaximumX, s
double VSeriesPlotter::getMinimumZ()
{
//this is the default for all charts without a meaningfull z axis
//this is the default for all charts without a meaningful z axis
return 1.0;
}
double VSeriesPlotter::getMaximumZ()
+1 -1
View File
@@ -1025,7 +1025,7 @@ public sealed class Test
l.assure(false);
}
/** Case context fails to provide sigleton, a DeploymentException should be thrown.
/** Case context fails to provide singleton, a DeploymentException should be thrown.
*/
c = new Context(Context.test_kind.CREATION_FAILED);
try {
+2 -2
View File
@@ -2,7 +2,7 @@ dnl -*- Mode: Autoconf; tab-width: 4; indent-tabs-mode: nil; fill-column: 102 -*
dnl configure.ac serves as input for the GNU autoconf package
dnl in order to create a configure script.
# The version number in the second argumemnt to AC_INIT should be four numbers separated by
# The version number in the second argument to AC_INIT should be four numbers separated by
# periods. Some parts of the code requires the first one to be less than 128 and the others to be less
# than 256. The four numbers can optionally be followed by a period and a free-form string containing
# no spaces or periods, like "frobozz-mumble-42" or "alpha0". If the free-form string ends with one or
@@ -4810,7 +4810,7 @@ elif test "$_make_longver" -ge "038100"; then
dnl ===================================================================
AC_CHECK_PROGS(SHA1SUM, sha1sum sha1 shasum openssl)
if test -z "$SHA1SUM"; then
AC_MSG_ERROR([install the approproate SHA-1 checksumming program for this OS])
AC_MSG_ERROR([install the appropriate SHA-1 checksumming program for this OS])
elif test "$SHA1SUM" = "openssl"; then
SHA1SUM="openssl sha1"
fi
+1 -1
View File
@@ -355,7 +355,7 @@ extern "C" int unopkg_main()
//synchronize bundled/shared extensions
//Do not synchronize when command is "reinstall". This could add types and services to UNO and
//prevent the deletion of the registry data folder
//synching is done in XExtensionManager.reinstall
//syncing is done in XExtensionManager.reinstall
if (!subcmd_gui && ! (subCommand == "reinstall")
&& ! dp_misc::office_is_running())
dp_misc::syncRepositories(false, xCmdEnv);
@@ -146,7 +146,7 @@ bool AccessibleContextBase::GetState (sal_Int16 aState)
void AccessibleContextBase::SetRelationSet (
const uno::Reference<XAccessibleRelationSet>& rxNewRelationSet)
{
// Try to emit some meaningfull events indicating differing relations in
// Try to emit some meaningful events indicating differing relations in
// both sets.
typedef std::pair<short int,short int> RD;
const RD aRelationDescriptors[] = {
+1 -1
View File
@@ -110,7 +110,7 @@ typedef css::uno::Reference< css::lang::XSingleServiceFactory > (SAL_CALL *Facto
class OMultiInstanceAutoRegistration
{
public:
/** automatically registeres a multi instance component
/** automatically registers a multi instance component
<p>Assumed that the template argument has the three methods
<ul>
<li><code>static OUString getImplementationName_Static()</code><li/>
+1 -1
View File
@@ -145,7 +145,7 @@ class PictReader {
private:
SvStream * pPict; // The Pict file to read.
VclPtr<VirtualDevice> pVirDev; // Here the drawing methos will be called.
VclPtr<VirtualDevice> pVirDev; // Here the drawing method will be called.
// A recording into the GDIMetaFile will take place.
sal_uLong nOrigPos; // Initial position in pPict.
@@ -229,9 +229,9 @@
<xsl:template match="table:table-cell ">
<xsl:element name="w:tc">
<xsl:element name="w:tcPr">
<!-- to caclate the table-cell width Gary.Yang -->
<!-- to calculate the table-cell width Gary.Yang -->
<xsl:choose>
<!--when the table-cell contains the sub-table -->
<!--when the table-cell contains the sub-table -->
<xsl:when test="table:table/@table:is-sub-table= 'true' ">
<xsl:variable name="table-cell-width">
<xsl:call-template name="calculate-sub-table-width">
@@ -1115,7 +1115,7 @@
</xsl:choose>
</xsl:element>
</xsl:if>
<!-- the type of condition-pos:1,the former third part of General; 2, the last General. the methods handling diffirent -->
<!-- the type of condition-pos:1,the former third part of General; 2, the last General. the methods handling different -->
<xsl:call-template name="create-number-format-content">
<xsl:with-param name="style-type-name" select="$style-type-name"/>
<xsl:with-param name="number-format-unit" select="$current-number-format-unit"/>
@@ -1515,7 +1515,7 @@
<!--the following choose statement code will process the revised modifier
It happens that if a drawing elements has more than 2 modifier, the modifier (or say adj
in wordml) can be adjusted and only the modified adj is recorded.
what makes it more compicated is that adj support both comma and blanks.
what makes it more complicated is that adj support both comma and blanks.
so you have to use kickblanks template to kick the blanks and change it to comma version.
<key('shapetype',@type)/v:textpath[1]-->
<xsl:choose>
@@ -799,7 +799,7 @@
<xsl:when test="$createDiv and normalize-space(.) != ''">
<!-- every following frame sibling till the next draw:frame
have to be incapuslated within a div with left indent.
To be moved altogether arcording the indent (usually right) -->
To be moved altogether according the indent (usually right) -->
<xsl:comment>Next 'div' added for floating.</xsl:comment>
<xsl:element name="div">
<xsl:attribute name="style">
@@ -1734,7 +1734,7 @@
<xsl:value-of select="$listRestart"/>
</xsl:when>
<xsl:otherwise>
<!-- descdendants restart their list numbering, when an ancestor is not empty -->
<!-- descendants restart their list numbering, when an ancestor is not empty -->
<xsl:value-of select="not($isEmptyList)"/>
</xsl:otherwise>
</xsl:choose>
+1 -1
View File
@@ -2509,7 +2509,7 @@ void SvtFileDialog::AddControls_Impl( )
pImpl->_pLbTemplates->Show();
// This is strange. During the re-factoring during 96930, I discovered that this help id
// is set in the "Templates mode". This was hidden in the previous implementation.
// Shouldn't this be a more meaningfull help id.
// Shouldn't this be a more meaningful help id.
}
else if ( _nPickerFlags & PickerFlags::ImageTemplate )
{
+1 -1
View File
@@ -57,7 +57,7 @@ public:
@verbatim
This method will try to login the user at the denoted file server.
If a network resource named \\server\username exists and this resource
could be connected by this user, the methos will return true and getHomeDir
could be connected by this user, the method will return true and getHomeDir
will return \\server\username.
@endverbatim
+1 -1
View File
@@ -540,7 +540,7 @@ public:
/** suggests a default width for a column containing a given text
The width is calculated so that the text fits completely, plus som margin.
The width is calculated so that the text fits completely, plus some margin.
*/
sal_uLong GetDefaultColumnWidth( const OUString& _rText ) const;
+1 -1
View File
@@ -56,7 +56,7 @@ class SVX_DLLPUBLIC AccessibleShapeTreeInfo
{
public:
/** Use this constructor to create an empty object that is filled later
with more meaningfull data.
with more meaningful data.
*/
AccessibleShapeTreeInfo();
+1 -1
View File
@@ -109,7 +109,7 @@ private:
*/
void ReadConfiguration( bool bExcludedTypes, bool bRecognize );
/** Registeres the smart tag manager as listener at the package manager.
/** Registers the smart tag manager as listener at the package manager.
*/
void RegisterListener();
+2 -2
View File
@@ -71,7 +71,7 @@
existing LibreOffice installation and uses the same
libraries as the LibreOffice installation.</p>
<p>Download the SDK from the same
source as your LibreOffice packges.</p>
source as your LibreOffice packages.</p>
<ul>
<li>If you have installed an official The
Document Foundation LibreOffice release,
@@ -233,7 +233,7 @@
a working Perl version under
<a target="_blank" href="http://www.sunfreeware.com/" title="link to www.sunfreeware.com (online)">http://www.sunfreeware.com/</a>
if necessary. On Windows, the configure script
uses Windows Script and a JScipt. If you have
uses Windows Script and a JScript. If you have
problems with Windows Script, you can download a
newer version of
<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&amp;displaylang=en" title="link to the download page for the Windows Script">Windows Script</a>.</p>
@@ -94,7 +94,7 @@
<prop oor:name="UIName">
<!-- The x-no-translate entry is a marker to prevent l10n tooling from translation. If it is not necessary. -->
<value xml:lang="x-no-translate"></value>
<value xml:lang="de">DevGuide FlatXML Matser</value>
<value xml:lang="de">DevGuide FlatXML Master</value>
<value xml:lang="en-US">DevGuide FlatXML Master</value>
</prop>
<prop oor:name="Flags"><value>IMPORT EXPORT ALIEN 3RDPARTYFILTER</value></prop>
+3 -3
View File
@@ -1209,7 +1209,7 @@ tracking the spell checking relevant properties.</td>
title="link to OfficeDev/Linguistic/SampleHyphenator.java">SampleHyphenator</a></td>
<td class="cell80">A simple implementation for a <a
href="%DOXYGEN_PREFIX2%/docs/idl/ref/servicecom_1_1sun_1_1star_1_1linguistic2_1_1Hyphenator.html"
title="link to the reference documentation of com.sun.star.linguistic2.Hypenator"><code>Hyphenator</code></a>
title="link to the reference documentation of com.sun.star.linguistic2.Hyphenator"><code>Hyphenator</code></a>
service.</td>
</tr>
<tr>
@@ -1287,7 +1287,7 @@ instance of this type may be returned by the spell checker.</td>
<td class="cell80">This code example creates the
service <a
href="%DOXYGEN_PREFIX2%/docs/idl/ref/servicecom_1_1sun_1_1star_1_1util_1_1PathSettings.html"
title="link to the reference documentation of com.sun.star.util.PathSettingst">
title="link to the reference documentation of com.sun.star.util.PathSettings">
<code>com.sun.star.util.PathSettings</code></a> and
retrieves all path properties from it. It shows how a developer can
change the path properties using the <a
@@ -1862,7 +1862,7 @@ changes.</td>
<td class="cell20"><a
href="./BasicAndDialogs/FirstStepsBasic.odt"
title="link to BasicAndDialogs/FirstStepsBasic.odt">FirstStepsBasic.odt</a></td>
<td class="cell80">This StarBasc example shows how to
<td class="cell80">This StarBasic example shows how to
create an own dialog which inserts a graphics object into a text
document.</td>
</tr>
+3 -3
View File
@@ -372,7 +372,7 @@
<p>Additional information:</p>
<p>
<a href="http://wiki.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Simple_Component_in_Java" title="link to the &quot;Simple component in Java&quot; chapter in the Developer's Guide">How to write a UNO component in Java</a><br/>
<a href="http://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Java_Language_Binding" title="link to the &quot;Java UNO Language Bnding&quot; chapter in the Developer's Guide">Java UNO Language Binding</a><br/>
<a href="http://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Java_Language_Binding" title="link to the &quot;Java UNO Language Binding&quot; chapter in the Developer's Guide">Java UNO Language Binding</a><br/>
<a href="http://wiki.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Debugging" title="link to the &quot;Debugging Java components&quot; chapter in the Developer's Guide">Debugging Java components</a><br/>
</p>
</td>
@@ -416,7 +416,7 @@
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a href="python/toolpanel/" title="link to the source directory of the ToolPanel python axample">ToolPanelPoc</a></td>
<td class="cell20"><a href="python/toolpanel/" title="link to the source directory of the ToolPanel python example">ToolPanelPoc</a></td>
<td class="cell80">This proof of concept extension illustrates how to create a ToolPanel in Calc.</td>
</tr>
</tbody>
@@ -782,7 +782,7 @@
GeneralTableSample.exe, ViewSample.exe.</td>
</tr>
<tr>
<td class="cell20"><a href="CLI/VB.NET/WriterDemo/" title="link to the source directory of the WriterDeom example using the CLI-UNO bridge">WriterDemo</a></td>
<td class="cell20"><a href="CLI/VB.NET/WriterDemo/" title="link to the source directory of the WriterDemo example using the CLI-UNO bridge">WriterDemo</a></td>
<td class="cell80">This example is written in VB.NET. It creates a text
document and inserts text, a table, and a text frame.</td>
</tr>
+1 -1
View File
@@ -123,7 +123,7 @@ service Axis
*/
[optional, property] com::sun::star::chart::ChartAxisMarkPosition MarkPosition;
/** Determines display units are avaiblable for axis
/** Determines display units are available for axis
@since LibreOffice 4.3
*/
+1 -1
View File
@@ -45,7 +45,7 @@ interface XScaling : ::com::sun::star::uno::XInterface
* Get an interface object that conforms to a scaling rule that
* is the reverse of the original scaling rule.
*
* @return internface object that represents the reversed
* @return interface object that represents the reversed
* scaling rule.
*/
com::sun::star::chart2::XScaling getInverseScaling();
@@ -45,7 +45,7 @@ module com { module sun { module star { module document {
The <strong>ServiceName</strong> - This must be a valid UNO service name.
It is also an entry in the corresponding configuration list.
<br>
Example: "com.company.devision.DetectService"
Example: "com.company.division.DetectService"
<br>
Note that this really means the implementation name of the service.
Because it's not possible otherwise to distinguish between more than one
@@ -42,7 +42,7 @@ published service ExtendedTypeDetectionFactory
/** factory interface to create and initialize extended type detection components.
<p>
A detection component must be specified by its UNO implementation name and will be crated then.
A detection component must be specified by its UNO implementation name and will be created then.
Every new created component can be initialized with its own configuration data
and may given optional arguments of the corresponding createInstanceWithArguments() request. To do so the
service must support the optional interface com::sun::star::lang::XInitialization.
@@ -95,7 +95,7 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener
/** is called when an Undo context has been left.
<p>UndoManagerEvent::UndoActionTitle carries the title of the Undo context, and
UndoManagerEvent::UndoContextDepth the number of open Undo contexts, exluding the
UndoManagerEvent::UndoContextDepth the number of open Undo contexts, excluding the
one just left.</p>
@see XUndoManager::leaveUndoContext
@@ -104,7 +104,7 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener
*/
void leftContext( [in] UndoManagerEvent iEvent );
/** is calledn when a hidden Undo context has been left.
/** is called when a hidden Undo context has been left.
<p>UndoManagerEvent::UndoActionTitle is empty, as hidden Undo contexts don't have
a title.</p>
@@ -26,7 +26,7 @@
module com { module sun { module star { module drawing {
/** @deprecated Pleas use the factory interface of the service GenericDrawingDocument.
/** @deprecated Please use the factory interface of the service GenericDrawingDocument.
*/
published service DrawingDocumentFactory
{
@@ -36,7 +36,7 @@ published interface XEmbeddedClient: XComponentSupplier
/** asks client to let the object store itself.
@throws com::sun::star::uno::ObjectSaveVetoException
in case container chants to avoid saving of object
in case container wants to avoid saving of object
@throws com::sun::star::uno::Exception
in case of problems during saving
+1 -1
View File
@@ -72,7 +72,7 @@ published interface XDispatch: com::sun::star::uno::XInterface
readonly boolean Flag SynchronMode
<p>
By default, and absent any arguments, "SychronMode" is
By default, and absent any arguments, "SynchronMode" is
considered `FALSE` and the execution is performed
asynchronously (i.e. dispatch() returns immediately, and
the action is performed in the background). But when set
@@ -30,7 +30,7 @@
module com { module sun { module star { module script { module provider {
/**
This interface represents an invokable script or UNO function.
This interface represents an invocable script or UNO function.
*/
interface XScript : ::com::sun::star::uno::XInterface {
+1 -1
View File
@@ -48,7 +48,7 @@ constants TextMarkupType
const long SMARTTAG = 3;
/** Markup originates from proofreading
An inivisible markup type used in proofreading API calls.
An invisible markup type used in proofreading API calls.
@since OOo 3.0.1
*/
const long SENTENCE = 4;
@@ -21,7 +21,7 @@
*/
interface XInteractionAuthFallback: com::sun::star::task::XInteractionContinuation
{
/* Authentication code submited by the user */
/* Authentication code submitted by the user */
void setCode( [in] string code );
};
@@ -33,7 +33,7 @@ module com { module sun { module star { module xml { module crypto { module sax
* The PRI_AFTERMODIFY priority represents the notification will be
* sent after any internal modification has finished.
* <p>
* The PRI_BEFOREMODIFY proirity represents the notification will be
* The PRI_BEFOREMODIFY priority represents the notification will be
* sent before any internal modification happens.
* <p>
* So an element mark with PRI_BEFOREMODIFY will be handled first,
@@ -34,7 +34,7 @@
</info>
</prop>
<prop oor:name="Measure" oor:type="xs:string">
<!--Label: Contains the measurement data of the label contatenated by a colon (;) in the following order:
<!--Label: Contains the measurement data of the label concatenated by a colon (;) in the following order:
'C' or 'S';Horizontal Distance;Vertical Distance;Width;Height;Left margin;Upper margin;Columns;Rows" while 'C' marks a continuous label and 'S' marks a sheet
-->
<info>
@@ -33,7 +33,7 @@
<info>
<desc>Used to sort types inside dialogs. Only values &gt; 0 are
recognized. Types with an order value &lt; 1 will be sorted
alphabeticly.</desc>
alphabetically.</desc>
</info>
<value>0</value>
</prop>
+1 -1
View File
@@ -123,7 +123,7 @@ interface XRange
[in] any Orientation, [in] any SortMethod, [in] any DataOption1,
[in] any DataOption2, [in] any DataOption3 );
XRange End( [in] long Direction );
// bizarely I have to define Character method as character otherwise
// bizarrely I have to define Character method as character otherwise
// idl complains
XCharacters characters([in] any Start, [in] any Length);
void Delete( [in] any Shift );
@@ -74,7 +74,7 @@ public class _XServiceInfo extends MultiMethodTest {
/**
* Gets one of the service names returned by
* <code>getSupportedServiceNames</code> method and
* calls the <code>supportsService</code> methos with this
* calls the <code>supportsService</code> method with this
* name. <p>
* Has <b>OK</b> status if <code>true</code> value is
* returned.
+1 -1
View File
@@ -50,7 +50,7 @@ import com.sun.star.uno.Type;
*
* Properties are tested in a safe way, this means that old
* properties' values are restored to their previous values
* after testing. These values are meaningfull for further
* after testing. These values are meaningful for further
* testing. <p>
*
* Properties testing is automated by <code>lib.MultiPropertyTest</code>.
+1 -1
View File
@@ -997,7 +997,7 @@ static void osl_thread_textencoding_init_Impl()
/* determine default text encoding */
defaultEncoding = osl_getTextEncodingFromLocale(nullptr);
// Tools string functions call abort() on an unknown encoding so ASCII is a
// meaningfull fallback:
// meaningful fallback:
if ( RTL_TEXTENCODING_DONTKNOW == defaultEncoding )
{
SAL_WARN("sal.osl", "RTL_TEXTENCODING_DONTKNOW -> _ASCII_US");
+1 -1
View File
@@ -243,7 +243,7 @@ if($state) {
}
else {
print "**** tests NOT passed ****\n";
print "Commnent:\n", $comment, "\n";
print "Comment:\n", $comment, "\n";
}
print "**************************\n";
+8 -8
View File
@@ -1915,7 +1915,7 @@ static ImplTextEncodingData const aImplMS1257TextEncodingData
/* ISO-8859-2 */
/* Unix Standard for Eastern European (Latin2) */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control caracter like in Unicode */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control character like in Unicode */
/* Convert-Tables: mappings/iso8859/8859-2.txt from 07/27/99 Version 1.0 (based on Unicode 3.0) */
/* Last-Changes from us: */
@@ -2083,7 +2083,7 @@ static ImplTextEncodingData const aImplISO88592TextEncodingData
/* ISO-8859-3 */
/* Latin3 (Esperanto, Maltese, Turkish) */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control caracter like in Unicode */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control character like in Unicode */
/* Convert-Tables: mappings/iso8859/8859-3.txt from 07/27/99 Version 1.0 (based on Unicode 3.0) */
/* Last-Changes from us: */
@@ -2244,7 +2244,7 @@ static ImplTextEncodingData const aImplISO88593TextEncodingData
/* ISO-8859-4 */
/* Latin4 (Estonian, Latvian, Lithuanian) */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control caracter like in Unicode */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control character like in Unicode */
/* Convert-Tables: mappings/iso8859/8859-4.txt from 07/27/99 Version 1.0 (based on Unicode 3.0) */
/* Last-Changes from us: */
@@ -2412,7 +2412,7 @@ static ImplTextEncodingData const aImplISO88594TextEncodingData
/* ISO-8859-5 */
/* Unix Standard for Cyrillic */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control caracter like in Unicode */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control character like in Unicode */
/* Convert-Tables: mappings/iso8859/8859-5.txt from 07/27/99 Version 1.0 (based on Unicode 3.0) */
/* Last-Changes from us: */
@@ -2510,7 +2510,7 @@ static ImplTextEncodingData const aImplISO88595TextEncodingData
/* ISO-8859-7 */
/* Unix Standard for Greek */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control caracter like in Unicode */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control character like in Unicode */
/* Convert-Tables: mappings/iso8859/8859-7.txt from 07/27/99 Version 1.0 (based on Unicode 3.0) */
/* Last-Changes from us: */
@@ -2621,7 +2621,7 @@ static ImplTextEncodingData const aImplISO88597TextEncodingData
/* ISO-8859-9 */
/* Latin5 (Turkish) */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control caracter like in Unicode */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control character like in Unicode */
/* Convert-Tables: mappings/iso8859/8859-9.txt from 07/27/99 Version 1.0 (based on Unicode 3.0) */
/* Last-Changes from us: */
@@ -2721,7 +2721,7 @@ static ImplTextEncodingData const aImplISO88599TextEncodingData
/* ISO-8859-10 */
/* East European */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control caracter like in Unicode */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control character like in Unicode */
/* Convert-Tables: mappings/iso8859/8859-10.txt from 07/27/99 Version 1.0 (based on Unicode 3.0) */
/* Last-Changes from us: */
@@ -2862,7 +2862,7 @@ static ImplTextEncodingData const aImplISO885910TextEncodingData
/* ISO-8859-13 */
/* East European */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control caracter like in Unicode */
/* 1-byte, 0x00-0x7F ASCII without exception, 0x80-0x9F control character like in Unicode */
/* Convert-Tables: mappings/iso8859/8859-13.txt from 07/27/99 Version 1.0 (based on Unicode 3.0) */
/* Last-Changes from us: */
+1 -1
View File
@@ -339,7 +339,7 @@ static ImplTextEncodingData const aImplIBM850TextEncodingData
/* ======================================================================= */
/* IBM-860 */
/* Dos Standard CharSet for Portugiese */
/* Dos Standard CharSet for Portuguese */
/* 1-byte, 0x00-0x7F ASCII without exception */
/* Convert-Tables: mappings/vendors/micsft/pc/cp860.txt from 04/24/96 Version 2.00 */
/* Last-Changes from us: */
@@ -3755,7 +3755,7 @@
<table:covered-table-cell/>
<table:table-cell table:number-columns-repeated="3"/>
<table:table-cell table:style-name="ce87" office:value-type="string" calcext:value-type="string" table:number-columns-spanned="2" table:number-rows-spanned="1">
<text:p>Workarround with INT()</text:p>
<text:p>Workaround with INT()</text:p>
</table:table-cell>
<table:covered-table-cell/>
<table:table-cell table:number-columns-repeated="4"/>
@@ -4325,4 +4325,4 @@
</table:named-expressions>
</office:spreadsheet>
</office:body>
</office:document>
</office:document>
+1 -1
View File
@@ -982,7 +982,7 @@ IMPL_LINK_NOARG(ScTabViewShell, FormControlActivated, LinkParamNone*, void)
}
// GetMySubShell / SetMySubShell: simulate old behavior,
// so that there is only one SubShell (only whithin the 5 own SubShells)
// so that there is only one SubShell (only within the 5 own SubShells)
SfxShell* ScTabViewShell::GetMySubShell() const
{
+1 -1
View File
@@ -257,7 +257,7 @@ void OutlineViewShell::ArrangeGUIElements ()
{
pWindow->SetMinZoomAutoCalc(false);
// change OuputArea of the OutlinerView
// change OutputArea of the OutlinerView
OutlinerView* pOutlinerView = pOlView->GetViewByWindow(pWindow);
::tools::Rectangle aWin(Point(0,0), pWindow->GetOutputSizePixel());
+5 -5
View File
@@ -7,7 +7,7 @@
(Using XML Schema based standard code list/enumeration mechanism - OPTION 1 AND DEFAULT)
Produced by: OASIS Customer Information Quality Technical Committee
URL: http://www.oasis-open.org/committees/ciq
Version: 3.0
Version: 3.0
Status: Committee Specification
Copyright: 2006-07, OASIS, http://www.oasis-open.org
Last Modified: 18 September 2007
@@ -197,7 +197,7 @@
</xs:enumeration>
<xs:enumeration value="Prefix">
<xs:annotation>
<xs:documentation>Indocates that the element contains some value that is important, but not exactly the number itself. E.g. PoBox can be a prefix in PoBox 2020, street no. A-15, where A is the prefix and 15 is the number</xs:documentation>
<xs:documentation>Indicates that the element contains some value that is important, but not exactly the number itself. E.g. PoBox can be a prefix in PoBox 2020, street no. A-15, where A is the prefix and 15 is the number</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Suffix">
@@ -373,7 +373,7 @@
<xs:enumeration value="Number"/>
<xs:enumeration value="ReferenceLocation">
<xs:annotation>
<xs:documentation>Reference location information in support of the sub administrative area. </xs:documentation>
<xs:documentation>Reference location information in support of the sub administrative area</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Type">
@@ -385,7 +385,7 @@
</xs:simpleType>
<xs:simpleType name="SubAdministrativeAreaNameCodeList">
<xs:annotation>
<xs:documentation>A list of codes for name of sub adiministrative area</xs:documentation>
<xs:documentation>A list of codes for name of sub administrative area</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
@@ -480,7 +480,7 @@
</xs:enumeration>
<xs:enumeration value="Unstructured">
<xs:annotation>
<xs:documentation>Full details of a thorughfare in a single line (unstructured)
<xs:documentation>Full details of a thoroughfare in a single line (unstructured)
e.g. 39 Baker Street North</xs:documentation>
</xs:annotation>
</xs:enumeration>
+3 -3
View File
@@ -157,7 +157,7 @@
</xs:element>
<xs:element name="Locality" minOccurs="0">
<xs:annotation>
<xs:documentation>Details of Locality which is a named densely populated area (a place) such as town, village, suburb, etc. A locality composes of many individual addresses. Many localities exist in an administrative area or a sub adminisrative area. A locality can also have sub localities. For example, a municipality locality can have many villages associated with it which are sub localities. Example: Tamil Nadu State, Erode District, Bhavani Taluk, Paruvachi Village is a valid address in India. Tamil Nadu is the Administrative Area, Erode is the sub admin area, Bhavani is the locality, and Paruvachi is the sub locality</xs:documentation>
<xs:documentation>Details of Locality which is a named densely populated area (a place) such as town, village, suburb, etc. A locality composes of many individual addresses. Many localities exist in an administrative area or a sub administrative area. A locality can also have sub localities. For example, a municipality locality can have many villages associated with it which are sub localities. Example: Tamil Nadu State, Erode District, Bhavani Taluk, Paruvachi Village is a valid address in India. Tamil Nadu is the Administrative Area, Erode is the sub admin area, Bhavani is the locality, and Paruvachi is the sub locality</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
@@ -457,7 +457,7 @@
</xs:sequence>
<xs:attribute name="Meridian" type="MeridianCodeList">
<xs:annotation>
<xs:documentation>The collection of the coordinate numeric values for latitude amd longtitude depends on the agreed position of the meridian. Declaration of the meridian is necessary as it cannot be assumed in the data</xs:documentation>
<xs:documentation>The collection of the coordinate numeric values for latitude amd longitude depends on the agreed position of the meridian. Declaration of the meridian is necessary as it cannot be assumed in the data</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MeridianCodeType" type="ct:String">
@@ -587,7 +587,7 @@
<xs:extension base="ct:String">
<xs:attribute name="Type" type="IdentifierElementTypeList">
<xs:annotation>
<xs:documentation>Indicates which part of number or identifier this element contains. Some "numbers" are as simple as 42 and some "numbers" are more like complex aplhanumberic identifiers as Postcodes in UK or Canada, e.g. M2H 2S5. It may be necessary to separate the "number" into sub-elements and indicate what type of information each of them contains.</xs:documentation>
<xs:documentation>Indicates which part of number or identifier this element contains. Some "numbers" are as simple as 42 and some "numbers" are more like complex alphanumeric identifiers as Postcodes in UK or Canada, e.g. M2H 2S5. It may be necessary to separate the "number" into sub-elements and indicate what type of information each of them contains.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="ct:grAbbreviation"/>
+1 -1
View File
@@ -8,7 +8,7 @@ Here is a chart how the "slot-model" of the command processing framework works.
<BR>
Menu commands and Key accelerators are stored
asynchronously into a UNO command stack and later executed
seqentially.<BR>
sequentially.<BR>
</P>
<P CLASS="western" STYLE="margin-bottom: 0.5cm"><IMG SRC="sfx2doc0001.svg" NAME="Grafik1" ALIGN=BOTTOM WIDTH=950 HEIGHT=350 BORDER=0></P>
<P CLASS="western" STYLE="margin-bottom: 0.5cm"><BR><BR>
+2 -2
View File
@@ -42,7 +42,7 @@ bool SfxControllerItem::IsBound() const
}
// registeres with the id at the bindings
// registers with the id at the bindings
void SfxControllerItem::Bind( sal_uInt16 nNewId, SfxBindings *pBindinx )
{
@@ -182,7 +182,7 @@ SfxControllerItem::SfxControllerItem():
}
// creates a representation of the function nId and registeres it
// creates a representation of the function nId and registers it
SfxControllerItem::SfxControllerItem( sal_uInt16 nID, SfxBindings &rBindings ):
nId(nID),
+1 -1
View File
@@ -99,7 +99,7 @@ struct SfxInterface_Impl
static SfxObjectUI_Impl* CreateObjectBarUI_Impl(sal_uInt16 nPos, SfxVisibilityFlags nFlags, ToolbarId eId, SfxShellFeature nFeature);
// constuctor, registeres a new unit
// constuctor, registers a new unit
SfxInterface::SfxInterface( const char *pClassName,
bool bUsableSuperClass,
SfxInterfaceId nId,
+1 -1
View File
@@ -117,7 +117,7 @@ inline void SfxStateCache::ClearCache()
}
// registeres a item representing this function
// registers a item representing this function
inline SfxControllerItem* SfxStateCache::ChangeItemLink( SfxControllerItem* pNewBinding )
{
@@ -58,7 +58,7 @@ public:
@param rEventMultiplexer
The slideshow-global event source, where this class
registeres its event handlers.
registers its event handlers.
*/
ShapeManagerImpl( EventMultiplexer& rMultiplexer,
LayerManagerSharedPtr const& rLayerManager,
+2 -2
View File
@@ -42,7 +42,7 @@ class MouseLeaveHandler;
/** This class schedules user-activated events.
This class registeres at the EventMultiplexer and fires
This class registers at the EventMultiplexer and fires
events registered for certain user actions. Note that all
events will not be fired immediately after the user action
occurred, but always added to the EventQueue (and fired the
@@ -62,7 +62,7 @@ public:
@param rEventMultiplexer
The slideshow-global event source, where this class
registeres its event handlers.
registers its event handlers.
@param rEventQueue
Reference to the main event queue. Since we hold this
+2 -2
View File
@@ -17,10 +17,10 @@
# NOTE: At present, this script only works for files with C-like comments.
# NOTE: If you don't specify -p, the script will act on the current working directory.
# NOTE: If no arguments are specified, the defitions below are in effect.
# NOTE: If no arguments are specified, the definitions below are in effect.
# TO DO
# - Deuglifiy?
# - Deuglify?
# - Make source file type agnostic modelines?
# - Too many/too few comments?
# - Handle top level source directories with whitespace names? (Do they exist?)
+1 -1
View File
@@ -15,7 +15,7 @@ in git.
syntax: bin_library_info.sh -m|--module <top_level_module> -l|--location <TARFILE_LOCATION> -s|--srcdir <SRCDIR> -b <BUILDDIR> -r|--tarfile <LIBRARY_TARFILE> [ -m|--mode verify|name ]
the default mode is 'name' which just print the associated binary tarfile name.
in 'verify' mode the programe print the name if the associated binary tarfile exist
in 'verify' mode the program print the name if the associated binary tarfile exist
and print nothing and return an error code if the file does not exist
Note: --location --builddir and --srcdir are optional if they are already in the env in the form of TARFILE_LOCATION and BUILDDIR SRCDIR respectively
+1 -1
View File
@@ -142,7 +142,7 @@ Returns the repository root, retrieved by educated guess...
RepositoryHelper::get_initial_directory()
Returns full path to the initialistion directory.
Returns full path to the initialisation directory.
=head2 EXPORT
+1 -1
View File
@@ -1333,7 +1333,7 @@ sub replace_variables_in_shellscripts
}
############################################################
# Determinig the directory created by epm, in which the
# Determining the directory created by epm, in which the
# RPMS or Solaris packages are created.
############################################################
+1 -1
View File
@@ -237,7 +237,7 @@ sub setglobalvariables
{
# Setting the installertype directory corresponding to the environment variable PKGFORMAT
# The global variable $installer::globals::packageformat can only contain one package format.
# If PKGFORMAT cotains more than one format (for example "rpm deb") this is splitted in the
# If PKGFORMAT contains more than one format (for example "rpm deb") this is splitted in the
# makefile calling the perl program.
$installer::globals::installertypedir = $installer::globals::packageformat;
@@ -136,7 +136,7 @@ sub create_featurecomponent_table
installer::windows::idtglobal::write_idt_header(\@featurecomponenttable, "featurecomponent");
# This is the first time, that features and componentes are related
# This is the first time, that features and components are related
# Problem: How about created profiles, configurationfiles, services.rdb
# -> simple solution: putting them all to the root module
# Otherwise profiles and configurationfiles cannot be created the way, they are now created
+1 -1
View File
@@ -886,7 +886,7 @@ sub collectpackagemaps
{
my ( $installdir, $languagestringref, $allvariables ) = @_;
installer::logger::include_header_into_logfile("Collecing all packagemaps (pkgmap):");
installer::logger::include_header_into_logfile("Collecting all packagemaps (pkgmap):");
my $pkgmapdir = installer::systemactions::create_directories("pkgmap", $languagestringref);
my $subdirname = $allvariables->{'UNIXPRODUCTNAME'} . "_pkgmaps";
+1 -1
View File
@@ -39,7 +39,7 @@ SvtListener::~SvtListener() COVERITY_NOEXCEPT_FALSE
EndListeningAll();
}
// registeres at a specific SvtBroadcaster
// registers at a specific SvtBroadcaster
bool SvtListener::StartListening( SvtBroadcaster& rBroadcaster )
{
+3 -3
View File
@@ -592,7 +592,7 @@ void SvxFontWorkDialog::SetShadowXVal_Impl(const XFormTextShadowXValItem* pItem)
// #i19251#
// The two involved fields/items are used double and contain/give different
// values regarding to the access method. Thus, here we need to separate the access
// methos regarding to the kind of value accessed.
// methods regarding to the kind of value accessed.
if (m_pTbxShadow->IsItemChecked(nShadowSlantId))
{
// #i19251#
@@ -620,7 +620,7 @@ void SvxFontWorkDialog::SetShadowYVal_Impl(const XFormTextShadowYValItem* pItem)
// #i19251#
// The two involved fields/items are used double and contain/give different
// values regarding to the access method. Thus, here we need to separate the access
// methos regarding to the kind of value accessed.
// methods regarding to the kind of value accessed.
if (m_pTbxShadow->IsItemChecked(nShadowSlantId))
{
m_pMtrFldShadowY->SetValue(pItem->GetValue());
@@ -771,7 +771,7 @@ IMPL_LINK_NOARG(SvxFontWorkDialog, InputTimoutHdl_Impl, Timer *, void)
// #i19251#
// The two involved fields/items are used double and contain/give different
// values regarding to the access method. Thus, here we need to separate the access
// methos regarding to the kind of value accessed.
// method regarding to the kind of value accessed.
if (nLastShadowTbxId == nShadowNormalId)
{
nValueX = GetCoreValue(*m_pMtrFldShadowX, MapUnit::Map100thMM);
+1 -1
View File
@@ -105,7 +105,7 @@ SdrObjList::~SdrObjList()
{
// To avoid that the Clear() method will broadcast changes when in destruction
// which would call virtual methos (not allowed in destructor), the model is set
// which would call virtual method (not allowed in destructor), the model is set
// to NULL here.
pModel = nullptr;
+1 -1
View File
@@ -32,7 +32,7 @@ public:
SwFormatEditInReadonly( sal_uInt16 nId = RES_EDIT_IN_READONLY,
bool bPrt = false ) : SfxBoolItem( nId, bPrt ) {}
/// "pure virtual methos" of SfxPoolItem
/// "pure virtual method" of SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
+1 -1
View File
@@ -779,7 +779,7 @@ interface BaseTextEditView
]
//Extra/Options/View
//Will be summerized to Property ViewSettings
//Will be summarized to Property ViewSettings
FN_VIEW_HIDDEN_PARA
[
ExecMethod = ExecViewOptions ;
+1 -1
View File
@@ -473,7 +473,7 @@ SwSavePaintStatics::~SwSavePaintStatics()
}
/**
* Check whether the two primitve can be merged
* Check whether the two primitive can be merged
*
* @param[in] mergeA A primitive start and end position
* @param[in] mergeB B primitive start and end position
+1 -1
View File
@@ -3126,7 +3126,7 @@ void AttributeOutputBase::TextFootnote( const SwFormatFootnote& rFootnote )
TextFootnote_Impl( rFootnote );
if ( !sBkmkNm.isEmpty() )
GetExport().AppendBookmark( sBkmkNm ); // FIXME: Why is it added twice? Shouldn't this one go to WW8AttributeOuput::TextFootnote_Impl()?
GetExport().AppendBookmark( sBkmkNm ); // FIXME: Why is it added twice? Shouldn't this one go to WW8AttributeOutput::TextFootnote_Impl()?
}
void WW8AttributeOutput::TextFootnote_Impl( const SwFormatFootnote& rFootnote )
+1 -1
View File
@@ -700,7 +700,7 @@ struct WW8_DPHEAD
SVBT16 dpk; // 0 Drawn Primitive Kind REVIEW davebu
// 0=start of grouping, 1=line, 2=textbox, 3=rectangle,
// 4=arc, 5=elipse, 6=polyline, 7=callout textbox,
// 8=end of grouping, 9=sample primitve holding default values
// 8=end of grouping, 9=sample primitive holding default values
SVBT16 cb; // 2 size (count of bytes) of this DP
SVBT16 xa; // 4 These 2 points describe the rectangle
SVBT16 ya; // 6 enclosing this DP relative to the origin of
+2 -2
View File
@@ -70,7 +70,7 @@ XAccessibleEditableText interfaces.
<li>The accessible name is shown when the menu checkbox Options->Show Name
is check.</li>
<li>The accessible description is shown when the menu checkbox Options->Show
Descriptons is checked.</li>
Descriptions is checked.</li>
<li>If the XAccessibleText interface is supported and the menu checkbox
Options->Show Text is checked then the text of the accessible object is
shown.</li>
@@ -88,4 +88,4 @@ XAccessibleEditableText interfaces.
as well as the corresponding node in the tree view.</li>
</ul>
</body></html>
</body></html>
+1 -1
View File
@@ -74,7 +74,7 @@ public class _XServiceInfo {
/**
* Gets one of the service names returned by
* <code>getSupportedServiceNames</code> method and
* calls the <code>supportsService</code> methos with this
* calls the <code>supportsService</code> method with this
* name. <p>
* Has <b>OK</b> status if <code>true</code> value is
* returned.
+1 -1
View File
@@ -33,7 +33,7 @@
module com { module sun { module star { module beans {
/** This is a generic service which should be supported by all servies
/** This is a generic service which should be supported by all services
which have properties.
<p>It specifies several, mostly optional ways to access properties.
@@ -41,7 +41,7 @@ published interface XConnector: com::sun::star::uno::XInterface
@param sConnectionDescription
contains the kind of the connection plus a
comma separated list of attributes,
e.g., <em>socket,host=locahost,port=2345</em> for a tcpip connection.
e.g., <em>socket,host=localhost,port=2345</em> for a tcpip connection.
@throws ConnectionSetupException
Problems during setting up the connector
@@ -50,7 +50,7 @@ published interface XIdentifierContainer: com::sun::star::container::XIdentifier
The new element that will be inserted.
@throws com::sun::star::lang::IllegalArgumentException
if the argument is not vailid for this container.
if the argument is not valid for this container.
@throws com::sun::star::lang::WrappedTargetException
If the implementation has internal reasons for exceptions,
@@ -64,7 +64,7 @@ interface XAsyncOutputMonitor {
<code>waitForCompletion</code> has very specific semantics&mdash;it just
blocks long enough so that any errors encountered during previous calls
to com::sun::star::io::XOutputStream::writeBytes()
can reliably be reported. It specificially does not guarantee that any
can reliably be reported. It specifically does not guarantee that any
data have safely been stored on a stable physical medium, like a hard
disk (and it is completely unspecified whether <code>flush</code> should
give this guarantee).</p>
+1 -1
View File
@@ -26,7 +26,7 @@ module com { module sun { module star { module lang {
published interface XEventListener;
/** allows to exclicitly free resources and break cyclic references.
/** allows to explicitly free resources and break cyclic references.
<p>Actually the real lifetime of an UNO object is controlled by
references kept on interfaces of this object. But there are two
+1 -1
View File
@@ -40,7 +40,7 @@
*/
published interface XIdlArray: com::sun::star::uno::XInterface
{
/** Rellocates the length of the sequence instance.
/** Reallocates the length of the sequence instance.
@param array
sequence instance
@@ -30,7 +30,7 @@
method, but the component cannot be registered. The reason for this exception could be:<br>
<br><ul>
<li>the component cannot be found or cannot be loaded (missing path or classpath)
<li>the component doesn't provide the necessary specifactions (exported registration functions for a
<li>the component doesn't provide the necessary specifications (exported registration functions for a
C++ component (shared library) or a named registration class with the appropriate methods for
a Java component (normally a jar file)).
</ul><br>
+1 -1
View File
@@ -27,7 +27,7 @@ module com { module sun { module star { module util {
/** This meta service supports the XMacroExpander interface for expanding
arbitrary macro expressions, i.e. substitude macro names.
arbitrary macro expressions, i.e. substitute macro names.
The purpose of this service is to separate the use of macrofied strings,
e.g. urls from the use of services.
+12 -12
View File
@@ -2,7 +2,7 @@
The VCL scheduler handles LOs primary event queue. It is simple by design,
currently just a single-linked list, processed in list-order by priority
using round-robin for reoccuring tasks.
using round-robin for reoccurring tasks.
The scheduler has the following behaviour:
@@ -15,7 +15,7 @@ B.6. A small set of priorities instead of an flexible value AKA int
There are some consequences due to this design.
C.1. Higher priorority tasks starve lower priority tasks
C.1. Higher priority tasks starve lower priority tasks
As long as a higher task is available, lower tasks are never run!
See Anti-pattern.
@@ -25,8 +25,8 @@ C.2. Tasks should be split into sensible blocks
C.3. This is not an OS scheduler
There is no real way to "fix" B.2. and B.3.
If you need to do an preemptive task, use a thread!
Otherwise mke your task suspendable and check SalInstance::AnyInput
If you need to do a preemptive task, use a thread!
Otherwise make your task suspendable and check SalInstance::AnyInput
or call Application::Reschedule regularly.
@@ -39,14 +39,14 @@ C.3. This is not an OS scheduler
5. The scheduler system event / message has a low system priority.
All system events should have a higher priority.
Everytime a task is started, the scheduler timer is adjusted. When the timer
Every time a task is started, the scheduler timer is adjusted. When the timer
fires, it posts an event to the system message queue. If the next most
importent task is an Idle (AKA instant, 0ms timeout), the event is pushed to
important task is an Idle (AKA instant, 0ms timeout), the event is pushed to
the back of the queue, so we don't starve system messages, otherwise to the
front. This is especially importent to get a correct SalInstance::AnyInput
front. This is especially important to get a correct SalInstance::AnyInput
handling, as this is used to suspend long background Idle tasks.
Everytime the scheduler is invoked it searches for the next task to process,
Every time the scheduler is invoked it searches for the next task to process,
restarts the timer with the timeout for the next event and then invokes the
task. After invoking the task and if the task is still active, it is pushed
to the end of the queue and the timeout is eventually adjusted.
@@ -54,7 +54,7 @@ to the end of the queue and the timeout is eventually adjusted.
= Locking =
The locking is quite primitve: all interaction with internal Scheduler
The locking is quite primitive: all interaction with internal Scheduler
structures are locked. This includes the ImplSchedulerContext and the
Task::mpSchedulerData, which is actually a part of the scheduler.
Before invoking the task, we have to release the lock, so others can
@@ -114,8 +114,8 @@ Using SwitchToThread(), this seem to work reasonably well.
== KDE implementation details ==
This inplementation also works as intended. But there is a different Yield
handling, because Qts QAbstractEventDispatcher::processEvents will allways
This implementation also works as intended. But there is a different Yield
handling, because Qts QAbstractEventDispatcher::processEvents will always
process all pending events.
@@ -133,7 +133,7 @@ This should be easy to implement.
== Per priority time-sorted queues ==
This would result in O(1) scheduler. It was used in the Linux kernel for some
time (search Ingo Molinars O(1) scheduler). This can be a scheduling
time (search Ingo Molnar's O(1) scheduler). This can be a scheduling
optimization, which would prevent walking longer event list. But probably the
management overhead would be too large, as we have many one-shot events.
+2 -2
View File
@@ -104,7 +104,7 @@ SAL_WNODEPRECATED_DECLARATIONS_PUSH
// in the menu code
// however that is currently being revised, so let's use a preliminary solution here
// this hack is based on assumption
// a) Cmd-W is the same in all languages in OOo's menu conig
// a) Cmd-W is the same in all languages in OOo's menu config
// b) Cmd-W is the same in all languages in on MacOS
// for now this seems to be true
unsigned int nModMask = ([pEvent modifierFlags] & (NSShiftKeyMask|NSControlKeyMask|NSAlternateKeyMask|NSCommandKeyMask));
@@ -426,7 +426,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
ApplicationEvent aEv(ApplicationEvent::Type::PrivateDoShutdown);
GetpApp()->AppEvent( aEv );
ImageTree::get().shutdown();
// DeInitVCL should be called in ImplSVMain - unless someon _exits first which
// DeInitVCL should be called in ImplSVMain - unless someone exits first which
// can occur in Desktop::doShutdown for example
}
}
+1 -1
View File
@@ -965,7 +965,7 @@ void NumericBox::InsertValue( sal_Int64 nValue, sal_Int32 nPos )
static bool ImplMetricProcessKeyInput( const KeyEvent& rKEvt,
bool bUseThousandSep, const LocaleDataWrapper& rWrapper )
{
// no meaningfull strict format; therefore allow all characters
// no meaningful strict format; therefore allow all characters
return ImplNumericProcessKeyInput( rKEvt, false, bUseThousandSep, rWrapper );
}
+3 -3
View File
@@ -7035,7 +7035,7 @@ void PDFWriterImpl::drawText( const Point& rPos, const OUString& rText, sal_Int3
updateGraphicsState();
// get a layout from the OuputDevice's SalGraphics
// get a layout from the OutputDevice's SalGraphics
// this also enforces font substitution and sets the font on SalGraphics
SalLayout* pLayout = m_pReferenceDevice->ImplLayout( rText, nIndex, nLen, rPos );
if( pLayout )
@@ -7051,7 +7051,7 @@ void PDFWriterImpl::drawTextArray( const Point& rPos, const OUString& rText, con
updateGraphicsState();
// get a layout from the OuputDevice's SalGraphics
// get a layout from the OutputDevice's SalGraphics
// this also enforces font substitution and sets the font on SalGraphics
SalLayout* pLayout = m_pReferenceDevice->ImplLayout( rText, nIndex, nLen, rPos, 0, pDXArray );
if( pLayout )
@@ -7067,7 +7067,7 @@ void PDFWriterImpl::drawStretchText( const Point& rPos, sal_uLong nWidth, const
updateGraphicsState();
// get a layout from the OuputDevice's SalGraphics
// get a layout from the OutputDevice's SalGraphics
// this also enforces font substitution and sets the font on SalGraphics
SalLayout* pLayout = m_pReferenceDevice->ImplLayout( rText, nIndex, nLen, rPos, nWidth );
if( pLayout )