Fix typos

Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8
Reviewed-on: https://gerrit.libreoffice.org/16314
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
Andrea Gelmini 2015-06-16 18:21:52 +02:00 committed by Michael Stahl
parent a63b8b4afc
commit ae150c6a54
56 changed files with 61 additions and 61 deletions

View File

@ -222,7 +222,7 @@ protected:
<p>As default, this method creates as many axes as there are dimensions
in the given first coordinate system. Each of the axis
represents one of the dimensions of the coordinate systems. If there are series
requesting asecondary axes a secondary y axes is added</p>
requesting a secondary axes a secondary y axes is added</p>
*/
void createAxes(
const ::com::sun::star::uno::Sequence<

View File

@ -72,7 +72,7 @@ double SAL_CALL DateScaling::doScaling( double value )
case MONTH:
default:
fResult = aDate.GetYear();
fResult *= lcl_fNumberOfMonths;//asssuming equal count of months in each year
fResult *= lcl_fNumberOfMonths;//assuming equal count of months in each year
fResult += aDate.GetMonth();
double fDayOfMonth = aDate.GetDay();

View File

@ -286,7 +286,7 @@ void VDataSeries::doSortByXValues()
if( m_aValues_X.is() && m_aValues_X.Doubles.getLength() )
{
//prepare a vector for sorting
std::vector< ::std::vector< double > > aTmp;//outer vector are points, inner vector are the different values of athe point
std::vector< ::std::vector< double > > aTmp;//outer vector are points, inner vector are the different values of the point
double fNan;
::rtl::math::setNan( & fNan );
sal_Int32 nPointIndex = 0;

View File

@ -134,7 +134,7 @@ static nsresult insertPABDescription()
{
nsresult rv = NS_OK ;
// mozilla loads the descriptions of pab and history from a file named addressbook.properties
// we never deliver it with OOo,so mozab does not auot load personal addressbook and Collected addresses
// we never deliver it with OOo,so mozab does not auto load personal addressbook and Collected addresses
// If we want to deliver addressbook.properties with OOo,we have to deal with hole mozilla chrome mechanism.
// So I insert the descriptiones as user prefes,they will cover the default value.

View File

@ -169,7 +169,7 @@ SQLRETURN OConnection::OpenConnection(const OUString& aConnectStr, sal_Int32 nTi
}
// autocoomit is always default
// autocommit is always default
if (!m_bReadOnly)
N3SQLSetConnectAttr(m_aConnectionHandle,SQL_ATTR_AUTOCOMMIT, reinterpret_cast<SQLPOINTER>(SQL_AUTOCOMMIT_ON),SQL_IS_INTEGER);

View File

@ -32,7 +32,7 @@
namespace dbaui
{
// AutheticationMode
// AuthenticationMode
enum AuthenticationMode
{
AuthNone,

View File

@ -137,7 +137,7 @@ namespace dbaui
#endif // # _MSC_VER
private:
// for asny execution of XDispatch::dispatch
// for any execution of XDispatch::dispatch
struct DispatchArgs
{
::com::sun::star::util::URL aURL;

View File

@ -45,7 +45,7 @@ class CWinClipbImpl;
// class instance
// watch out: we are using only one static member variable and not a list
// because we assume to be instantiated only once
// this will be asured by an OneInstanceFactory of the service and not
// this will be assured by an OneInstanceFactory of the service and not
// by this class!
// helper class, so that the mutex is constructed

View File

@ -595,7 +595,7 @@ void EditUndoTransliteration::Undo()
EditSelection aSel = pEE->CreateSelection(aNewESel);
// Insert text, but don't expand Atribs at the current position:
// Insert text, but don't expand Attribs at the current position:
aSel = pEE->DeleteSelected( aSel );
EditSelection aDelSel( aSel );
aSel = pEE->InsertParaBreak( aSel );

View File

@ -56,7 +56,7 @@ namespace abp
/// retrieves the names of all data sources
void getDataSourceNames( StringBag& _rNames ) const;
/// disambiguates the given name by appending auccessive numbers
/// disambiguates the given name by appending successive numbers
OUString& disambiguate(OUString& _rDataSourceName);
/// creates a new MORK data source

View File

@ -433,7 +433,7 @@ class DXFHatchEntity : public DXFBasicEntity
DXFVector aElevationPoint;
sal_Int32 nFlags; // 70 (solid fill = 1, pattern fill = 0)
sal_Int32 nAssociativityFlag; // 71 (assoiciative = 1, non-associative = 0)
sal_Int32 nAssociativityFlag; // 71 (associative = 1, non-associative = 0)
sal_Int32 nBoundaryPathCount; // 91
sal_Int32 nHatchStyle; // 75 (odd parity = 0, outmost area = 1, entire area = 2 )
sal_Int32 nHatchPatternType; // 76 (user defined = 0, predefined = 1, custom = 2)

View File

@ -32,7 +32,7 @@ namespace frm
{
// OFormsCollection
// Implements the UNO Container for Forms and contains all assigend Forms.
// Implements the UNO Container for Forms and contains all assigned Forms.
// It can either represent the Context for Forms or be passed a Context.
typedef ::cppu::OComponentHelper FormsCollectionComponentBase;

View File

@ -203,7 +203,7 @@ void SAL_CALL CPreviewAdapterImpl::calcRightMargin()
{
// Calculate the right reference margin
// Assumtions:
// Assumption:
// 1. This method will be called before the dialog becomes
// visible
// 2. There exist a FileListbox with the id lst1 even

View File

@ -227,7 +227,7 @@ void SAL_CALL CloseDispatcher::dispatchWithNotification(const css::util::URL&
/**
@short asynchronous callback
@descr We start all actions inside this object asnychronoue.
@descr We start all actions inside this object asynchronous
(see comments there).
Now we do the following:
- close all views to the same document, if needed and possible

View File

@ -270,7 +270,7 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD
@short kill this job
@descr It doesn't matter if this request is called from inside or
from outside. We release our internal structures and stop
avary activity. After doing so - this instance will not be
every activity. After doing so - this instance will not be
useable any longer! Of course we try to handle further requests
carefully. Maybe someone else holds a reference to us ...
*/

View File

@ -356,7 +356,7 @@ namespace dbtools
*/
bool consultParameterListeners( ::osl::ResettableMutexGuard& _rClearForNotifies );
/** mark an externally filled parameter asvisited
/** mark an externally filled parameter as visited
*/
void externalParameterVisited( sal_Int32 _nIndex );

View File

@ -211,7 +211,7 @@ public:
}
/** Get the data associated with the data key.
@returns The data asscoitaed with the data key or
@returns The data associated with the data key or
NULL if no data was set
*/
void* SAL_CALL getData()

View File

@ -222,7 +222,7 @@ public:
sal_uInt16 nSlotId; // Unique slot-ID in Shell
sal_uInt16 nGroupId; // for configuration region
sal_uIntPtr nHelpId; // Usually == nSlotId
SfxSlotMode nFlags; // artihmetic ordered Flags
SfxSlotMode nFlags; // arithmetic ordered Flags
sal_uInt16 nMasterSlotId; // Enum-Slot for example Which-Id
sal_uInt16 nValue; // Value, in case of Enum-Slot

View File

@ -482,7 +482,7 @@ namespace svt
ImplSVEvent * nStartEvent, * nEndEvent, * nCellModifiedEvent; // event ids
VclPtr<vcl::Window> m_pFocusWhileRequest;
// In ActivateCell, we grab the focus asynchronously, but if between requesting activation
// and the asynchornous event the focus has changed, we won't grab it for ourself.
// and the asynchronous event the focus has changed, we won't grab it for ourself.
long nPaintRow; // row being painted
long nEditRow, nOldEditRow;

View File

@ -130,7 +130,7 @@ private:
@param _rxControl
the control to add. Must not be <NULL/>
@param _pName
Pointer to a name for the control. Might be <NULL/>, in this case an auotmatic name is generated
Pointer to a name for the control. Might be <NULL/>, in this case an automatic name is generated
@return
the ID of the newly added control
*/

View File

@ -401,7 +401,7 @@ public:
* authentication-remember-mode for accounts preferred by the
* requesting client.
* @param bCanUseSystemCredentials indicates whether issuer of the
* authetication request can obtain and use system credentials
* authentication request can obtain and use system credentials
* for authentication.
* @param bDefaultUseSystemCredentials specifies the default system
* credentials usage preferred by the requesting client

View File

@ -85,7 +85,7 @@ typedef std::vector< ContentProviderData > ContentProviderDataList;
@param rTemplate The URL template to register the content provider on.
@param pInfo If not null, this output parameter is filled with
information about the (atemptively) registered provider.
information about the (attemptively) registered provider.
*/
UCBHELPER_DLLPUBLIC bool registerAtUcb(

View File

@ -187,7 +187,7 @@ public:
/**
Drag and Drop, deleting and selection regards all text that has an attribute
TEXTATTR_PROTECTED set as one entity. Drag and dropped text is automatically
attibuted as protected.
attributed as protected.
*/
void SupportProtectAttribute(bool bSupport);

View File

@ -9,7 +9,7 @@
$(eval $(call gb_JunitTest_JunitTest,sc_complex))
# sc/qa/complex/calcPreview/ tests do not work autmatically (they request "Press
# sc/qa/complex/calcPreview/ tests do not work automatically (they request "Press
# any key after resizing" etc.)
$(eval $(call gb_JunitTest_add_classes,sc_complex, \

View File

@ -336,7 +336,7 @@ struct PCDefinitionModel
bool mbRefreshOnLoad; /// True = try to refresh cache on load.
bool mbOptimizeMemory; /// True = application may optimize memory usage.
bool mbEnableRefresh; /// True = refreshing cache is enabled in UI.
bool mbBackgroundQuery; /// True = application queries data asynchonously.
bool mbBackgroundQuery; /// True = application queries data asynchronously.
bool mbUpgradeOnRefresh; /// True = application may upgrade cache version.
bool mbTupleCache; /// True = cache stores OLAP functions.
bool mbSupportSubquery; /// True = data source supports subqueries.

View File

@ -4438,7 +4438,7 @@ ScVbaRange::AutoFilter( const uno::Any& aField, const uno::Any& Criteria1, const
throw uno::RuntimeException("Failed to find the autofilter placeholder range" );
uno::Reference< beans::XPropertySet > xDBRangeProps( xDataBaseRange, uno::UNO_QUERY_THROW );
// set autofilt
// set autofilter
xDBRangeProps->setPropertyValue( "AutoFilter", uno::Any(sal_True) );
// set header (autofilter always need column headers)
uno::Reference< beans::XPropertySet > xFiltProps( xDataBaseRange->getFilterDescriptor(), uno::UNO_QUERY_THROW );

View File

@ -52,7 +52,7 @@ public:
// #TODO find out what the proper parent should be
// leaving as set by the helperapi for the moment
// #TODO we really need the ScDocument to pass to ScVbaInterior
// otherwise attemps to access the palette will fail
// otherwise attempts to access the palette will fail
return new ScVbaInterior( BaseClass::mxParent, BaseClass::mxContext, xShapePropertySet );
}
css::uno::Reference< ov::excel::XFont > SAL_CALL Font( ) throw (css::script::BasicErrorException, css::uno::RuntimeException)

View File

@ -259,7 +259,7 @@ std::vector< ::boost::shared_ptr< ClientInfo > > RemoteServer::getClients()
// since the user is more likely to be trying to connect a new remote
// than removing an existing remote.
// We can also be sure that pre-authorised clients will not be on the
// available clients list, as they get automatially connected if seen.
// available clients list, as they get automatically connected if seen.
// TODO: we should probably add some sort of extra labelling to mark
// authorised AND connected client.
Reference< XNameAccess > const xConfig = officecfg::Office::Impress::Misc::AuthorisedRemotes::get();

View File

@ -62,7 +62,7 @@ public:
*/
virtual bool IsVisible (CacheKey aKey) = 0;
/** Return the page associdated with the given key. Note that different
/** Return the page associated with the given key. Note that different
keys may map to a single page (this may be the case with custom
slide shows.)
*/

View File

@ -75,7 +75,7 @@ public:
virtual void SAL_CALL disposing() SAL_OVERRIDE;
/** Typically called from setCurrentSlide() with the notes page that is
associed with the slide given to setCurrentSlide().
associeted with the slide given to setCurrentSlide().
Iterates over all text shapes on the given notes page and diplays
the concatenated text of these.

View File

@ -233,7 +233,7 @@ static void saveOldRegistration( LPCSTR lpSubKey )
{
szBuffer[nSize] = '\0';
// No need to save assocations for our own types
// No need to save associations for our own types
if ( strncmp( szBuffer, "LibreOffice.", 12 ) != 0 )
{
// Save the old association

View File

@ -363,7 +363,7 @@ bool SvBaseLink::Update()
}
if( xObj.Is() )
{
// should be asynschron?
// should be asynchronous?
if( xObj->IsPending() )
return true;

View File

@ -2737,7 +2737,7 @@ void SfxHelpWindow_Impl::MakeLayout()
Hide() / Show() will produce strange effects.
The returned size (used later to be written back into the configuration)
is not the right after a resize during the window is hidden.
If this resize is done if the window is visible evyrthing works as aspected.
If this resize is done if the window is visible everything works as expected.
Some VCL-patches could not solve this problem so I've established the
workaround: resize the help window if it's visible .-)
*/

View File

@ -278,7 +278,7 @@ HRESULT STDMETHODCALLTYPE CInfoTip::GetInfoTip(DWORD /*dwFlags*/, wchar_t** ppws
}
//finalize and assignthe string.
//finalize and assign the string.
LPMALLOC lpMalloc;
HRESULT hr = SHGetMalloc(&lpMalloc);

View File

@ -709,7 +709,7 @@ EnhancedCustomShape2d::EnhancedCustomShape2d( SdrObject* pAObj ) :
ClearItem( SDRATTR_TEXTDIRECTION ); //SJ: vertical writing is not required, by removing this item no outliner is created
// #i105323# For 2D AtoShapes, the shadow attirbute does not need to be applied to any
// #i105323# For 2D AtoShapes, the shadow attribute does not need to be applied to any
// of the constucted helper SdrObjects. This would lead to problems since the shadow
// of one helper object would fall on one helper object behind it (e.g. with the
// eyes of the smiley shape). This is not wanted; instead a single shadow 'behind'

View File

@ -264,7 +264,7 @@ bool isHistorical8x8(const BitmapEx& rBitmapEx, BitmapColor& o_rBack, BitmapColo
{
const BitmapPalette& rPalette = pRead->GetPalette();
// #i123564# bachground and foregrund were exchanged; of course
// #i123564# background and foreground were exchanged; of course
// rPalette[0] is the background color
o_rFront = rPalette[1];
o_rBack = rPalette[0];

View File

@ -437,7 +437,7 @@ DECLARE_OOXMLEXPORT_TEST(testfdo78882, "fdo78882.docx")
DECLARE_OOXMLEXPORT_TEST(testfdo76934, "fdo76934.docx")
{
/* Issue was, AuoSpacing property if present inside styles.xml, LO was not able to
/* Issue was, AutoSpacing property if present inside styles.xml, LO was not able to
* preserve it.
*/

View File

@ -340,7 +340,7 @@ bool SwPaM::Find( const SearchOptions& rSearchOpt, bool bSearchInNotes , utl::Te
}
}
// If we just finished search in shape text, don't attept to do that again.
// If we just finished search in shape text, don't attempt to do that again.
if (!bEndedTextEdit)
{
// If there are any shapes anchored to this node, search there.

View File

@ -290,7 +290,7 @@ SwDoc::SwDoc()
// It is also hard to find all places where the initial ItemSets for Writer (including
// style hierarchies) are created and to always set (but only at the root) the FillStyle
// to NONE fixed; that will add that attribute to the file format. It will be hard to reset
// attribbute sets (which is done at import and using UI). Also not a good solution.
// attribute sets (which is done at import and using UI). Also not a good solution.
// Luckily Writer uses pDfltTextFormatColl as default parent for all paragraphs and similar, thus
// it is possible to set this attribute here. It will be not reset when importing.
mpDfltTextFormatColl->SetFormatAttr(XFillStyleItem(drawing::FillStyle_NONE));

View File

@ -864,7 +864,7 @@ sal_uInt16 FlatFndBox::GetRowCount(const _FndBox& rBox)
return nLines;
}
/// Create a linear array of atmoic FndBoxes
/// Create a linear array of atomic FndBoxes
void FlatFndBox::FillFlat(const _FndBox& rBox, bool bLastBox)
{
bool bModRow = false;

View File

@ -1038,7 +1038,7 @@ SwSectionNode::~SwSectionNode()
SwSectionFormat* pFormat = m_pSection->GetFormat();
if( pFormat )
{
// Remove the Attributei, because the Section deletes it's Format
// Remove the Attribute, because the Section deletes it's Format
// and it will neutralize the Section, if the Content Attribute is set
pFormat->LockModify();
pFormat->ResetFormatAttr( RES_CNTNT );

View File

@ -144,7 +144,7 @@ bool SwFltStackEntry::MakeRegion(SwDoc* pDoc, SwPaM& rRegion, bool bCheck,
rRegion.GetPoint()->nContent.Assign(pCNd, rPtPos.m_nContent);
OSL_ENSURE( CheckNodesRange( rRegion.Start()->nNode,
rRegion.End()->nNode, true ),
"atttribute or similar crosses section-boundaries" );
"attribute or similar crosses section-boundaries" );
if( bCheck )
return CheckNodesRange( rRegion.Start()->nNode,
rRegion.End()->nNode, true );

View File

@ -2680,7 +2680,7 @@ void SwHTMLParser::_SetAttr( bool bChkEnd, bool bBeforeTable,
}
else
{
// Attribiute im Content-Bereich duerfen nicht gesetzt
// Attribute im Content-Bereich duerfen nicht gesetzt
// werden, wenn wir in einem Sonderbereich stehen, aber
// umgekekehrt schon.
sal_uLong nEndOfIcons = pDoc->GetNodes().GetEndOfExtras().GetIndex();
@ -3043,7 +3043,7 @@ bool SwHTMLParser::EndAttr( _HTMLAttr* pAttr, _HTMLAttr **ppDepAttr,
nEndCnt != pAttr->GetSttCnt() )
{
bInsert = true;
// We do some optimization for script depenedent attribtes here.
// We do some optimization for script depenedent attributes here.
if( *pEndIdx == pAttr->GetSttPara() )
{
lcl_swhtml_getItemInfo( *pAttr, bScript, bFont, nScriptItem );

View File

@ -920,7 +920,7 @@ private:
std::unique_ptr<sax_fastparser::FastAttributeList> m_pRunSdtPrDataBindingAttrs;
/// Value of the <w:alias> paragraph SDT element.
OUString m_aParagraphSdtPrAlias;
/// Same as m_aParagraphSdtPrAlias, but its content is aviailable till the SDT is closed.
/// Same as m_aParagraphSdtPrAlias, but its content is available till the SDT is closed.
OUString m_aStartedParagraphSdtPrAlias;
OUString m_aRunSdtPrAlias;
/// Currently paragraph SDT has a <w:id> child element.

View File

@ -2770,7 +2770,7 @@ void SwWW8ImplReader::Read_Symbol(sal_uInt16, const sal_uInt8* pData, short nLen
}
else
{
// Make new Font-Atribut
// Make new Font-Attribut
// (will be closed in SwWW8ImplReader::ReadChars() )
//Will not be added to the charencoding stack, for styles the real

View File

@ -95,7 +95,7 @@ void SwScrollbar::SetAuto(bool bSet)
{
bAuto = bSet;
// hide autmatically - automatisch versteckt - then show
// hide automatically - automatisch versteckt - then show
if(!bAuto && bVisible && !ScrollBar::IsVisible())
ExtendedShow(true);
else if(bAuto)

View File

@ -216,8 +216,8 @@ class Moderator
{
// usage restriction:
// It might be possible, that the call to the interactionhandler and/or
// progresshandler is done asynchrounsly, while the 'execute' simply
// returns. This would imply that these class must be refcounted !!!
// progresshandler is done asynchronously, while the 'execute' simply
// returns. This would imply that these class must be refcounted!!!
public:
Moderator(

View File

@ -18,10 +18,10 @@
*/
/**
this file implements the sal printer interface ( SalPrinter, SalInfoPrinter
and some printer relevant methods of SalInstance and SalGraphicsData )
this file implements the sal printer interface (SalPrinter, SalInfoPrinter
and some printer relevant methods of SalInstance and SalGraphicsData)
as aunderlying library the printer features of psprint are used.
as underlying library the printer features of psprint are used.
The query methods of a SalInfoPrinter are implemented by querying psprint

View File

@ -248,7 +248,7 @@ void Window::ImplGrabFocus( GetFocusFlags nFlags )
return;
// we only need to set the focus if it is not already set
// note: if some other frame is waiting for an asynchrounous focus event
// note: if some other frame is waiting for an asynchronous focus event
// we also have to post an asynchronous focus event for this frame
// which is done using ToTop
ImplSVData* pSVData = ImplGetSVData();

View File

@ -2326,7 +2326,7 @@ void SdXMLCaptionShapeContext::StartElement(const uno::Reference< xml::sax::XAtt
// because NbcAdjustTextFrameWidthAndHeight() is called (text is set later and center alignment
// is the default setting, so the top left reference point that is used by the caption point is
// no longer correct) There are two ways to solve this problem, temporarily disabling the
// autogrowwith as we are doing here or to apply the CaptionPoint after setting text
// autogrowwidth as we are doing here or to apply the CaptionPoint after setting text
bool bIsAutoGrowWidth = false;
if ( xProps.is() )
{

View File

@ -783,7 +783,7 @@ namespace xmloff
static const sal_uInt16 nCurrentValueAttributeNamespaceKey = OAttributeMetaData::getCommonControlAttributeNamespace(CCA_CURRENT_VALUE);
static const sal_uInt16 nValueAttributeNamespaceKey = OAttributeMetaData::getCommonControlAttributeNamespace(CCA_VALUE);
// add the atrtributes if necessary and possible
// add the attributes if necessary and possible
if (pCurrentValuePropertyName && (CCA_CURRENT_VALUE & m_nIncludeCommon))
{
// don't export the current-value if this value originates from a data binding

View File

@ -153,8 +153,8 @@ namespace xmloff
/** adds the attributes which are handled via generic IPropertyHandlers
<p>In the future, this really should be *all* attribiutes, instead of this shitload of
hand-crafted code we have currently ...</p>
<p>In the future, this really should be *all* attributes, instead of this shitload of
hand-crafted code we have currently...</p>
*/
void exportGenericHandlerAttributes();

View File

@ -61,7 +61,7 @@ namespace xmloff
#define CCA_VISUAL_EFFECT 0x00800000
#define CCA_ENABLEVISIBLE 0x01000000
// flags for database control atttributes
// flags for database control attributes
#define DA_BOUND_COLUMN 0x00000001
#define DA_CONVERT_EMPTY 0x00000002
#define DA_DATA_FIELD 0x00000004

View File

@ -467,7 +467,7 @@ namespace xmloff
return;
}
// finally add the attribuite to the context
// finally add the attribute to the context
AddAttribute(_nAttributeNamespaceKey, _pAttributeName, sValue);
}

View File

@ -348,7 +348,7 @@ lcl_checkMultiProperty(XMLPropertyState *const pState,
/**
* Filter context of paragraph and character borders.
* Compress border attriubtes. If one of groupable attributes (border type, border width, padding)
* Compress border attributes. If one of groupable attributes (border type, border width, padding)
* is equal for all four side then just one general attribute will be exported.
**/
static void lcl_FilterBorders(

View File

@ -97,7 +97,7 @@ enum XMLAttrTransformerAction
// - param1: pacakage URI are supported
XML_ATACTION_URI_OASIS, // an URI in OASIS notation
// - param1: pacakage URI are supported
XML_ATACTION_RENAME_ATTRIBUTE, // rename up to 3 different possible values of an attrbiute
XML_ATACTION_RENAME_ATTRIBUTE, // rename up to 3 different possible values of an attribute
// - param1: token of old attribute value (lower 16 bit)
// + token of new attribute value (upper 16 bit)
// - param2: token of old attribute value