Kaydet (Commit) e44c188a authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Tamás Zolnai

Fix typos

Change-Id: I879a52820d78d9151ef64dd21612379f617f66e2
Reviewed-on: https://gerrit.libreoffice.org/42726Reviewed-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
üst e1b9b8c9
......@@ -186,7 +186,7 @@ TitleWrapper::TitleWrapper( ::chart::TitleHelper::eTitleType eTitleType,
m_eTitleType(eTitleType)
{
ControllerLockGuardUNO aCtrlLockGuard( Reference< frame::XModel >( m_spChart2ModelContact->getChart2Document(), uno::UNO_QUERY ));
if( !getTitleObject().is() ) //#i83831# create an empty title at the model, thus references to properties can be mapped mapped correctly
if( !getTitleObject().is() ) //#i83831# create an empty title at the model, thus references to properties can be mapped correctly
TitleHelper::createTitle( m_eTitleType, OUString(), m_spChart2ModelContact->getChartModel(), m_spChart2ModelContact->m_xContext );
}
......
......@@ -31,7 +31,7 @@
namespace chart
{
/** A guard which which does nothing, unless you explicitly call commitAction. In particular, in its destructor, it
/** A guard which does nothing, unless you explicitly call commitAction. In particular, in its destructor, it
does neither auto-commit nor auto-rollback the model changes.
*/
class UndoGuard
......
......@@ -65,7 +65,7 @@ public class ClimakerTestCase extends ComplexTestCase
}
/* This reads reads from an InputStream and discards the data.
/* This read from an InputStream and discards the data.
*/
class Reader extends Thread
{
......
......@@ -401,7 +401,7 @@ void SAL_CALL ImplEventAttacherManager::registerScriptEvent
aEvt.ListenerType = aEvt.ListenerType.copy(nLastDot+1);
aIt->aEventList.push_back( aEvt );
// register new new Event
// register new Event
for( auto& rObj : aIt->aObjList )
{
Reference< XAllListener > xAll =
......
......@@ -21,7 +21,7 @@ operators, which are errorprone, e.g.
However, it finds 556 cases in sw/source alone, thus likely needs some more
restricting, e.g. by checking for multiline conditional operator statements or
a certain length in characters (but that needs the Context/SourceManager, which
I havent played with yet).
I haven't played with yet).
*/
// the value is rather arbitrary, but code above this number of stmts begins to
......
......@@ -21,7 +21,7 @@ operators, which are errorprone, e.g.
However, it finds 556 cases in sw/source alone, thus likely needs some more
restricting, e.g. by checking for multiline conditional operator statements or
a certain length in characters (but that needs the Context/SourceManager, which
I havent played with yet).
I haven't played with yet).
*/
// the value is rather arbitrary, but code above this number of stmts begins to
......
......@@ -2089,7 +2089,7 @@ AC_ARG_WITH(compat-oowrappers,
AC_ARG_WITH(os-version,
AS_HELP_STRING([--with-os-version=<OSVERSION>],
[For FreeBSD users, use this option option to override the detected OSVERSION.]),
[For FreeBSD users, use this option to override the detected OSVERSION.]),
,)
AC_ARG_WITH(mingw-cross-compiler,
......
......@@ -159,8 +159,8 @@ namespace connectivity { namespace hsqldb
Reference< XResultSet > xResult( xStatement->executeQuery( aCommand.makeStringAndClear() ), UNO_QUERY_THROW );
if ( !xResult->next() )
{
// hmm. There is no view view the name as we know it. Can only mean some other instance
// dropped this view meanwhile ...
// hmm. There is no view the name as we know it. Can only mean some other instance
// dropped this view meanwhile...
throw DisposedException();
}
......
......@@ -2174,7 +2174,7 @@ IMPL_LINK( SvxExtParagraphTabPage, PageBreakPosHdl_Impl, ListBox&, rListBox, voi
IMPL_LINK( SvxExtParagraphTabPage, PageBreakTypeHdl_Impl, ListBox&, rListBox, void )
{
//column break or break break after
//column break or break after
sal_Int32 nBreakPos = m_pBreakPositionLB->GetSelectedEntryPos();
if ( rListBox.GetSelectedEntryPos() == 1 || 1 == nBreakPos)
{
......
......@@ -304,7 +304,7 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, std::vector<
Reference< XConnection > xCon( m_xConnection, UNO_SET_THROW );
m_xMetaData.set( xCon->getMetaData(), UNO_SET_THROW );
// create a table table filter suitable for the XDatabaseMetaData::getTables call,
// create a table filter suitable for the XDatabaseMetaData::getTables call,
// taking into account both the externally-provided table type filter, and any
// table type restriction which is inherent to the container
Sequence< OUString > aTableTypeFilter;
......
......@@ -476,7 +476,7 @@ OUString MigrationImpl::preXDGConfigDir(const OUString& rConfigDir)
// we would need to weigh results from the current config dir against matches in
// the 'old' config dir etc. ) - currently we just use the returned config dir.
// If XDG_CONFIG_HOME is NOT set;
// assume then we should now using the default $HOME/,config config location for
// assume then we should now using the default $HOME/.config config location for
// our user profiles, however *all* previous libreoffice and openoffice.org
// configurations will be in the 'old' config directory and that's where we need
// to search - we convert the returned config dir to the 'old' dir
......
......@@ -47,7 +47,7 @@ namespace com { namespace sun { namespace star { namespace datatransfer {
// IDropSource::QueryContinueDrag, to actions as are declared in
// css::datatransfer::dnd::DNDConstants ( ACTION_MOVE etc).
// If the grfKeyState indicates the ALt or right mousebutton then the returned
// values combines all possible actions. This is because those key and button are
// values combines all possible actions. This is because those keys and buttons are
// used when the user expect a menu to appear when he drops. The menu then
// contains entries, such as move, copy, link, cancel.
// An odd fact is that the argument grfKeyState in IDropTarget::Drop does not
......
......@@ -833,7 +833,7 @@ css::uno::Reference< css::awt::XWindow > SAL_CALL Frame::getContainerWindow()
@descr We need a parent to support some functionality! e.g. findFrame()
By the way we use the chance to set an internal information about our top state.
So we must not check this information during every isTop() call.
We are top, if our parent is the desktop instance or we havent any parent.
We are top, if our parent is the desktop instance or we haven't any parent.
@seealso getCreator()
@seealso findFrame()
......
......@@ -189,7 +189,7 @@ void SessionListener::StoreSession( bool bAsync )
xDispatch->dispatch(aURL, args);
} catch (const css::uno::Exception& e) {
SAL_WARN("fwk.session",e.Message);
// save failed, but tell manager to go on if we havent yet dispatched the request
// save failed, but tell manager to go on if we haven't yet dispatched the request
// in case of synchronous saving the notification is done by the caller
if ( bAsync && m_rSessionManager.is() )
m_rSessionManager->saveDone(this);
......
......@@ -132,12 +132,12 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
of this collection. (fragmentation!) If collection is full (means there
is no free number) the special value INVALID_NUMBER will be returned.
@note Those method can't be called within a multithreaded environment ..
Because such number wont be "reserved" for the calli of these method
it can happen that two calls returns the same number (reasoned by the fact that first calli
@note Those method can't be called within a multithreaded environment.
Because such number won't be "reserved" for the call of these method
it can happen that two calls returns the same number (reasoned by the fact that first call
doesn't used the returned number already.
So the outside code has to make sure that retrieving and using of those number
So the outside code has to make sure that retrieving and using of those numbers
will be an atomic operation.
@return an unique number or special value INVALID_NUMBER if collection is full.
......
......@@ -91,7 +91,7 @@ $(APP4_JAR) : $(SAMPLE_CLASS_OUT)/$(APP4_NAME).mf $(SAMPLE_CLASS_OUT)/$(APP4_NAM
$(SAMPLE_NAME) : $(APP1_JAR) $(APP2_JAR) $(APP3_JAR) $(APP4_JAR)
@echo --------------------------------------------------------------------------------
@echo The $(APP1_NAME) search the "$(QM)./test$(QM)" directory for documents, convert
@echo them using using the "$(QM)MS Word 97$(QM)" filter and the extension "$(QM).doc$(QM)".
@echo them using the "$(QM)MS Word 97$(QM)" filter and the extension "$(QM).doc$(QM)".
@echo The converted files are store in "$(QM)$(SAMPLE_GEN_OUT)/converted_files$(QM)".
@echo The list of possible filter names can change. Normally an updated list can be found
@echo on "$(QM)http://www.openoffice.org/files/documents/25/111/filter_description.html$(QM)".
......
......@@ -46,7 +46,7 @@ interface XUntitledNumbers : com::sun::star::uno::XInterface
long leaseNumber ( [in] com::sun::star::uno::XInterface xComponent )
raises (com::sun::star::lang::IllegalArgumentException);
/** has to be used to mark those number as "free for using".
/** has to be used to mark those numbers as "free for using".
If the registered component does not use such leased number any longer
it has to be released so it can be used for new components.
......
The schema and default settings for the OpenOffice.org configuration database.
If you change change a file in this module, then a make postprocess is needed after make officecfg.
If you change a file in this module, then a make postprocess is needed after make officecfg.
See also:
[[configmgr]]
......
......@@ -3200,7 +3200,7 @@ uno::Reference< io::XStream > SAL_CALL OStorage::openEncryptedStream(
SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't open encrypted stream stream!",
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't open encrypted stream!",
uno::Reference< io::XInputStream >(),
aCaught );
}
......
......@@ -136,7 +136,7 @@ oslProcessError SAL_CALL osl_terminateProcess(oslProcess Process)
if (bHasExited)
return osl_Process_E_None;
// fallback - given that we we wait for an infinite time on WaitForSingleObject, this should
// fallback - given that we wait for an infinite time on WaitForSingleObject, this should
// never occur... unless CreateRemoteThread failed
SAL_WARN("sal.osl", "TerminateProcess(hProcess, 0) called - we should never get here!");
return (TerminateProcess(hProcess, 0) == FALSE) ? osl_Process_E_Unknown : osl_Process_E_None;
......
......@@ -399,8 +399,8 @@ sub generate_unique_filename_for_filetable
$uniquefilename =~ s/\-/\_/g; # no "-" allowed
$uniquefilename =~ s/\@/\_/g; # no "@" allowed
$uniquefilename =~ s/\$/\_/g; # no "$" allowed
$uniquefilename =~ s/^\s*\./\_/g; # no "." at the beginning allowed allowed
$uniquefilename =~ s/^\s*\d/\_d/g; # no number at the beginning allowed allowed (even file "0.gif", replacing to "_d.gif")
$uniquefilename =~ s/^\s*\./\_/g; # no "." at the beginning allowed
$uniquefilename =~ s/^\s*\d/\_d/g; # no number at the beginning allowed (even file "0.gif", replacing to "_d.gif")
$uniquefilename =~ s/org_openoffice_/ooo_/g; # shorten the unique file name
my $lcuniquefilename = lc($uniquefilename); # only lowercase names
......
......@@ -412,7 +412,7 @@ void SdrMediaObj::mediaPropertiesChanged( const ::avmedia::MediaItem& rNewProper
bool bBroadcastChanged = false;
const AVMediaSetMask nMaskSet = rNewProperties.getMaskSet();
// use only a subset of MediaItem properties for own own properties
// use only a subset of MediaItem properties for own properties
if( AVMediaSetMask::MIME_TYPE & nMaskSet )
m_xImpl->m_MediaProperties.setMimeType( rNewProperties.getMimeType() );
......
......@@ -486,10 +486,10 @@ public:
/// Stop reacting to removed database registrations.
void releaseRevokeListener();
/// Revoke not commited registrations in case of mail merge cancel
/// Revoke not committed registrations in case of mail merge cancel
void RevokeLastRegistrations();
/// Accept not commited registrations
/// Accept not committed registrations
void CommitLastRegistrations();
/// Remove not used connections.
......
......@@ -63,7 +63,7 @@ static void lcl_CallModify( SwGrfNode& rGrfNd, SfxPoolItem& rItem )
//call fist all not SwNoTextFrames, then the SwNoTextFrames.
// The reason is, that in the SwNoTextFrames the Graphic
// after a Paint will be swapped out! So all other "behind"
// them havent't a loaded Graphic.
// them haven't a loaded Graphic.
rGrfNd.LockModify();
{
SwIterator<SwClient,SwGrfNode> aIter(rGrfNd);
......
......@@ -620,7 +620,7 @@ FlyProcessingState SwWW8AttrIter::OutFlys(sal_Int32 nSwPos)
const sal_Int32 nPos = rAnchor.nContent.GetIndex();
if ( nPos != nSwPos )
return FLY_NOT_PROCESSED ; //We havent processed the fly
return FLY_NOT_PROCESSED ; // We haven't processed the fly
const SdrObject* pSdrObj = maFlyIter->GetFrameFormat().FindRealSdrObject();
......
......@@ -2387,8 +2387,8 @@ void WW8TabDesc::CalcDefaults()
/*
If the last cell was "false" then there is no valid cell following it,
so the default mapping forward wont't work. So map it (and
contiguous invalid cells backwards to the last valid cell instead.
so the default mapping forward won't work. So map it (and
contiguous invalid cells backwards to the last valid cell instead.)
*/
if (i && !pR->bExist[i-1])
{
......
......@@ -3013,7 +3013,7 @@ the same sprmCMajority as appears before 0x6f in word 6/95
I think the easiest explanation is that the CJK Word for Window 95, or whatever
the product was went rogue, and did their own things with at least first three
slots after sprmCMajority to do a different thing. I have no reason to think Tono
was wrong with what they do in the a698<->a699 versions versions, but with magic
was wrong with what they do in the a698<->a699 versions, but with magic
a5dc they probably did mean sprmCFBoldBi, sprmCFItalicBi cause they have that 0x81
pattern which has significance for those types of properties.
*/
......
......@@ -34,7 +34,7 @@ using namespace com::sun::star::uno;
// well known under MS Windows
// the MS HTML Format has a header before the real html data
// Version:1.0 Version number of the clipboard. Staring is 0.9
// Version:1.0 Version number of the clipboard. Starting is 0.9
// StartHTML: Byte count from the beginning of the clipboard to the start
// of the context, or -1 if no context
// EndHTML: Byte count from the beginning of the clipboard to the end
......
......@@ -1119,7 +1119,7 @@ Bitmap Bitmap::CreateMask( const Color& rTransColor, sal_uLong nTol ) const
if (!nTol && pReadAcc && (pReadAcc->GetScanlineFormat() == ScanlineFormat::N1BitLsbPal || pReadAcc->GetScanlineFormat() == ScanlineFormat::N1BitMsbPal)
&& pReadAcc->GetBestMatchingColor(Color(COL_WHITE)) == pReadAcc->GetBestMatchingColor(rTransColor))
{
//if we're a 1 bit pixel already, and the transcolor matches the color that would replace it already already, then just return a copy
//if we're a 1 bit pixel already, and the transcolor matches the color that would replace it already, then just return a copy
return *this;
}
......
......@@ -49,7 +49,7 @@ GraphicsStatus::GraphicsStatus() :
}
/*
* non graphics graphics routines
* non graphics routines
*/
void
......
......@@ -518,7 +518,7 @@ public:
#define SET(font,string) { font, reinterpret_cast<const char *>(string) }
SET("sans", "a"), // logical font - no 'sans' font.
SET("opensymbol", "#$%"), // font fallback - $ is missing.
SET("sans", pInvalid), // unicode invalid character character
SET("sans", pInvalid), // unicode invalid character
// tdf#96266 - stacking diacritics
SET("carlito", pDiacritic1),
SET("carlito", pDiacritic2),
......
......@@ -174,7 +174,7 @@ void AccComponentEventListener::SetComponentState(short state, bool enable)
{
pAgent->UpdateState(m_xAccessible.get());
pAgent->DecreaseState(m_xAccessible.get(), AccessibleStateType::DEFUNC);
// 8. label should have no FOCUSABLE state state, Firefox has READONLY state, we can also have.
// 8. label should have no FOCUSABLE state, Firefox has READONLY state, we can also have.
if ( GetRole() != AccessibleRole::LABEL
&& GetRole() != AccessibleRole::SCROLL_BAR)
{
......
......@@ -64,7 +64,7 @@ namespace xmloff { namespace metadata
// TODO: instead of having all of the below static, it should be some per-instance data. This way, the
// approach used here would scale much better.
// That is, if you have multiple "meta data instances", which manage a small, but closed set of properties,
// then looking looking through those multiple instances would probably be faster than searching within
// then looking through those multiple instances would probably be faster than searching within
// one big instance, since in this case, every instance can quickly decide whether it is responsible
// for some attribute or property, and otherwise delegate to the next instance.
......
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