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

Fix typos

Change-Id: Ife28cd9399cfcb375bad764dac7424eda50d430d
Reviewed-on: https://gerrit.libreoffice.org/52198Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 7c6fbd0a
......@@ -375,7 +375,7 @@ void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible )
WindowDescriptor* BaseContainerControl::impl_getWindowDescriptor ( const Reference< XWindowPeer > & rParentPeer )
{
// - used from "createPeer()" to set the values of an WindowDescriptor!!!
// - used from "createPeer()" to set the values of a WindowDescriptor!!!
// - if you will change the descriptor-values, you must override this virtual function
// - the caller must release the memory for this dynamical descriptor!!!
......
......@@ -235,7 +235,7 @@ namespace accessibility
m_pBrowseBox = nullptr;
m_xControlAccessible.clear();
m_aContext.clear();
// NO dispose of the inner object there: it is the css::accessibility::XAccessible of an window, and disposing
// NO dispose of the inner object there: it is the css::accessibility::XAccessible of a window, and disposing
// it would delete the respective VCL window
}
} // namespace accessibility
......
......@@ -145,7 +145,7 @@ void SAL_CALL ODBTable::disposing()
void ODBTable::getFastPropertyValue(Any& _rValue, sal_Int32 _nHandle) const
{
if ((PROPERTY_ID_PRIVILEGES == _nHandle) && (-1 == m_nPrivileges))
{ // somebody is asking for the privileges an we do not know them, yet
{ // somebody is asking for the privileges and we do not know them, yet
const_cast<ODBTable*>(this)->m_nPrivileges = ::dbtools::getTablePrivileges(getMetaData(),m_CatalogName,m_SchemaName, m_Name);
}
......
......@@ -47,7 +47,7 @@
namespace dbaui
{
// TODO : replace this class if MM provides an WeakSubObject in cppu
// TODO : replace this class if MM provides a WeakSubObject in cppu
class OSbaWeakSubObject : public ::cppu::OWeakObject
{
protected:
......
......@@ -1268,7 +1268,7 @@ bool OJoinTableView::PreNotify(NotifyEvent& rNEvt)
// the last win is active and we're travelling forward -> select the first conn
pNextConn = m_vTableConnection.begin()->get();
if ((aIter == m_aTableMap.begin()) && !bForward)
// the first win is active an we're traveling backward -> select the last conn
// the first win is active and we're traveling backward -> select the last conn
pNextConn = m_vTableConnection.rbegin()->get();
}
......
......@@ -70,7 +70,7 @@ public class ConsoleWait implements com.sun.star.lang.XEventListener
/** creates a ConsoleWait instance
* @param _disposable
* a component whose disposal should be monitored. When this component dies,
* the ConsoleWait also returns from an waitForConsole call, even if the user
* the ConsoleWait also returns from a waitForConsole call, even if the user
* did not yet press the enter key
*/
public ConsoleWait( Object _disposable )
......@@ -117,4 +117,4 @@ public class ConsoleWait implements com.sun.star.lang.XEventListener
}
}
}
}
\ No newline at end of file
}
......@@ -6031,7 +6031,7 @@ bool SvxMSDffManager::GetShapeGroupContainerData( SvStream& rSt,
sal_uInt8 nVer;sal_uInt16 nInst;sal_uInt16 nFbt;sal_uInt32 nLength;
long nStartShapeGroupCont = rSt.Tell();
// We are now in a shape group container (conditionally multiple per page)
// an we now have to iterate through all contained shape containers
// and we now have to iterate through all contained shape containers
bool bFirst = !bPatriarch;
sal_uLong nReadSpGrCont = 0;
do
......
......@@ -93,7 +93,7 @@ sal_Int16 SAL_CALL CFolderPicker::execute( )
// we should not block in this call else
// in the case of an event the client can'tgetPImplFromHandle( hWnd )
// call another function an we run into a
// call another function and we run into a
// deadlock !!!!!
return m_pFolderPickerImpl->execute( );
}
......
......@@ -226,11 +226,11 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
/**
* This is the callback method for the status we listen for an wish to show it
* on our UI control. Of course it's a oneway method ... but we don't call back
* This is the callback method for the status we listen for and wish to show it
* on our UI control. Of course it's a oneway method... but we don't call back
* to the office synchronously here. We update our UI only. So we don't leave this
* java process. In such case it's not necessary to use threads to decouple it.
* Do it here and now ...
* Do it here and now...
*
* @param aEvent
* describes the status, we can use to update our UI control
......
......@@ -27,7 +27,7 @@ module com { module sun { module star { module graphic
/** Service that describes the necessary interfaces and properties
to handle emf files.
Parses an WMF/EMF/EMF+ file to a sequence of B2DPrimitives for internal usage
Parses a WMF/EMF/EMF+ file to a sequence of B2DPrimitives for internal usage
@since LibreOffice 6.0
*/
......
......@@ -29,7 +29,7 @@ interface XPrimitive2D;
/** XEmfParser interface
This interface allows to parse an WMF/EMF/EMF+ stream in form of a sequence of bytes
This interface allows to parse a WMF/EMF/EMF+ stream in form of a sequence of bytes
to be parsed into a sequence of XPrimitive2Ds
@since LibreOffice 6.0
......
......@@ -26,7 +26,7 @@
module com { module sun { module star { module ucb {
/** Offers a simple access to resources, like files and folders located in a
local file system or on an WebDAV server.
local file system or on a WebDAV server.
@author Andreas Bregas
@version 1.0 07/25/2000
......
......@@ -31,7 +31,7 @@ module com { module sun { module star { module ucb {
*/
interface XWebDAVCommandEnvironment : XCommandEnvironment
{
/** This method gets called while assembling an WebDAV/HTTP request.
/** This method gets called while assembling a WebDAV/HTTP request.
The returned headername-headervalue pairs will be appended to
the list of request headers before the request is dispatched.
......
......@@ -183,7 +183,7 @@
</prop>
<prop oor:name="ControlType" oor:type="xs:string">
<info>
<desc>A property to define the control type of the toolbar item. An will be interpreted as OpenOffice.org default toggle button.</desc>
<desc>A property to define the control type of the toolbar item. It will be interpreted as OpenOffice.org default toggle button.</desc>
</info>
</prop>
<prop oor:name="Width" oor:type="xs:long">
......
......@@ -654,7 +654,7 @@ public class _XAccessibleText extends MultiMethodTest {
}
/**
* Calls the method with invalid parameters an with valid parameters.
* Calls the method with invalid parameters and with valid parameters.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters.
* The following method tests are to be executed before:
......@@ -743,7 +743,7 @@ public class _XAccessibleText extends MultiMethodTest {
}
/**
* Calls the method with invalid parameters an with valid parameters,
* Calls the method with invalid parameters and with valid parameters,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters and if returned values
......@@ -845,7 +845,7 @@ public class _XAccessibleText extends MultiMethodTest {
}
/**
* Calls the method with invalid parameters an with valid parameters,
* Calls the method with invalid parameters and with valid parameters,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters and if returned values
......@@ -919,7 +919,7 @@ public class _XAccessibleText extends MultiMethodTest {
}
/**
* Calls the method with invalid parameters an with valid parameters,
* Calls the method with invalid parameters and with valid parameters,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters and if returned values
......@@ -1014,7 +1014,7 @@ public class _XAccessibleText extends MultiMethodTest {
}
/**
* Calls the method with invalid parameters an with valid parameters,
* Calls the method with invalid parameters and with valid parameters,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters and if returned values
......@@ -1104,7 +1104,7 @@ public class _XAccessibleText extends MultiMethodTest {
}
/**
* Calls the method with invalid parameters an with valid parameter,
* Calls the method with invalid parameters and with valid parameter,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameter and if returned value for
......
......@@ -1427,7 +1427,7 @@ void SdTiledRenderingTest::testPostKeyEventInvalidation()
Scheduler::ProcessEventsToIdle();
CPPUNIT_ASSERT(pView2->GetTextEditObject());
// Now go left with the cursor in the second view an watch for
// Now go left with the cursor in the second view and watch for
// invalidations.
aView2.m_bTilesInvalidated = false;
pXImpressDocument->postKeyEvent(LOK_KEYEVENT_KEYINPUT, 0, KEY_LEFT);
......
......@@ -132,7 +132,7 @@ public class GlobalEventBroadcaster {
proveExpectation(expected));
System.out.println("... done");
System.out.println("opening an writer doc via Window-New Window");
System.out.println("opening a writer doc via Window-New Window");
notifyEvents.clear();
{
XTextDocument xTextDoc = wHelper.openFromDialog(".uno:NewWindow", "", false);
......@@ -140,7 +140,7 @@ public class GlobalEventBroadcaster {
util.utils.waitForEventIdle(m_xMSF);
expected = new String[] { "OnUnfocus", "OnCreate", "OnViewCreated", "OnFocus", "OnUnfocus", "OnViewCreated", "OnFocus", };
assertTrue("Wrong events fired when opening an writer doc via Window-New Window",
assertTrue("Wrong events fired when opening a writer doc via Window-New Window",
proveExpectation(expected));
System.out.println("... done");
......
......@@ -997,7 +997,7 @@ namespace sdr { namespace contact {
// We once had a situation where this was called reentrantly, which lead to all kind of strange effects. All
// those affected the grid control, which is the only control so far which is visible in design mode (and
// not only in alive mode).
// Creating the control triggered an Window::Update on some of its child windows, which triggered a
// Creating the control triggered a Window::Update on some of its child windows, which triggered a
// Paint on parent of the grid control (e.g. the SwEditWin), which triggered a reentrant call to this method,
// which it is not really prepared for.
......
......@@ -1140,7 +1140,7 @@ bool WW8AttributeOutput::StartURL( const OUString &rUrl, const OUString &rTarget
else if ( eProto != INetProtocol::NotValid )
{
// version 2 (simple url)
// an write some data to the data stream, but don't ask
// and write some data to the data stream, but don't ask
// what the data mean, except for the URL.
// The First piece is the WW8_PIC structure.
static sal_uInt8 MAGIC_B[] = {
......
......@@ -2048,7 +2048,7 @@ bool WW8_WrPlcSubDoc::WriteGenericText( WW8Export& rWrt, sal_uInt8 nTTyp,
if( aContent[ i ] != nullptr )
{
// is it an writer or sdr - textbox?
// is it a writer or sdr - textbox?
const SdrObject& rObj = *static_cast<SdrObject const *>(aContent[ i ]);
if (rObj.GetObjInventor() == SdrInventor::FmForm)
{
......@@ -2304,7 +2304,7 @@ void WW8_WrPlcSubDoc::WriteGenericPlc( WW8Export& rWrt, sal_uInt8 nTTyp,
for ( sal_uInt16 i = 0; i < nLen; ++i )
{
// write textbox story - FTXBXS
// is it an writer or sdr - textbox?
// is it a writer or sdr - textbox?
const SdrObject* pObj = static_cast<SdrObject const *>(aContent[ i ]);
sal_Int32 nCnt = 1;
if (pObj && dynamic_cast< const SdrTextObj *>( pObj ) == nullptr )
......
......@@ -496,7 +496,7 @@ public class _XAccessibleText {
}
/**
* Calls the method with invalid parameters an with valid parameters.
* Calls the method with invalid parameters and with valid parameters.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters.
* The following method tests are to be executed before:
......@@ -583,7 +583,7 @@ public class _XAccessibleText {
}
/**
* Calls the method with invalid parameters an with valid parameters,
* Calls the method with invalid parameters and with valid parameters,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters and if returned values
......@@ -675,7 +675,7 @@ public class _XAccessibleText {
}
/**
* Calls the method with invalid parameters an with valid parameters,
* Calls the method with invalid parameters and with valid parameters,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters and if returned values
......@@ -746,7 +746,7 @@ public class _XAccessibleText {
}
/**
* Calls the method with invalid parameters an with valid parameters,
* Calls the method with invalid parameters and with valid parameters,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters and if returned values
......@@ -833,7 +833,7 @@ public class _XAccessibleText {
}
/**
* Calls the method with invalid parameters an with valid parameters,
* Calls the method with invalid parameters and with valid parameters,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameters and if returned values
......@@ -921,7 +921,7 @@ public class _XAccessibleText {
}
/**
* Calls the method with invalid parameters an with valid parameter,
* Calls the method with invalid parameters and with valid parameter,
* checks returned values.
* Has OK status if exception was thrown for invalid parameters,
* if exception wasn't thrown for valid parameter and if returned value for
......
......@@ -57,7 +57,7 @@ public:
bool mbBorder; // has window a border
bool mbFixBorder; // has window a fixed border
bool mbSizeBorder; // has window a sizeable border
bool mbNoIcon; // is an window without an icon
bool mbNoIcon; // is a window without an icon
bool mbFloatWin; // is a FloatingWindow
bool mbFullScreen; // TRUE: in full screen mode
bool mbPresentation; // TRUE: Presentation Mode running
......
......@@ -445,7 +445,7 @@ SalFrame* ImplSalCreateFrame( WinSalInstance* pInst,
return nullptr;
}
// If we have an Window with an Caption Bar and without
// If we have a Window with an Caption Bar and without
// an MaximizeBox, we change the SystemMenu
if ( (nSysStyle & (WS_CAPTION | WS_MAXIMIZEBOX)) == (WS_CAPTION) )
{
......
......@@ -168,7 +168,7 @@ public final class Driver {
docOut.write(fos);
fos.flush();
} catch (Exception writeExcept) {
System.out.println("\nThere was an writing out file <" +
System.out.println("\nThere was a writing out file <" +
fileName + ">");
writeExcept.printStackTrace();
} finally {
......
......@@ -381,7 +381,7 @@ bool DocumentSignatureManager::add(
// We open a signature stream in which the existing and the new
//signature is written. ImplGetSignatureInformation (later in this function) will
//then read the stream an will fill maCurrentSignatureInformations. The final signature
//then read the stream and fill maCurrentSignatureInformations. The final signature
//is written when the user presses OK. Then only maCurrentSignatureInformation and
//a sax writer are used to write the information.
SignatureStreamHelper aStreamHelper
......
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