Kaydet (Commit) a9408261 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

To complete commit 0ef94e2b
and f1209627

Change-Id: Ie86bbfbd58dd728a013bef221e4d5c8fbcaf8e03
Reviewed-on: https://gerrit.libreoffice.org/37199Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 942f50e7
......@@ -16,7 +16,7 @@ SIGNED_APK := $(BUILDDIR)/android/source/bin/LibreOfficeViewer.apk
RELEASE_APK_USAGE := echo; echo "Usage: make versionCode=<version_num+1> exampleDocument=</absolute/path/example.odt> key=<key_name> release-apk"
release-apk: build
# versionCode and key are mandatory, examplDocument is not
# versionCode and key are mandatory, exampleDocument is not
@if test -z "$(versionCode)" ; then $(RELEASE_APK_USAGE) ; exit 1 ; fi
@if test -z "$(key)" ; then $(RELEASE_APK_USAGE) ; exit 1 ; fi
......
......@@ -261,7 +261,7 @@ void SbStdFont::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
const sal_uInt32 nWhich = pVar->GetUserData();
bool bWrite = pHint->GetId() == SfxHintId::BasicDataChanged;
// Propteries
// Properties
switch( nWhich )
{
case ATTR_IMP_BOLD: PropBold( pVar, bWrite ); return;
......
......@@ -63,7 +63,7 @@ namespace cppcanvas
delete [] pPointTypes;
}
// TODO: remove rR argument when debug code is not longer needed
// TODO: remove rR argument when debug code is no longer needed
void EMFPPath::Read (SvStream& s, sal_uInt32 pathFlags, ImplRenderer& rR)
{
for (int i = 0; i < nPoints; i ++) {
......
......@@ -35,7 +35,7 @@ namespace cppcanvas
virtual ~EMFPPath() override;
// TODO: remove rR argument when debug code is not longer needed
// TODO: remove rR argument when debug code is no longer needed
void Read(SvStream& s, sal_uInt32 pathFlags, ImplRenderer& rR);
::basegfx::B2DPolyPolygon& GetPolygon(ImplRenderer& rR, bool bMapIt = true, bool bAddLineToCloseShape = false);
......
......@@ -156,7 +156,7 @@ public:
have at least one child element containing an URL.
The <code>&lt;update-website&gt;</code> and <code>&lt;update-download&gt;</code>
elements are mutually exclusiv.
elements are mutually exclusive.
@return
the download website URL, or an empty <code>optional</code> if none is
......
......@@ -494,7 +494,7 @@ OUString MigrationImpl::preXDGConfigDir(const OUString& rConfigDir)
else
aPreXDGConfigPath = rConfigDir;
// the application-specific config dir is not longer prefixed by '.' because it is hidden under ".config"
// the application-specific config dir is no longer prefixed by '.' because it is hidden under ".config"
// we have to add the '.' for the pre-XDG directory names
aPreXDGConfigPath += ".";
......
......@@ -6620,7 +6620,7 @@
<!-- the following block is not used, if the cell had been repeated earlier -->
<xsl:when test="$nextCell and not($cell-is-repeatable and $col-repeated = 1)">
<xsl:choose>
<!-- After cells can not longer be repeated write out the attribute -->
<!-- After cells can no longer be repeated write out the attribute -->
<xsl:when test="not($cell-is-repeatable) and $col-repeated > 1">
<xsl:attribute name="table:number-columns-repeated">
<xsl:value-of select="$col-repeated"/>
......
......@@ -1489,7 +1489,7 @@
<!--
**get-path- command**
This function will collect the next command from a string. If the input string should has a start of number character,
we here implictly think the command is the last-command
we here implicitly think the command is the last-command
All of the command of vml is listed as following:
__Basic commands:__
m l c x e t r v nf ns ae al at ar wa wr qx qy qb
......
......@@ -49,7 +49,7 @@ public class DesktopTerminate
* - Look for all document types in the configuration
* - Do for every doc type
* - start office
* - read configuration attibute settings
* - read configuration attribute settings
* - create a new document
* - resize the document and close it
* - close office
......
......@@ -923,7 +923,7 @@ void LayoutManager::implts_backupProgressBarWrapper()
// safe a backup copy of the current progress!
// This copy will be used automatically inside createProgressBar() which is called
// implictly from implts_doLayout() .-)
// implicitly from implts_doLayout() .-)
m_xProgressBarBackup = m_aProgressBarElement.m_xUIElement;
// remove the relation between this old progress bar and our old status bar.
......
......@@ -58,7 +58,7 @@ public:
/** deprecated.
An earlier version of UNO used an unique identifier for interfaces. In the
current version of UNO this uik was eliminated and this type is not longer used.
current version of UNO this uik was eliminated and this type is no longer used.
*/
struct RTUik
{
......
......@@ -28,7 +28,7 @@ namespace utl
/** provides configuration information needed for application startup.
This class handles the startup information for the office application.
It encapsulates knowledge of how to retriev such information and how
It encapsulates knowledge of how to retrieve such information and how
to diagnose failures to retrieve required data.
*/
......
......@@ -804,7 +804,7 @@ void SAL_CALL Hyphenator::initialize( const Sequence< Any >& rArguments )
//! Pointer allows for access of the non-UNO functions.
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
//! when the object is no longer used.
pPropHelper = new PropertyHelper_Hyphenation( static_cast<XHyphenator *>(this), xPropSet );
pPropHelper->AddAsPropListener(); //! after a reference is established
}
......
......@@ -461,7 +461,7 @@ void SAL_CALL
//! Pointer allows for access of the non-UNO functions.
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
//! when the object is no longer used.
pPropHelper = new PropertyHelper_Spell( static_cast<XSpellChecker *>(this), xPropSet );
xPropHelper = pPropHelper;
pPropHelper->AddAsPropListener(); //! after a reference is established
......
......@@ -605,7 +605,7 @@ void SAL_CALL SpellChecker::initialize( const Sequence< Any >& rArguments )
//! Pointer allows for access of the non-UNO functions.
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
//! when the object is no longer used.
m_pPropHelper = new PropertyHelper_Spelling( static_cast<XSpellChecker *>(this), xPropSet );
m_pPropHelper->AddAsPropListener(); //! after a reference is established
}
......
......@@ -536,7 +536,7 @@ void SAL_CALL Thesaurus::initialize( const Sequence< Any >& rArguments )
//! Pointer allows for access of the non-UNO functions.
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
//! when the object is no longer used.
pPropHelper = new PropertyHelper_Thesaurus( static_cast<XThesaurus *>(this), xPropSet );
pPropHelper->AddAsPropListener(); //! after a reference is established
}
......
......@@ -352,7 +352,7 @@ void SAL_CALL
//! Pointer allows for access of the non-UNO functions.
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
//! when the object is no longer used.
pPropHelper = new PropertyHelper_Spell( (XSpellChecker *) this, xPropSet );
xPropHelper = pPropHelper;
pPropHelper->AddAsPropListener(); //! after a reference is established
......
......@@ -55,7 +55,7 @@
************************************************************************/
/*************************************************************************
* @file
* Interface for the attibute list of a xml element.
* Interface for the attribute list of a xml element.
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_IXFATTRLIST_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_IXFATTRLIST_HXX
......
......@@ -55,7 +55,7 @@
************************************************************************/
/*************************************************************************
* @file
* Wrapper the attibute list of a xml element.
* Wrapper the attribute list of a xml element.
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFSAXATTRLIST_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFSAXATTRLIST_HXX
......
......@@ -155,7 +155,7 @@
update reference rdb with the released version from OO.org 3.0 (ooo300m9)
04/17/09 (tl, JSC): TaskID=i96846
changed old and not longer used properties in css.linguistic2.LinguProperties
changed old and no longer used properties in css.linguistic2.LinguProperties
to maybevoid and deprecate. They should be removed in a future version. The
implementation will never return them.
......
......@@ -86,7 +86,7 @@ public class ODatabaseSource extends TestCase {
@Override
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing not longer needed docs... ");
log.println(" disposing no longer needed docs... ");
DesktopTools.closeDoc(xDBDoc);
}
......
......@@ -68,7 +68,7 @@ public class FixedContentReadHandler extends ElementReadHandler
if (OfficeNamespaces.OOREPORT_NS.equals(uri))
{
// expect a report control. The control will modifiy the current
// expect a report control. The control will modify the current
// element (as we do not separate the elements that strictly ..)
if ("report-control".equals(tagName))
{
......
......@@ -89,8 +89,8 @@ public class FormattedTextReadHandler extends ElementReadHandler
{
if (OfficeNamespaces.OOREPORT_NS.equals(uri))
{
// expect a report control. The control will modifiy the current
// element (as we do not separate the elements that strictly ..)
// expect a report control. The control will modify the current
// element (as we do not separate the elements that strictly...)
if ("report-control".equals(tagName))
{
return new IgnoreAnyChildReadHandler();
......
......@@ -94,8 +94,8 @@ public class ImageReadHandler extends ElementReadHandler
if (OfficeNamespaces.OOREPORT_NS.equals(uri))
{
// expect a report control. The control will modifiy the current
// element (as we do not separate the elements that strictly ..)
// expect a report control. The control will modify the current
// element (as we do not separate the elements that strictly...)
if ("report-control".equals(tagName))
{
return new IgnoreAnyChildReadHandler();
......
......@@ -83,8 +83,8 @@ public class MasterDetailReadHandler extends ElementReadHandler
{
if (OfficeNamespaces.OOREPORT_NS.equals(uri) && "master-detail-field".equals(tagName))
{
// expect a report control. The control will modifiy the current
// element (as we do not separate the elements that strictly ..)
// expect a report control. The control will modify the current
// element (as we do not separate the elements that strictly...)
return new MasterDetailReadHandler(element, true);
}
......
......@@ -80,8 +80,8 @@ public class SubDocumentReadHandler extends NoCDATATextContentReadHandler
{
if (OfficeNamespaces.OOREPORT_NS.equals(uri))
{
// expect a report control. The control will modifiy the current
// element (as we do not separate the elements that strictly ..)
// expect a report control. The control will modify the current
// element (as we do not separate the elements that strictly...)
if ("report-control".equals(tagName))
{
return new IgnoreAnyChildReadHandler();
......
......@@ -3155,7 +3155,7 @@ void ScFiltersTest::testCustomNumFormatHybridCellODS()
ScDocument& rDoc = xDocSh->GetDocument();
rDoc.SetAutoCalc(true);
// All of B14, B16 and B18 should be displaying empty strings by virture
// All of B14, B16 and B18 should be displaying empty strings by virtue
// of the custom number format being set on those cells.
for (SCROW nRow : {13, 15, 17})
......
......@@ -41,7 +41,7 @@ void ScColumnTextWidthIterator::next()
if (miDataCur != miDataEnd)
{
// Stil in the same block. We're good.
// Still in the same block. We're good.
checkEndRow();
return;
}
......
......@@ -829,7 +829,7 @@ void ScTable::GetDataArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol, S
//
// bIncludeOld = true ensure that the returned area contains at least the initial area,
// independently of the emptiness of rows / columns (i.e. does not allow shrinking)
// bOnlyDown = true means extend / shrink the inputed area only down, i.e modifiy only rEndRow
// bOnlyDown = true means extend / shrink the inputted area only down, i.e modify only rEndRow
rStartCol = std::min<SCCOL>( rStartCol, aCol.size()-1 );
rEndCol = std::min<SCCOL>( rEndCol, aCol.size()-1 );
......
......@@ -4947,7 +4947,7 @@ void ScXMLExport::CollectUserDefinedNamespaces(const SfxItemPool* pPool, sal_uIn
const OUString& rPrefix = pUnknown->GetPrefix( nIdx );
// Add namespace declaration for unknown attributes if
// there aren't existing ones for the prefix used by the
// attibutes
// attributes
GetNamespaceMap_().Add( rPrefix,
pUnknown->GetNamespace( nIdx ) );
}
......
......@@ -785,7 +785,7 @@ void ToolBarManager::Implementation::Update (
if (mbIsValid && mxLayouter.is() && (mbPreUpdatePending || mbPostUpdatePending))
{
// 1) Release UNO tool bars that are not longer used. Do this
// 1) Release UNO tool bars that are no longer used. Do this
// now so that they are not updated when the SFX shell stack is
// modified.
if (mbPreUpdatePending)
......
......@@ -1087,7 +1087,7 @@ void DoubleCurrencyField::FormatChanged(FORMAT_CHANGE_TYPE nWhat)
case FORMAT_CHANGE_TYPE::KEYONLY:
OSL_FAIL("DoubleCurrencyField::FormatChanged : somebody modified my key !");
// We always build our own format from the settings we get via special methods (setCurrencySymbol etc.).
// Nobody but ourself should modifiy the format key directly !
// Nobody but ourself should modify the format key directly!
break;
default: break;
}
......
......@@ -378,7 +378,7 @@ namespace svxform
enum DROP_ACTION { DA_SCROLLUP, DA_SCROLLDOWN, DA_EXPANDNODE };
enum SELDATA_ITEMS { SDI_DIRTY, SDI_ALL, SDI_NORMALIZED, SDI_NORMALIZED_FORMARK };
// when dropping I want to be able to scroll and to exand folders, for this:
// when dropping I want to be able to scroll and to expand folders, for this:
AutoTimer m_aDropActionTimer;
Timer m_aSynchronizeTimer;
// the meta-data about my current selection
......
......@@ -476,7 +476,7 @@ public:
void SetFlyMacroLnk( const Link<const SwFlyFrameFormat*,void>& rLnk ) { m_aFlyMacroLnk = rLnk; }
const Link<const SwFlyFrameFormat*,void>& GetFlyMacroLnk() const { return m_aFlyMacroLnk; }
// Methods returning/altering link for changes of attributes/formates.
// Methods returning/altering link for changes of attributes/formats.
void SetChgLnk( const Link<SwCursorShell*,void> &rLnk ) { m_aChgLnk = rLnk; }
const Link<SwCursorShell*,void>& GetChgLnk() const { return m_aChgLnk; }
......
......@@ -94,7 +94,7 @@ private:
bool m_bFootnote : 1; ///< footnotes
bool m_bDDEFields : 1; ///< the TextNode has DDE fields
/// records a new attibute in m_pHistory.
/// records a new attribute in m_pHistory.
void NoteInHistory( SwTextAttr *pAttr, const bool bNew = false );
void CalcFlags( );
......
......@@ -41,7 +41,7 @@ size_t SwFEShell::GetPageDescCnt() const
void SwFEShell::ChgCurPageDesc( const SwPageDesc& rDesc )
{
#if OSL_DEBUG_LEVEL > 0
// SS does not change PageDesc, but only sets the attibute.
// SS does not change PageDesc, but only sets the attribute.
// The Pagedesc should be available in the document
bool bFound = false;
for ( size_t nTst = 0; nTst < GetPageDescCnt(); ++nTst )
......
......@@ -3014,7 +3014,7 @@ uno::Any SAL_CALL SwXFieldEnumeration::nextElement()
m_pImpl->m_Items[ m_pImpl->m_nNextIndex++ ];
uno::Any aRet;
aRet <<= rxField;
rxField = nullptr; // free memory for item that is not longer used
rxField = nullptr; // free memory for item that is no longer used
return aRet;
}
......
......@@ -2055,7 +2055,7 @@ void SwViewShell::ApplyViewOptions( const SwViewOption &rOpt )
ImplApplyViewOptions( rOpt );
// With one layout per view it is not longer necessary
// With one layout per view it is no longer necessary
// to sync these "layout related" view options
// But as long as we have to disable "multiple layout"
......
......@@ -1590,7 +1590,7 @@ static Writer& OutCSS1_SwFormat( Writer& rWrt, const SwFormat& rFormat,
RES_POOLCHR_INET_VISIT==nRefPoolId) )
bCheckForPseudo = true;
// export now the Attributes (incl. Selektor)
// export now the Attributes (incl. selector)
bool bHasScriptDependencies = false;
if( OutCSS1Rule( rHTMLWrt, aSelector, aItemSet, CSS1_FMT_ISTAG != nDeep,
bCheckForPseudo ) )
......
......@@ -729,7 +729,7 @@ SvxCSS1Parser::SvxCSS1Parser( SfxItemPool& rPool, const OUString& rBaseURL,
nScriptFlags( Css1ScriptFlags::AllMask ),
bIgnoreFontFamily( false )
{
// also initialiase item IDs
// also initialize item IDs
aItemIds.nFont = rPool.GetTrueWhich( SID_ATTR_CHAR_FONT, false );
aItemIds.nFontCJK = rPool.GetTrueWhich( SID_ATTR_CHAR_CJK_FONT, false );
aItemIds.nFontCTL = rPool.GetTrueWhich( SID_ATTR_CHAR_CTL_FONT, false );
......
......@@ -1365,7 +1365,7 @@ bool SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties( sal_Int32 nEnd ) cons
if (pStart->nContent.GetIndex() == 0)
{
// This condition detects if the pseudo-char we will export
// should be implictly excluded by the redlining char
// should be implicitly excluded by the redlining char
// properties starting on the next node.
return true;
}
......
......@@ -1390,7 +1390,7 @@ void SwDocShell::ReloadFromHtml( const OUString& rStreamName, SwSrcView* pSrcVie
rWrtSh.InvalidateLayout( true );
}
// Take HTTP-Header-Attibutes over into the DokInfo again.
// Take HTTP-Header-Attributes over into the DocInfo again.
// The Base-URL doesn't matter here because TLX uses the one from the document
// for absolutization.
SetHeaderAttributesForSourceViewHack();
......
......@@ -163,7 +163,7 @@ namespace
CPPUNIT_ASSERT(i != parameters.end());
CPPUNIT_ASSERT_EQUAL(OString("unknown"), i->second.m_sCharset);
CPPUNIT_ASSERT_EQUAL(OString("en"), i->second.m_sLanguage);
// Convertion fails for unknown charsets:
// Conversion fails for unknown charsets:
CPPUNIT_ASSERT(!i->second.m_bConverted);
}
}
......
......@@ -419,7 +419,7 @@ bool parseParameters(ParameterList const & rInput,
aValue += OUStringLiteral1(
sal_Unicode(
static_cast<unsigned char>(itNext->m_aValue[i]))
| 0xF800); // map to unicode corparate use sub area
| 0xF800); // map to unicode corporate use sub area
}
else
{
......
......@@ -453,7 +453,7 @@ namespace xmloff
Property aProperty = m_xPropertyInfo->getPropertyByName(sPropertyName);
if ((aProperty.Attributes & PropertyAttribute::MAYBEVOID) == 0)
// the string is empty, and the property is not allowed to be void
// -> don't need to write the attibute, 'cause missing it is unambiguous
// -> don't need to write the attribute, 'cause missing it is unambiguous
return;
}
......
......@@ -740,7 +740,7 @@ void XMLTextFrameContext::removeGraphicFromImportContext(const SvXMLImportContex
uno::Reference< lang::XComponent > xComp(pXMLTextFrameContext_Impl->GetPropSet(), UNO_QUERY);
// Inform shape importer about the removal so it can adjust
// z-indxes.
// z-indexes.
uno::Reference<drawing::XShape> xShape(xComp, uno::UNO_QUERY);
GetImport().GetShapeImport()->shapeRemoved(xShape);
......
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