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

Fix typos

Change-Id: Ibffe19c1dfda9d0f4ba8d2a0761ad1222491007f
Reviewed-on: https://gerrit.libreoffice.org/46599Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 9f3b61e5
......@@ -204,7 +204,7 @@ void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax )
// save impossible cases
// This method is only defined for valid values
// If you ignore this, the release version wil produce an error "division by zero" in "ProgressBar::setValue()"!
// If you ignore this, the release version will produce an error "division by zero" in "ProgressBar::setValue()"!
DBG_ASSERT ( ( nMin != nMax ) , "ProgressBar::setRange()\nValues for MIN and MAX are the same. This is not allowed!\n" );
// Ready for multithreading
......
......@@ -1374,7 +1374,7 @@ ORowSetNotifier::ORowSetNotifier( ORowSetBase* _pRowSet )
,m_bWasModified( false )
{
OSL_ENSURE( m_pRowSet, "ORowSetNotifier::ORowSetNotifier: invalid row set. This wil crash." );
OSL_ENSURE( m_pRowSet, "ORowSetNotifier::ORowSetNotifier: invalid row set. This will crash." );
// remember the "inserted" and "modified" state for later firing
m_bWasNew = m_pRowSet->isNew( ORowSetBase::GrantNotifierAccess() );
......@@ -1392,7 +1392,7 @@ ORowSetNotifier::ORowSetNotifier( ORowSetBase* _pRowSet,const ORowSetValueVector
,m_bWasModified( false )
{
OSL_ENSURE( m_pRowSet, "ORowSetNotifier::ORowSetNotifier: invalid row set. This wil crash." );
OSL_ENSURE( m_pRowSet, "ORowSetNotifier::ORowSetNotifier: invalid row set. This will crash." );
m_pImpl->aRow = i_aRow; // yes, create a copy to store the old values
}
......
......@@ -650,7 +650,7 @@ namespace drawinglayer
// tools::PolyPolygon is filled. Create the bitmap tile area in object
// coordinates. For this, the object transformation needs to be created
// from the already scaled PolyPolygon. The tile area in object
// coordinates wil always be non-rotated, so it's not necessary to
// coordinates will always be non-rotated, so it's not necessary to
// work with a polygon here
basegfx::B2DRange aTileRange(rFillGraphicAttribute.getGraphicRange());
const basegfx::B2DRange aPolyPolygonRange(rPolyPolygon.getB2DRange());
......
......@@ -36,7 +36,7 @@
/**********************************************************************
stl container elements must fulfill the following requirements:
1. they need a copy ctor and assignement operator(?)
1. they need a copy ctor and assignment operator(?)
2. they must be comparable
because the FORMATETC structure has a pointer to a TARGETDEVICE
structure we need a simple wrapper class to fulfill these needs
......
......@@ -48,7 +48,7 @@
if there is one, he requests the data in this format
- This class inherits from IDataObject an so can be placed on the
OleClipboard. The class wrapps a transferable object which is the
OleClipboard. The class wraps a transferable object which is the
original DataSource
- DataFlavors offerd by this transferable will be translated into
appropriate clipboard formats
......
......@@ -42,7 +42,7 @@ class EnumFormatEtc;
if there is one, he requests the data in this format
- This class inherits from IDataObject an so can be placed on the
OleClipboard. The class wrapps a transferable object which is the
OleClipboard. The class wraps a transferable object which is the
original DataSource
- DataFlavors offerd by this transferable will be translated into
appropriate clipboard formats
......
......@@ -574,7 +574,7 @@ css::uno::Reference< css::frame::XFrame > CloseDispatcher::static_impl_searchRig
css::uno::Reference< css::frame::XFrame > xTarget = xFrame;
while(true)
{
// a) top frames wil be closed
// a) top frames will be closed
if (xTarget->isTop())
return xTarget;
......
......@@ -28,7 +28,7 @@
namespace com { namespace sun { namespace star { namespace uno { class Any; }}}}
// Returns a SbxObject that wrapps an Uno Interface
// Returns a SbxObject that wraps an Uno Interface
// Implementation in basic/source/classes/sbunoobj.cxx
BASIC_DLLPUBLIC SbxObjectRef GetSbUnoObject( const OUString& aName, const css::uno::Any& aUnoObj_ );
......
......@@ -111,7 +111,7 @@ class SingletonRef
/** @short standard dtor.
The internal wrapped object is removed only,
if its ref count wil be 0. Otherwise this method
if its ref count will be 0. Otherwise this method
does nothing ... except decreasing of the internal
ref count!
*/
......
......@@ -38,7 +38,7 @@ import com.sun.star.uno.UnoRuntime;
/**
* The BridgeFactory class implements the <code>XBridgeFactory</code> Interface.
*
* <p>It wrapps the <code>UnoRuntime#getBridgeByName</code>method and delivers a
* <p>It wraps the <code>UnoRuntime#getBridgeByName</code>method and delivers a
* XBridge component.</p>
*
* <p>This component is only usable for remote bridges.</p>
......
......@@ -306,7 +306,7 @@ public class FunctionHelper
// the systemw window handle. A possible reason can be an invisible
// java window. In this case it should be enough to set return
// values to null. All other resources (which was created before)
// will be freed automatically if scope wil be leaved.
// will be freed automatically if scope will be leaved.
System.out.println("May be the NativeView object wasn't really visible at calling time of getNativeWindow()?");
xPeer = null;
xWindow = null;
......
......@@ -71,7 +71,7 @@ public class ViewContainer extends Thread
/**
* ctor
* It's private - because nobody should create any instance
* expect the only global one, which wil be created by ourself!
* expect the only global one, which will be created by ourself!
*/
private ViewContainer()
{
......@@ -162,7 +162,7 @@ public class ViewContainer extends Thread
/**
* add/remove listener for possibe shutdown events
* add/remove listener for possible shutdown events
*/
public void addListener( IShutdownListener rListener )
{
......
......@@ -233,7 +233,7 @@ const SvxSearchItem& ScGlobal::GetSearchItem()
void ScGlobal::SetSearchItem( const SvxSearchItem& rNew )
{
// FIXME: An assignement operator would be nice here
// FIXME: An assignment operator would be nice here
delete pSearchItem;
pSearchItem = static_cast<SvxSearchItem*>(rNew.Clone());
......
......@@ -270,7 +270,7 @@ void ScUndoEnterData::Redo()
{
ScAddress aPos = maPos;
aPos.SetTab(nTab);
// edit text wil be cloned.
// edit text will be cloned.
rDoc.SetEditText(aPos, *mpNewEditData, nullptr);
}
else
......
......@@ -57,7 +57,7 @@ class Pane
public PaneInterfaceBase
{
public:
/** Create a new Pane object that wrapps the given window.
/** Create a new Pane object that wraps the given window.
@param rsPaneURL
The URL that is used by the configuration to identify the pane.
The given URL has to be valid.
......
......@@ -379,7 +379,7 @@ void SfxModelessDialog::Init(SfxBindings *pBindinx, SfxChildWindow *pCW)
/* [Description]
If a ModelessDialog is enabled its ViewFrame wil be activated.
If a ModelessDialog is enabled its ViewFrame will be activated.
This is necessary by PluginInFrames.
*/
bool SfxModelessDialog::EventNotify( NotifyEvent& rEvt )
......
......@@ -1325,7 +1325,7 @@ void DelBookmarks(
// Copy all Redlines which are in the move area into an array
// which holds all position information as offset.
// Assignement happens after moving.
// Assignment happens after moving.
SwRedlineTable& rTable = pDoc->getIDocumentRedlineAccess().GetRedlineTable();
for(SwRangeRedline* pRedl : rTable)
{
......
......@@ -1593,7 +1593,7 @@ SwPageFrame* SwRootFrame::GetPageByPageNum( sal_uInt16 _nPageNum ) const
}
/**
* @return true, when the given physical pagenumber does't exist or this page is an empty page.
* @return true, when the given physical pagenumber doesn't exist or this page is an empty page.
*/
bool SwRootFrame::IsDummyPage( sal_uInt16 nPageNum ) const
{
......
......@@ -187,7 +187,7 @@ MetaAction* GDIMetaFile::ReplaceAction( MetaAction* pAction, size_t nAction )
pAction->Delete();
return nullptr;
}
//fdo#39995 This does't increment the incoming action ref-count nor does it
//fdo#39995 This doesn't increment the incoming action ref-count nor does it
//decrement the outgoing action ref-count
std::swap(pAction, m_aList[nAction]);
return pAction;
......
......@@ -4498,7 +4498,7 @@ void PDFWriterImpl::createDefaultRadioButtonAppearance( PDFWidget& rBox, const P
rBox.m_aDAString = aDA.makeStringAndClear();
//to encrypt this (el)
rBox.m_aMKDict = "/CA";
//after this assignement, to m_aMKDic cannot be added anything
//after this assignment, to m_aMKDic cannot be added anything
rBox.m_aMKDictCAString = "l";
rBox.m_aRect = aCheckRect;
......
......@@ -5455,7 +5455,7 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP
static int bInWheelMsg = FALSE;
static int bInQueryEnd = FALSE;
// By WM_CRETAE we connect the frame with the window handle
// By WM_CREATE we connect the frame with the window handle
if ( nMsg == WM_CREATE )
{
// Save Window-Instance in Windowhandle
......
......@@ -93,7 +93,7 @@ void XMLTextParagraphExport::exportTextFootnote(
else
{
// create span (for citation mark) if necessary; footnote content
// wil be handled via exportTextFootnoteHelper, exportText
// will be handled via exportTextFootnoteHelper, exportText
bool bHasHyperlink;
bool bIsUICharStyle = false;
bool bHasAutoStyle = false;
......
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