Fix typos

Change-Id: I92078fdece135754744d85424956dbb071f3899e
Reviewed-on: https://gerrit.libreoffice.org/53638
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2018-04-29 23:19:08 +02:00 committed by Julien Nabet
parent d633e80334
commit f6fb5a17da
32 changed files with 38 additions and 38 deletions

View File

@ -139,7 +139,7 @@ void OEditBaseModel::write(const Reference<XObjectOutputStream>& _rxOutStream)
writeHelpTextCompatibly(_rxOutStream);
// (that's potentially bad : at the time I added the above line we had two derived classes : OEditModel and
// OFormattedModel. The first one does not have an own version handling, so it can't write the help text itself,
// the second one does it's own writing (reading) after calling our method, so normally we shouldn't write any
// the second one does its own writing (reading) after calling our method, so normally we shouldn't write any
// additional members as this is not compatible to older office versions.
// We decided to place the writing of the help text here as it seems the less worse alternative. There is no delivered
// office version including formatted controls (and thus the OFormattedModel), and the OFormattedModel::read seems

View File

@ -85,7 +85,7 @@ static const OUString STRING_SEPARATOR("----------------------------------------
/** native implementation of the file picker on Vista and upcoming windows versions.
* This dialog uses COM internally. Further it marshall every request so it will
* be executed within it's own STA thread !
* be executed within its own STA thread !
*/
class VistaFilePickerImpl : private ::cppu::BaseMutex

View File

@ -129,7 +129,7 @@ class InterceptionHelper : public ::cppu::WeakImplHelper<
private:
/** @short reference to the frame, which uses this instance to implement it's own interception.
/** @short reference to the frame, which uses this instance to implement its own interception.
@descr We hold a weak reference only, to make disposing operations easy. */
css::uno::WeakReference< css::frame::XFrame > m_xOwnerWeak;
@ -148,7 +148,7 @@ class InterceptionHelper : public ::cppu::WeakImplHelper<
/** @short creates a new interception helper instance.
@param xOwner
points to the frame, which use this instances to support it's own interception interfaces.
points to the frame, which use this instances to support its own interception interfaces.
@param xSlave
an outside creates dispatch provider, which has to be used here as lowest slave "interceptor".

View File

@ -216,7 +216,7 @@ void JobData::setEvent( const OUString& sEvent ,
@short set the new job specific arguments
@descr If a job finish his work, it can give us a new list of arguments (which
will not interpreted by us). We write it back to the configuration only
(if this job has it's own configuration!).
(if this job has its own configuration!).
So a job can have persistent data without implementing anything
or define own config areas for that.

View File

@ -937,7 +937,7 @@ private:
b) We must create our own progress e.g. for an AutoSave
c) Sometimes our application filters don't use the progress
provided by the MediaDescriptor. They use the Frame every time to create
it's own progress. So we implemented a HACK for these and now we set
its own progress. So we implemented a HACK for these and now we set
an InterceptedProgress there for the time WE use this frame for loading/storing documents .-)
@param xNewFrame
@ -4102,7 +4102,7 @@ void AutoRecovery::impl_establishProgress(const AutoRecovery::TDocumentInfo&
// HACK
// An external provided progress (most given by the CrashSave/Recovery dialog)
// must be preferred. But we know that some application filters query it's own progress instance
// must be preferred. But we know that some application filters query its own progress instance
// at the frame method Frame::createStatusIndicator().
// So we use a two step mechanism:
// 1) we set the progress inside the MediaDescriptor, which will be provided to the filter

View File

@ -100,7 +100,7 @@ namespace basegfx
*/
BASEGFX_DLLPUBLIC B2DPolyPolygon createNonzeroConform(const B2DPolyPolygon& rCandidate);
// For convenience: The four basic operations OR, XOR, AND and DIFF for
// For convenience: the four basic operations OR, XOR, AND and DIFF for
// two PolyPolygons. These are combinations of the above methods. To not be forced
// to do evtl. already done preparations twice, You have to do the operations Yourself.

View File

@ -48,7 +48,7 @@ OUString getFileURLFromSystemPath(OUString const & path)
}
// We specifically don't use the usual BootStrapFixture, as LOK does
// all it's own setup and bootstrapping, and should be usable in a
// all its own setup and bootstrapping, and should be usable in a
// raw C++ program.
class TiledRenderingTest : public ::CppUnit::TestFixture
{

View File

@ -231,9 +231,9 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
* the info box can be shown in modal mode. If a parent is missing
* (because this job is called inside an EXECUTOR environment, which
* does not set any frame context here) the info box can't be created!
* Because the toolkit needs parents for non top level windows ...
* Because the toolkit needs parents for non top level windows...
* In that case the only way is to implement this info box
* native or make it non modal using java dialogs inside it's own thread ...
* native or make it non modal using java dialogs inside its own thread...
* (see showInfoNonModal() too)
*
* @param xParent

View File

@ -59,7 +59,7 @@ published constants EmbedStates
window.
<p>
The object is activated and has it's own window in the container's
The object is activated and has its own window in the container's
window that allows object to process mouse events and control own
rendering.
</p>

View File

@ -75,7 +75,7 @@ interface XInplaceClient: com::sun::star::uno::XInterface
UI-deactivated.
<p>
After this notification the container can restore it's own UI and take focus.
After this notification the container can restore its own UI and take focus.
</p>
@throws com::sun::star::embed::WrongStateException

View File

@ -52,7 +52,7 @@ published enum NavigationBarMode
on the parent of the current/active form.
<p>This options is usually used for forms containing an grid control only.
In such a form, the control has it's own navigation elements, so there is
In such a form, the control has its own navigation elements, so there is
no need to use the navigation bar for the form, but rather for its parent.
</p>
*/

View File

@ -55,7 +55,7 @@ import com.sun.star.uno.UnoRuntime;
* taken instance. If there is no such relation, it initialize with 1.
* <p>
* In one of the last steps the replaced object will be compared with the old
* object. For that it is necessary that every thread replace it's own object.
* object. For that it is necessary that every thread replace its own object.
* INSTANCEn are n Objectrelations so that every thread can insert its own
* object. n depends on the variable THRCNT which and comes from API.INI
* Some Object-Container can't replace the first that comes belong. So in

View File

@ -172,7 +172,7 @@ public class _XCellCursor extends MultiMethodTest {
* movement. <p>
*/
public void _gotoEnd(){
//gotoEnd gets it's own cursor to see a change
//gotoEnd gets its own cursor to see a change
XSpreadsheet oSheet = (XSpreadsheet) tEnv.getObjRelation("SHEET");
XCellRange testRange = oSheet.getCellRangeByName("$A$1:$g$7") ;
XSheetCellRange testSheetRange = UnoRuntime.queryInterface(XSheetCellRange.class,testRange);

View File

@ -35,7 +35,7 @@ import com.sun.star.text.XAutoTextGroup;
*/
public class _XAutoTextContainer extends MultiMethodTest {
public XAutoTextContainer oObj = null;
// every Thread must insert it's own AutoTextContainer:
// every Thread must insert its own AutoTextContainer:
public String Name = "";
/**

View File

@ -23,7 +23,7 @@
#include <svx/svxids.hrc>
#include <svl/typedwhich.hxx>
// EditEngine is not allowed to define it's own ITEMID's
// EditEngine is not allowed to define its own ITEMID's
#define INCLUDED_EDITENG_EEITEMID_HXX
// Item-IDs for UI-MsgPool:

View File

@ -80,7 +80,7 @@ class ScModule: public SfxModule, public SfxListener, public utl::ConfigurationL
ScDragData* mpDragData;
ScSelectionTransferObj* pSelTransfer;
ScMessagePool* pMessagePool;
// there is no global InputHandler anymore, each View has it's own
// there is no global InputHandler anymore, each View has its own
ScInputHandler* pRefInputHandler;
ScViewCfg* pViewCfg;
ScDocCfg* pDocCfg;

View File

@ -96,7 +96,7 @@ namespace sfx2
single filters.</p>
<p>Ehm - it was a lie. Not really at the top. Before this group, there is this single "All files" entry. It forms
it's own group. But this is uninteresting here.</p>
its own group. But this is uninteresting here.</p>
<p>Local classes must consist of filters which - without the classification - would all belong to the same group.
Then, they're combined to one entry (in the example above: "Microsoft Word 6.0 / 95"), and this entry is inserted

View File

@ -476,11 +476,11 @@ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell )
pPrinter->Push( PushFlags::MAPMODE );
if ( SfxObjectCreateMode::EMBEDDED == rDocShell.GetCreateMode() )
{
// if it is an embedded object (without it's own printer)
// if it is an embedded object (without its own printer)
// we change the MapMode temporarily.
//!If it is a document with its own printer the MapMode should
//!be set correct (once) elsewhere(!), in order to avoid numerous
//!superfluous pushing and poping of the MapMode when using
//!superfluous pushing and popping of the MapMode when using
//!this class.
const MapUnit eOld = pPrinter->GetMapMode().GetMapUnit();
@ -501,11 +501,11 @@ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell )
pRefDev->Push( PushFlags::MAPMODE );
if ( SfxObjectCreateMode::EMBEDDED == rDocShell.GetCreateMode() )
{
// if it is an embedded object (without it's own printer)
// if it is an embedded object (without its own printer)
// we change the MapMode temporarily.
//!If it is a document with its own printer the MapMode should
//!be set correct (once) elsewhere(!), in order to avoid numerous
//!superfluous pushing and poping of the MapMode when using
//!superfluous pushing and popping of the MapMode when using
//!this class.
const MapUnit eOld = pRefDev->GetMapMode().GetMapUnit();

View File

@ -2069,7 +2069,7 @@ void SmTextNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell, i
if (IsBold( GetFont() ))
Attributes() |= FontAttribute::Bold;
// special handling for ':' where it is a token on it's own and is likely
// special handling for ':' where it is a token on its own and is likely
// to be used for mathematical notations. (E.g. a:b = 2:3)
// In that case it should not be displayed in italic.
if (GetToken().aText.getLength() == 1 && GetToken().aText[0] == ':')

View File

@ -781,7 +781,7 @@ namespace svxform
// conditions to disallow the drop
// 0) the root entry is part of the list (can't DnD the root!)
// 1) one of the draged entries is to be dropped onto it's own parent
// 1) one of the draged entries is to be dropped onto its own parent
// 2) - " - is to be dropped onto itself
// 3) - " - is a Form and to be dropped onto one of its descendants
// 4) one of the entries is a control and to be dropped onto the root

View File

@ -532,7 +532,7 @@ void SwTextFormatter::BuildPortions( SwTextFormatInfo &rInf )
if( pPor->IsDropPortion() )
MergeCharacterBorder(*static_cast<SwDropPortion*>(pPor));
// the multi-portion has it's own format function
// the multi-portion has its own format function
if( pPor->IsMultiPortion() && ( !pMulti || pMulti->IsBidi() ) )
bFull = BuildMultiPortion( rInf, *static_cast<SwMultiPortion*>(pPor) );
else

View File

@ -33,7 +33,7 @@ class SwPageDesc;
// This header looks harmless, but includes still quite
// inconspicuous one or the other! On the other hand this class
// is rarely needed. Therefore it's own header.
// is rarely needed. Therefore its own header.
class SwCSS1Parser : public SvxCSS1Parser
{

View File

@ -102,7 +102,7 @@ SwMailMergeLayoutPage::SwMailMergeLayoutPage( SwMailMergeWizard* _pParent) :
SwDocShell::Factory().GetFilterContainer() );
//save the current document into a temporary file
{
//temp file needs it's own block
//temp file needs its own block
//creating with extension is not supported by a static method :-(
OUString const sExt(
comphelper::string::stripStart(pSfxFlt->GetDefaultExtension(),'*'));

View File

@ -27,7 +27,7 @@ void FunctionDescription::testFunctionDescriptionProperties()
uno::Sequence<beans::PropertyValue> aFunctionDescription(init());
std::vector<OUString> names;
// Only test the the get/read operation of the values, because set/write operation doesn't
// Only test the get/read operation of the values, because set/write operation doesn't
// make any sense. It doesn't trigger any changes.
// See discussion: nabble.documentfoundation.org/Testing-UNO-API-service-properties-td4236286.html.
for (auto& value : aFunctionDescription)

View File

@ -30,7 +30,7 @@ void SheetSortDescriptor2::testSheetSortDescriptor2Properties()
uno::Sequence<beans::PropertyValue> values = xSortable->createSortDescriptor();
std::vector<OUString> names;
// Only test the the get/read operation of the values, because set/write operation doesn't
// Only test the get/read operation of the values, because set/write operation doesn't
// make any sense. It doesn't trigger any changes.
// See discussion: nabble.documentfoundation.org/Testing-UNO-API-service-properties-td4236286.html.
for (auto& value : values)

View File

@ -361,7 +361,7 @@
if (!m_bCloneable)
return Reference< XCloneable >();
// let the aggregate create it's own clone
// let the aggregate create its own clone
// the interface
Reference< XCloneable > xCloneAccess;
m_xAggregate->queryAggregation(cppu::UnoType<decltype(xCloneAccess)>::get()) >>= xCloneAccess;

View File

@ -464,7 +464,7 @@ bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, MouseNotifyEvent
{
pMouseDownWin->ImplGetFrameData()->mbStartDragCalled = true;
// Check if drag source provides it's own recognizer
// Check if drag source provides its own recognizer
if( pMouseDownWin->ImplGetFrameData()->mbInternalDragGestureRecognizer )
{
// query DropTarget from child window

View File

@ -263,7 +263,7 @@ void ScreenSaverInhibitor::inhibitMSM( bool bInhibit, const char* appname, const
/**
* Disable screensavers using the XSetScreenSaver/XGetScreenSaver API.
*
* Worth noting: xscreensaver explicitly ignores this and does it's own
* Worth noting: xscreensaver explicitly ignores this and does its own
* timeout handling.
*/
void ScreenSaverInhibitor::inhibitXScreenSaver( bool bInhibit, Display* pDisplay )

View File

@ -43,7 +43,7 @@ protected:
oslProcess m_process;
oslFileHandle m_inputWrite;
oslFileHandle m_outputRead;
// simple multiplexing: every command gets it's own ID that can be used to
// simple multiplexing: every command gets its own ID that can be used to
// read the corresponding response
uint64_t m_msgId = 1;
std::mutex m_mutex;

View File

@ -57,7 +57,7 @@
using namespace vcl;
// GetGlyphOutlineW() seems to be a little slow, and doesn't seem to do it's own caching (tested on Windows10).
// GetGlyphOutlineW() seems to be a little slow, and doesn't seem to do its own caching (tested on Windows10).
// TODO include the font as part of the cache key, then we won't need to clear it on font change
// The cache limit is set by the rough number of characters needed to read your average Asian newspaper.
static o3tl::lru_map<sal_GlyphId, tools::Rectangle> g_BoundRectCache(3000);

View File

@ -141,7 +141,7 @@ namespace xmloff
protected:
/** can be used to handle properties where the attribute default and the property default differ.
<p>In such case, if the property had the attribute default upon writing, nothing is read, so upon reading,
the property is still at it's own default (which is not the attribute default).<p/>
the property is still at its own default (which is not the attribute default).<p/>
<p>This method, if told the attribute and the property, and the (implied) attribute default, sets the
property value as if the attribute was encountered.</p>
@see encounteredAttribute

View File

@ -223,7 +223,7 @@ bool PDFSigningTest::sign(const OUString& rInURL, const OUString& rOutURL,
if (bSignSuccessful)
verify(rOutURL, nOriginalSignatureCount + 1, /*rExpectedSubFilter=*/OString());
// May return false if NSS failed to parse it's own profile or Windows has no valid certificates installed.
// May return false if NSS failed to parse its own profile or Windows has no valid certificates installed.
return bSignSuccessful;
}