Kaydet (Commit) 223f1f2b authored tarafından Julien Nabet's avatar Julien Nabet

Typos

Change-Id: I36f443c266670bd26aa6b813075e18653f372f52
Reviewed-on: https://gerrit.libreoffice.org/33900Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 797d10e1
......@@ -209,7 +209,7 @@ class JavaPanZoomController
mSubscroller.cancel();
if (waitingForTouchListeners && (event.getAction() & MotionEvent.ACTION_MASK) == MotionEvent.ACTION_DOWN) {
// this is the first touch point going down, so we enter the pending state
// seting the state will kill any animations in progress, possibly leaving
// setting the state will kill any animations in progress, possibly leaving
// the page in overscroll
setState(PanZoomState.WAITING_LISTENERS);
}
......
......@@ -500,7 +500,7 @@ void SAL_CALL SbaXDataBrowserController::FormControllerImpl::frameAction(const c
void SAL_CALL SbaXDataBrowserController::FormControllerImpl::disposing(const css::lang::EventObject& /*Source*/)
{
// nothing to do
// we don't add ourself as listener to any broadcasters, so we are not resposible for removing us
// we don't add ourself as listener to any broadcasters, so we are not responsible for removing us
}
// SbaXDataBrowserController
......
......@@ -1369,7 +1369,7 @@ void SAL_CALL SbaTableQueryBrowser::disposing( const css::lang::EventObject& _rS
// maybe update the UI
implCheckExternalSlot(nSlot);
// continue, the same XDispatch may be resposible for more than one URL
// continue, the same XDispatch may be responsible for more than one URL
}
}
}
......
......@@ -582,10 +582,10 @@
</xsl:template>
<!--
**Template vmlpath2enhancedpath**
The template is resposible for converting the vml-path to enhanced-path, because the svg:path
The template is responsible for converting the vml-path to enhanced-path, because the svg:path
cann't support command a now.(But heard that will be supported in OOo3.0)
And the 2nd reason of using an enhanced-path is that enhanced-path have a perfect mapping to
vmlpath.(You will find out that often,we even don't need to change the parameters).
vmlpath.(You will find out that often, we even don't need to change the parameters).
-->
<xsl:template name="vmlpath2enhancedpath">
<xsl:param name="vml-path"/>
......
......@@ -26,7 +26,7 @@
// A container for custom controls
// the container is resposible for
// the container is responsible for
// the destruction of the custom
// controls
......
......@@ -141,7 +141,7 @@ void Desktop::constructorInit()
Do such things in DEFINE_INIT_SERVICE() method, which is called automatically after your ctor!!!
b) Baseclass OBroadcastHelper is a typedef in namespace cppu!
The microsoft compiler has some problems to handle it right BY using namespace explicitly ::cppu::OBroadcastHelper.
If we write it without a namespace or expand the typedef to OBrodcastHelperVar<...> -> it will be OK!?
If we write it without a namespace or expand the typedef to OBroadcastHelperVar<...> -> it will be OK!?
I don't know why! (other compiler not tested .. but it works!)
@seealso method DEFINE_INIT_SERVICE()
......
......@@ -443,7 +443,7 @@ private:
Do such things in DEFINE_INIT_SERVICE() method, which is called automatically after your ctor!!!
b) Baseclass OBroadcastHelper is a typedef in namespace cppu!
The microsoft compiler has some problems to handle it right BY using namespace explicitly ::cppu::OBroadcastHelper.
If we write it without a namespace or expand the typedef to OBrodcastHelperVar<...> -> it will be OK!?
If we write it without a namespace or expand the typedef to OBroadcastHelperVar<...> -> it will be OK!?
I don't know why! (other compiler not tested .. but it works!)
@seealso method DEFINE_INIT_SERVICE()
......
......@@ -301,7 +301,7 @@ void LwpGraphicObject::CreateDrawObjects()
SvStream* pDrawObjStream = nullptr;
// get graphic object's bento objet name
// get graphic object's bento object name
LwpObjectID& rMyID = GetObjectID();
std::string aGrfObjName;
GetBentoNamebyID(rMyID, aGrfObjName);
......@@ -353,7 +353,7 @@ sal_uInt32 LwpGraphicObject::GetRawGrafData(sal_uInt8*& pGrafData)
SvStream* pGrafStream = nullptr;
// get graphic object's bento objet name
// get graphic object's bento object name
LwpObjectID& rMyID = GetObjectID();
std::string aGrfObjName;
GetBentoNamebyID(rMyID, aGrfObjName);
......@@ -396,7 +396,7 @@ sal_uInt32 LwpGraphicObject::GetGrafData(sal_uInt8*& pGrafData)
SvStream* pGrafStream = nullptr;
// get graphic object's bento objet name
// get graphic object's bento object name
LwpObjectID& rMyID = GetObjectID();
std::string aGrfObjName;
GetBentoNamebyID(rMyID, aGrfObjName);
......
......@@ -41,12 +41,12 @@ import com.sun.star.lang.IndexOutOfBoundsException;
* <li> Test environment variable <code>'THRCNT'</code> : number
* of interface threads running concurrently. </li>
* <ul> <p>
* XIndexComtainer needs n ObjectRelations "INSTANCEn" , where n=1, ...,
* XIndexContainer needs n ObjectRelations "INSTANCEn" , where n=1, ...,
* THRCNT.<p>
* When this interface tested by different threads, it must use different
* instances to insert/remove - one for each thread.
* <p>
* That's why we use objRelation "XIndexComtainerINDEX" to store the number of
* That's why we use objRelation "XIndexContainerINDEX" to store the number of
* last taken instance. If there is no such relation, it initialize with 1.
* <p>
* This ObjectRelations should be necessary to create an Object,
......@@ -58,7 +58,7 @@ import com.sun.star.lang.IndexOutOfBoundsException;
* If you insert the same Object by insertByIndex() several times you
* don't insert the Object several times. The first insertByIndex() inserts
* the Object to the Container but all other insertByIndex() changes
* the Index in the Continer because it's the same Object. <p>
* the Index in the Container because it's the same Object. <p>
* Test is multithread compliant. <p>
* @see com.sun.star.container.XIndexContainer
*/
......
......@@ -60,7 +60,7 @@ import com.sun.star.uno.UnoRuntime;
* If you insert the same Object by replaceByIndex() several times you
* don't insert the Object several times. The first replaceByIndex() inserts
* the Object to the Container but all other replaceByIndex() changes
* the Index in the Continer because it's the same Object. <p>
* the Index in the Container because it's the same Object. <p>
* Test is multithread compliant. <p>
* @see com.sun.star.container.XIndexReplace
*/
......
......@@ -43,7 +43,7 @@ import lib.StatusException;
* <li> Test environment variable <code>'THRCNT'</code> : number
* of interface threads running concurrently. </li>
* <ul> <p>
* XNameComtainer needs n ObjectRelations "INSTANCEn" , where n=1, ..., THRCNT.
* XNameContainer needs n ObjectRelations "INSTANCEn" , where n=1, ..., THRCNT.
*
* When this interface tested by different threads, it must use different
* instances to insert/remove - one for each thread.
......@@ -54,7 +54,7 @@ import lib.StatusException;
* If you insert the same Object by insertByName() several times you
* don't insert the Object several times. The first insertByName() inserts
* the Object to the Container but all other insertByName() changes
* the Name in the Continer because it's the same Object.
* the Name in the Container because it's the same Object.
* @see com.sun.star.container.XNameContainer
*/
......
......@@ -19,7 +19,7 @@
package com.sun.star.uno;
/**
* With a mapping objets can be mapped from one environment to another.
* With a mapping objects can be mapped from one environment to another.
*
* <p>This interface exists for compatibility with the binary UNO API.</p>
*
......
......@@ -50,7 +50,7 @@ public:
/**
Clears the object
Deletes all objets referenced by the pointers in the class,
Deletes all objects referenced by the pointers in the class,
sets pointers to NULL, and all numerical variables to 0
*/
void Clear();
......
......@@ -2028,7 +2028,7 @@ void Test::testFormulaRefUpdateInsertColumns()
m_pDoc->SetString(ScAddress(2,3,0), "=SUM(EntireRow)");
CPPUNIT_ASSERT_EQUAL(4.0, m_pDoc->GetValue(ScAddress(2,3,0)));
// Inert columns over A:B.
// Insert columns over A:B.
ScMarkData aMark;
aMark.SelectOneTable(0);
ScDocFunc& rFunc = getDocShell().GetDocFunc();
......
......@@ -368,7 +368,7 @@ bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
// thus it is necessary to reset it and to get it again.
// #i112855#
// cl: I'm not sure why we checked here also for mxTextObj->GetOutlinerParaObjet
// cl: I'm not sure why we checked here also for mxTextObj->GetOutlinerParaObject
// this caused SdrEndTextEdit() to be called also when not in text editing and
// this does not make sense and caused troubles. (see issue 112855)
......
......@@ -55,7 +55,7 @@ void SfxFrameHTMLParser::ParseFrameOptions(
// Netscape seems to set marginwidth to 0 as soon as
// marginheight is set, and vice versa.
// Netscape does however not allow for a direct
// seting to 0, while IE4.0 does
// setting to 0, while IE4.0 does
// We will not mimic that bug !
bool bMarginWidth = false, bMarginHeight = false;
......
......@@ -513,7 +513,7 @@ bool SfxObjectShell::IsHelpDocument() const
void SfxObjectShell::ResetFromTemplate( const OUString& rTemplateName, const OUString& rFileName )
{
// only care about reseting this data for openoffice formats otherwise
// only care about resetting this data for openoffice formats otherwise
if ( IsOwnStorageFormat( *GetMedium()) )
{
uno::Reference<document::XDocumentProperties> xDocProps(getDocProperties());
......
......@@ -428,7 +428,7 @@ void SAL_CALL AccessibleControlShape::notifyEvent( const AccessibleEventObject&
_rEvent.OldValue >>= nLostState;
_rEvent.NewValue >>= nGainedState;
// don't multiplex states which the inner context is not resposible for
// don't multiplex states which the inner context is not responsible for
if ( isComposedState( nLostState ) )
AccessibleShape::ResetState( nLostState );
......
......@@ -1975,7 +1975,7 @@ static void
lcl_SelectParaAndReset( SwPaM &rPaM, SwDoc & rDoc,
std::set<sal_uInt16> const &rWhichIds )
{
// if we are reseting paragraph attributes, we need to select the full paragraph first
// if we are resetting paragraph attributes, we need to select the full paragraph first
SwPosition aStart = *rPaM.Start();
SwPosition aEnd = *rPaM.End();
auto pTemp ( rDoc.CreateUnoCursor(aStart) );
......
......@@ -297,7 +297,7 @@ bool SwDocShell::Save()
m_pView->GetEditWin().StopQuickHelp();
SwWait aWait( *this, true );
CalcLayoutForOLEObjects(); // format for OLE objets
CalcLayoutForOLEObjects(); // format for OLE objects
// #i62875#
// reset compatibility flag <DoNotCaptureDrawObjsOnPage>, if possible
if (m_pWrtShell && m_pDoc &&
......@@ -418,7 +418,7 @@ bool SwDocShell::SaveAs( SfxMedium& rMedium )
}
}
CalcLayoutForOLEObjects(); // format for OLE objets
CalcLayoutForOLEObjects(); // format for OLE objects
bool bURLChanged = !GetMedium() || GetMedium()->GetURLObject() != rMedium.GetURLObject();
if (!m_pDoc->GetDBManager()->getEmbeddedName().isEmpty() && bURLChanged)
......@@ -609,7 +609,7 @@ bool SwDocShell::ConvertTo( SfxMedium& rMedium )
if ( !rMedium.IsSkipImages() )
m_pDoc->getIDocumentStatistics().UpdateDocStat( false, true );
CalcLayoutForOLEObjects(); // format for OLE objets
CalcLayoutForOLEObjects(); // format for OLE objects
// #i62875#
// reset compatibility flag <DoNotCaptureDrawObjsOnPage>, if possible
if (m_pWrtShell &&
......
......@@ -68,7 +68,7 @@ public:
SwKeepConversionDirectionStateContext()
{
//!! hack to transport the current conversion direction state settings
//!! into the next incarnation that iterates over the drawing objets
//!! into the next incarnation that iterates over the drawing objects
//!! ( see SwHHCWrapper::~SwHHCWrapper() )
editeng::HangulHanjaConversion::SetUseSavedConversionDirectionState( true );
}
......
......@@ -3228,7 +3228,7 @@ void ToolBox::ImplDrawItem(vcl::RenderContext& rRenderContext, sal_uInt16 nPos,
long nArrowHeight = ( pItem->mnBits & ToolBoxItemBits::DROPDOWN )
? TB_DROPDOWNARROWWIDTH : 0;
// only if buton is a "dropdown only" type then is painted as a single button
// only if button is a "dropdown only" type then is painted as a single button
// and we need to move text above the arrow
if ( ImplGetSVData()->maNWFData.mbToolboxDropDownSeparate
&& (pItem->mnBits & ToolBoxItemBits::DROPDOWNONLY) != ToolBoxItemBits::DROPDOWNONLY )
......
......@@ -428,7 +428,7 @@ void SAXEventKeeperImpl::smashBufferNode(
* true. Because a Blocker can buffer many SAX events which are not used
* by any other ElementCollector or Blocker.
* When the bClearRoot is set to true, the root BufferNode will be first
* cleared, with a stop flag seting at the next Blocking BufferNode. This
* cleared, with a stop flag setting at the next Blocking BufferNode. This
* operation can delete all useless bufferred SAX events which are only
* needed by the Blocker to be deleted.
******************************************************************************/
......
......@@ -478,7 +478,7 @@ void XSecController::clearSAXChainConnector()
******************************************************************************/
{
/*
* before reseting, if the ElementStackKeeper has kept something, then
* before resetting, if the ElementStackKeeper has kept something, then
* those kept key SAX events must be transferred to the SAXEventKeeper
* first. This is to promise the next node to the SAXEventKeeper on the
* SAX chain always receives a complete document.
......
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