Fix typos

Change-Id: I338dacd3cfe915714a9038e1dea4a60d586e9394
Reviewed-on: https://gerrit.libreoffice.org/34806
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Andrea Gelmini
2017-03-02 12:27:41 +01:00
committed by Noel Grandin
parent 34e1739d56
commit 3063d55b8b
19 changed files with 25 additions and 25 deletions

View File

@@ -840,7 +840,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallbackInfo
// Note: That could of course be done by clipping the
// resulting sequence but the current third party
// implementations result differs greatly if the number of
// suggestions to be retuned gets changed. Statistically
// suggestions to be returned gets changed. Statistically
// it gets much better if told to return e.g. only 7 strings
// than returning e.g. 16 suggestions and using only the
// first 7. Thus we hand down the value to use to that

View File

@@ -127,7 +127,7 @@ bool EditSpellWrapper::SpellMore()
SetCurTextObj( nullptr );
if ( bMore )
{
// The text has been entered into the engine, when backwords then
// The text has been entered into the engine, when backwards then
// it must be behind the selection.
pEditView->GetImpEditView()->SetEditSelection(
pEE->GetEditDoc().GetStartPaM() );

View File

@@ -1549,7 +1549,7 @@ uno::Any SAL_CALL OleComponent::getTransferData( const datatransfer::DataFlavor&
}
}
// If the replacement could not be retrieved, the cached representaion should be used
// If the replacement could not be retrieved, the cached representation should be used
// currently it is not necessary to retrieve it here, so it is implemented in the object itself
}
// TODO: Investigate if there is already the format name

View File

@@ -578,7 +578,7 @@ static bool writeBackOutParameter2( VARIANTARG* pDest, VARIANT* pSource)
{
// We use IDispatchEx because its GetDispID function causes the creation
// of a property if it does not exist already. This is convenient for
// out parameters in JScript. Then the user must not specify propery "0"
// out parameters in JScript. Then the user must not specify property "0"
// explicitly
CComQIPtr<IDispatchEx> spDispEx( spDispDest);
if( spDispEx)

View File

@@ -300,11 +300,11 @@ namespace pcr
void SQLCommandDesigner::impl_closeDesigner_nothrow()
{
OSL_PRECOND( isActive(), "SQLCommandDesigner::impl_closeDesigner_nothrow: invalid calle!" );
OSL_PRECOND( isActive(), "SQLCommandDesigner::impl_closeDesigner_nothrow: invalid call!" );
// close it
try
{
// do not listen anymore ....
// do not listen anymore...
Reference< XPropertySet > xProps( m_xDesigner, UNO_QUERY );
if ( xProps.is() )
xProps->removePropertyChangeListener( PROPERTY_ACTIVECOMMAND, this );

View File

@@ -125,7 +125,7 @@ private:
/** converts a string into his constant value if it exists, otherwise the type converter is used.
* \param _rValue the value to be converted
* \param _ePropertyType the type of the propery to be converted into
* \param _ePropertyType the type of the property to be converted into
* \return the converted value
*/
uno::Any convertStringToSimple( const OUString& _rValue,const uno::TypeClass& _ePropertyType );

View File

@@ -2010,7 +2010,7 @@ typedef enum {
* @version: API version - only V1 is defined for now
* @query: Source for this query.
* @user_data: Context user data passed into the factory methods.
* @init_triples_match: Factory method to initalise a new #rasqal_triples_match.
* @init_triples_match: Factory method to initialize a new #rasqal_triples_match.
* @triple_present: Factory method to return presence or absence of a complete triple.
* @free_triples_source: Factory method to deallocate resources.
* @support_feature: Factory method to test support for a feature, returning non-0 if supported

View File

@@ -834,7 +834,7 @@
<glade-widget-class title="Button with small padding" name="vcllo-SmallButton"
generic-name="SmallButton" parent="GtkButton"
icon-name="widget-gtk-button"/>
<glade-widget-class title="Horizontal box hiding childs depending on its priorities" name="sfxlo-PriorityHBox"
<glade-widget-class title="Horizontal box hiding children depending on its priorities" name="sfxlo-PriorityHBox"
generic-name="PriorityHBox" parent="GtkBox"
icon-name="widget-gtk-box"/>
<glade-widget-class title="Table Design Control" name="sdlo-TableDesignBox"
@@ -849,7 +849,7 @@
<glade-widget-class title="Notebookbar ToolBox" name="sfxlo-NotebookbarToolBox"
generic-name="Notebookbar ToolBox" parent="sfxlo-SidebarToolBox"
icon-name="widget-gtk-toolbar"/>
<glade-widget-class title="Vertical box hiding childs depending on context" name="sfxlo-ContextVBox"
<glade-widget-class title="Vertical box hiding children depending on context" name="sfxlo-ContextVBox"
generic-name="ContextVBox" parent="GtkBox"
icon-name="widget-gtk-box"/>
<glade-widget-class title="Managed Menu Button" name="svtlo-ManagedMenuButton"

View File

@@ -186,7 +186,7 @@ public class FinalizedMandatoryTest
// 1a.) try to change the filter in the container
xNR.replaceByName(filterName, instance);
// 1b.) try to wirte the changed filter to the configuration.
// 1b.) try to write the changed filter to the configuration.
// This must result in a exception if the filter is finalized.
boolean flushError = false;
try
@@ -205,7 +205,7 @@ public class FinalizedMandatoryTest
// 2a.) try to remove the filter from the container
xNC.removeByName(filterName);
// 1b.) try to wirte the changed filter to the configuration.
// 1b.) try to write the changed filter to the configuration.
// This must result in a exception if the filter is mandatory
flushError = false;
try

View File

@@ -105,14 +105,14 @@ enum TextAlignmentV { TAV_NORMAL = 0, TAV_TOP = 1, TAV_CAP = 2, TAV_HALF = 3
enum UnderlineMode { UM_OFF = 0, UM_LOW = 1, UM_HIGH = 2, UM_STRIKEOUT = 4, UM_OVERSCORE = 8 };
enum FinalFlag { FF_NOT_FINAL = 0, FF_FINAL = 1 };
enum LineType { LT_SOLID = 1, LT_DASH = 2, LT_DOT = 3, LT_DASHDOT = 4, LT_DASHDOTDOT = 5, // Standart
enum LineType { LT_SOLID = 1, LT_DASH = 2, LT_DOT = 3, LT_DASHDOT = 4, LT_DASHDOTDOT = 5, // Standard
LT_NONE = -4, LT_DOTDOTSPACE = -3, LT_LONGDASH = -2, LT_DASHDASHDOT = -1 }; // GDSF Styles
enum SpecMode { SM_ABSOLUTE = 0, SM_SCALED = 1 };
enum LineCapType { LCT_BUTT = 0, LCT_ROUND = 1, LCT_SQUARE = 2, LCT_TRIANGLE = 3, LCT_ARROW = 4, LCT_NONE = -1 };
enum LineJoinType { LJT_MITER = 0, LJT_ROUND = 1, LJT_BEVEL = 2, LJT_NONE = -1 };
enum EdgeType { ET_SOLID = 1, ET_DASH = 2, ET_DOT = 3, ET_DASHDOT = 4, ET_DASHDOTDOT = 5, // Standart
enum EdgeType { ET_SOLID = 1, ET_DASH = 2, ET_DOT = 3, ET_DASHDOT = 4, ET_DASHDOTDOT = 5, // Standard
ET_NONE = -4, ET_DOTDOTSPACE = -3, ET_LONGDASH = -2, ET_DASHDASHDOT = -1 }; // GDSF Styles
enum EdgeVisibility { EV_OFF = 0, EV_ON = 1 };

View File

@@ -739,7 +739,7 @@ bool SVGFilter::implExportDocument()
mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "height", aAttr );
}
// #i124608# set viewBox explicitely to the exported content
// #i124608# set viewBox explicitly to the exported content
if (mbExportShapeSelection)
{
aAttr = OUString::number(nDocX) + " " + OUString::number(nDocY) + " ";
@@ -910,7 +910,7 @@ void SVGFilter::implGenerateMetaData()
// Add a (global) Page Numbering Type attribute for the document
// NOTE: at present pSdrModel->GetPageNumType() returns always css::style::NumberingType::ARABIC
// so the following code fragment is pretty unuseful
// so the following code fragment is pretty useless
sal_Int32 nPageNumberingType = css::style::NumberingType::ARABIC;
SvxDrawPage* pSvxDrawPage = SvxDrawPage::getImplementation( mSelectedPages[0] );
if( pSvxDrawPage )
@@ -1508,7 +1508,7 @@ void SVGFilter::implExportDrawPages( const std::vector< Reference< XDrawPage > >
{
// Insert a further inner the <g> open tag for handling elements
// inserted before or after a slide: that is used for some
// when swithing from the last to the first slide.
// when switching from the last to the first slide.
const OUString & sPageId = implGetValidIDFromInterface( rxPages[i] );
OUString sContainerId = "container-";
sContainerId += sPageId;

View File

@@ -228,7 +228,7 @@
<xsl:template match="w:body">
<xsl:element name="office:body">
<xsl:element name="office:text">
<!-- to add the sequece variable declaration at the beginning of the office:body G.Y.-->
<!-- to add the sequence variable declaration at the beginning of the office:body G.Y.-->
<text:sequence-decls>
<xsl:call-template name="default_seqence_declaration"/>
<xsl:apply-templates select="/w:wordDocument/w:body//w:instrText[substring(normalize-space(text()),1,3) = 'SEQ' ] | /w:wordDocument/w:body//w:fldSimple[substring(normalize-space(@w:instr),1,3) = 'SEQ' ] " mode="sequence_declare"/>

View File

@@ -481,7 +481,7 @@
<xsl:param name="parentMarginLeft" />
<xsl:param name="pageMarginLeft" />
<!-- 2DO: EXCHANGE FOLLOING SIBLING BY VARIABLE -->
<!-- 2DO: EXCHANGE FOLLOWING SIBLING BY VARIABLE -->
<xsl:variable name="followingSiblingNode" select="following-sibling::node()[1]"/>

View File

@@ -117,7 +117,7 @@
The cell-style depends on two attributes:
1) table:style-name - the style properties of cell. When they exist, a default alignement (cp. below) will be added for the
1) table:style-name - the style properties of cell. When they exist, a default alignment (cp. below) will be added for the
case of no alignment in the style exist.
2) office:value-type - the value type of the table-cell giving the default alignments.

View File

@@ -76,7 +76,7 @@
ListBox as a sequence of *indices* in the value list, and do the
lookup on demand:
- ListBox's content propery (or value property, sorry the
- ListBox's content property (or value property, sorry the
terminology is not always consistent) is SelectedItems which is
a sequence of *indices* in the value list.

View File

@@ -39,7 +39,7 @@ using namespace comphelper;
namespace frm
{
//= assigment property handle <-> property name
//= assignment property handle <-> property name
//= used by the PropertySetAggregationHelper

View File

@@ -229,7 +229,7 @@ protected:
sal_uInt32 SAL_CALL onWMNotify(HWND hwndChild, LPOFNOTIFYW lpOfNotify);
// we use non-virtual functions to do necessary work before
// calling the virtual funtions (see Gamma: Template method)
// calling the virtual functions (see Gamma: Template method)
void SAL_CALL handleInitDialog(HWND hwndDlg, HWND hwndChild);
protected:

View File

@@ -60,7 +60,7 @@ class ComPtr
}
/** initialize object by quering external object for the right interface.
/** initialize object by querying external object for the right interface.
*/
explicit ComPtr(IUnknown* pIUnknown)
{

View File

@@ -38,7 +38,7 @@
/*
A simple popup window similary to the one the
A simple popup window similarly to the one the
windows help (using WinHelp) creates when called
with the option HELP_CONTEXTPOPUP.