summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-25 00:42:27 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-25 07:07:25 +0200
commit5ccc8124a03cffca3a1848f754524a06a063cb51 (patch)
tree3456a0c42c38a1936680a4266fbb76c4d585025f
parented882d693f37779e3a09641e7cd43b7a925d2312 (diff)
Fix typos
Change-Id: I59a0fd175fa5185c15d093d2d9bed9f95bb4cfd5 Reviewed-on: https://gerrit.libreoffice.org/76280 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
-rw-r--r--extensions/source/ole/unoconversionutilities.hxx2
-rw-r--r--include/unotools/streamwrap.hxx6
-rw-r--r--lotuswordpro/inc/xfilter/xfparastyle.hxx2
-rw-r--r--offapi/com/sun/star/document/TypeDetection.idl2
-rw-r--r--offapi/com/sun/star/form/FormComponentType.idl2
-rw-r--r--offapi/com/sun/star/ui/XImageManager.idl2
-rw-r--r--reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java2
-rw-r--r--reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java6
-rw-r--r--sc/source/core/tool/interpr2.cxx2
-rw-r--r--sc/source/core/tool/interpr3.cxx2
-rw-r--r--sc/source/core/tool/interpr7.cxx2
-rw-r--r--sd/source/ui/inc/tools/AsynchronousTask.hxx2
-rw-r--r--sd/source/ui/unoidl/unocpres.cxx2
-rw-r--r--sw/inc/tox.hxx2
-rw-r--r--sw/source/core/doc/CntntIdxStore.cxx2
-rw-r--r--sw/source/core/view/viewsh.cxx2
-rw-r--r--unotools/source/config/configitem.cxx4
-rw-r--r--xmloff/source/draw/shapeimport.cxx2
-rw-r--r--xmlsecurity/inc/framework/saxeventkeeperimpl.hxx2
19 files changed, 24 insertions, 24 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index c75428c87caa..8948de229205 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -1821,7 +1821,7 @@ Reference<XInterface> UnoConversionUtilities<T>::createAdapter(const Sequence<Ty
Reference< XInterface> xIntAdapterFac;
xIntAdapterFac= m_smgr->createInstance(INTERFACE_ADAPTER_FACTORY);
// We create an adapter object that does not only implement the required type but also
- // all types that the COM object pretends to implement. An COM object must therefore
+ // all types that the COM object pretends to implement. A COM object must therefore
// support the property "_implementedInterfaces".
Reference<XInterface> xIntAdapted;
Reference<XInvocation> xInv(receiver, UNO_QUERY);
diff --git a/include/unotools/streamwrap.hxx b/include/unotools/streamwrap.hxx
index 299b6dfd081f..bb34dd7af7e6 100644
--- a/include/unotools/streamwrap.hxx
+++ b/include/unotools/streamwrap.hxx
@@ -39,7 +39,7 @@ namespace utl
// workaround for incremental linking bugs in MSVC2015
class SAL_DLLPUBLIC_TEMPLATE OInputStreamWrapper_Base : public cppu::WeakImplHelper< css::io::XInputStream > {};
-/// helper class for wrapping an SvStream into an com.sun.star.io::XInputStream
+/// helper class for wrapping an SvStream into a com.sun.star.io::XInputStream
class UNOTOOLS_DLLPUBLIC OInputStreamWrapper : public OInputStreamWrapper_Base
{
protected:
@@ -73,7 +73,7 @@ protected:
//= OSeekableInputStreamWrapper
-/** helper class for wrapping an SvStream into an com.sun.star.io::XInputStream
+/** helper class for wrapping an SvStream into a com.sun.star.io::XInputStream
which is seekable (i.e. supports the com.sun.star.io::XSeekable interface).
*/
class UNOTOOLS_DLLPUBLIC OSeekableInputStreamWrapper
@@ -119,7 +119,7 @@ protected:
typedef ::cppu::ImplHelper1 < css::io::XSeekable
> OSeekableOutputStreamWrapper_Base;
-/** helper class for wrapping an SvStream into an com.sun.star.io::XOutputStream
+/** helper class for wrapping an SvStream into a com.sun.star.io::XOutputStream
which is seekable (i.e. supports the com.sun.star.io::XSeekable interface).
*/
class UNOTOOLS_DLLPUBLIC OSeekableOutputStreamWrapper
diff --git a/lotuswordpro/inc/xfilter/xfparastyle.hxx b/lotuswordpro/inc/xfilter/xfparastyle.hxx
index 7c066d61c513..8b947a9ea8be 100644
--- a/lotuswordpro/inc/xfilter/xfparastyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfparastyle.hxx
@@ -104,7 +104,7 @@ public:
public:
/**
* @descr Set layout for the paragraph. When such property was set, this paragraph will
- * start at an new page.
+ * start at a new page.
*/
void SetMasterPage(const OUString& master);
diff --git a/offapi/com/sun/star/document/TypeDetection.idl b/offapi/com/sun/star/document/TypeDetection.idl
index e5f1d94f1612..57e446bc3ccd 100644
--- a/offapi/com/sun/star/document/TypeDetection.idl
+++ b/offapi/com/sun/star/document/TypeDetection.idl
@@ -106,7 +106,7 @@ published service TypeDetection
<td><em>URLPattern</em></td>
<td>[sequence< string >]</td>
<td>This list contains different URL patterns, which identify this type.
- E.g. data base contents can be described by an new defined protocol like "sql://select*".
+ E.g. data base contents can be described by a new defined protocol like "sql://select*".
In combination with a suitable com::sun::star::frame::FrameLoader or
ImportFilter/ExportFilter it would be possible then, to
layout a SQL query output into an office frame.</td>
diff --git a/offapi/com/sun/star/form/FormComponentType.idl b/offapi/com/sun/star/form/FormComponentType.idl
index 3da73576b949..cc5b361f87e8 100644
--- a/offapi/com/sun/star/form/FormComponentType.idl
+++ b/offapi/com/sun/star/form/FormComponentType.idl
@@ -76,7 +76,7 @@ published constants FormComponentType
*/
const short GRIDCONTROL = 11;
- /** specifies an control which can be used to enter text, extended by an (user-startable) file dialog
+ /** specifies a control which can be used to enter text, extended by an (user-startable) file dialog
to browse for files.
*/
const short FILECONTROL = 12;
diff --git a/offapi/com/sun/star/ui/XImageManager.idl b/offapi/com/sun/star/ui/XImageManager.idl
index 6a99b9936ee2..6f2725a6d5f6 100644
--- a/offapi/com/sun/star/ui/XImageManager.idl
+++ b/offapi/com/sun/star/ui/XImageManager.idl
@@ -141,7 +141,7 @@ interface XImageManager
specifies the image type for this association operation.
@param aCommandURLSequence
- a sequence of command URLs which specify which commands get an new image.
+ a sequence of command URLs which specify which commands get a new image.
@param aGraphicSequence
a sequence of graphic objects which should be associated with the provided
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java
index 90647e45bf95..eee9ad5531bd 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java
@@ -30,7 +30,7 @@ import org.jfree.report.structure.Element;
* style, from which properties are inherited.</p>
*
* <p>Style names are unique within the family, no matter whether the style is an
- * automatic style, an common style or a master style.</p>
+ * automatic style, a common style or a master style.</p>
*
* <p>The contents of this element are the union of the 'styles.xml' file (if it
* exists), the font-declarations and auto-styles of the document-content.xml
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java
index db8fe0fd18d0..b1f1a46f6bd0 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java
@@ -373,7 +373,7 @@ public class StyleUtilities
stylesCollection.getCommonStyles().getStyle(styleFamily, styleName);
if (currentCommon != null)
{
- // handle an common style ..
+ // handle a common style ..
final OfficeStyle derivedStyle =
deriveCommonStyle(currentCommon, styleFamily, styleName,
generator, commonCollection, predefCollection);
@@ -385,7 +385,7 @@ public class StyleUtilities
commonCollection.getCommonStyles().getStyle(styleFamily, styleName);
if (commonCommon != null)
{
- // handle an common style ..
+ // handle a common style ..
final OfficeStyle derivedStyle =
deriveCommonStyle(commonCommon, styleFamily, styleName,
generator, commonCollection, predefCollection);
@@ -410,7 +410,7 @@ public class StyleUtilities
predefCollection.getCommonStyles().getStyle(styleFamily, styleName);
if (predefCommon != null)
{
- // handle an common style ..
+ // handle a common style ..
final OfficeStyle derivedStyle =
deriveCommonStyle(predefCommon, styleFamily, styleName,
generator, commonCollection, predefCollection);
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index b8e4baef418f..f9202d2f7014 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -2811,7 +2811,7 @@ void ScInterpreter::ScDde()
pMyFormulaCell->StartListening( *pLink );
}
- // If an new Error from Reschedule appears when the link is executed then reset the errorflag
+ // If a new Error from Reschedule appears when the link is executed then reset the errorflag
if ( pMyFormulaCell && pMyFormulaCell->GetRawError() != FormulaError::NONE && !bWasError )
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index 85eb4b7167a4..6311ab3b8342 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -5207,7 +5207,7 @@ void ScComplexBluesteinFFT::Compute()
// Computes DFT of an even length(N) real-valued input by using a
// ScComplexFFT2 if N == 2^k for some k or else by using a ScComplexBluesteinFFT
-// with an complex valued input of length = N/2.
+// with a complex valued input of length = N/2.
class ScRealFFT
{
public:
diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
index 43439f5d0525..e9548c0594d7 100644
--- a/sc/source/core/tool/interpr7.cxx
+++ b/sc/source/core/tool/interpr7.cxx
@@ -354,7 +354,7 @@ void ScInterpreter::ScWebservice()
pMyFormulaCell->StartListening(*pLink);
}
- // If an new Error from Reschedule appears when the link is executed then reset the errorflag
+ // If a new Error from Reschedule appears when the link is executed then reset the errorflag
if (pMyFormulaCell && pMyFormulaCell->GetRawError() != FormulaError::NONE && !bWasError)
pMyFormulaCell->SetErrCode(FormulaError::NONE);
diff --git a/sd/source/ui/inc/tools/AsynchronousTask.hxx b/sd/source/ui/inc/tools/AsynchronousTask.hxx
index dae3210e57bd..897f2cdecd63 100644
--- a/sd/source/ui/inc/tools/AsynchronousTask.hxx
+++ b/sd/source/ui/inc/tools/AsynchronousTask.hxx
@@ -23,7 +23,7 @@
namespace sd { namespace tools {
/** Interface for the asynchronous execution of a task. This interface
- allows an controller to run the task either timer based with a fixed
+ allows a controller to run the task either timer based with a fixed
amount of time between the steps or thread based one step right after
the other.
*/
diff --git a/sd/source/ui/unoidl/unocpres.cxx b/sd/source/ui/unoidl/unocpres.cxx
index 49354ae6b097..057b22126872 100644
--- a/sd/source/ui/unoidl/unocpres.cxx
+++ b/sd/source/ui/unoidl/unocpres.cxx
@@ -315,7 +315,7 @@ void SAL_CALL SdXCustomPresentationAccess::insertByName( const OUString& aName,
if( nullptr == pList)
throw uno::RuntimeException();
- // do we have an container::XIndexContainer?
+ // do we have a container::XIndexContainer?
SdXCustomPresentation* pXShow = nullptr;
uno::Reference< container::XIndexContainer > xContainer;
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx
index 75bf9d6e189c..d023cf1961f0 100644
--- a/sw/inc/tox.hxx
+++ b/sw/inc/tox.hxx
@@ -431,7 +431,7 @@ public:
virtual bool GetInfo( SfxPoolItem& rInfo ) const override;
// a kind of CopyCtor - check if the TOXBase is at TOXType of the doc.
- // If not, so create it an copy all other used things.
+ // If not, so create it and copy all other used things.
void CopyTOXBase( SwDoc*, const SwTOXBase& );
const SwTOXType* GetTOXType() const;
diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx
index 6492f1d00133..240b14e2d56a 100644
--- a/sw/source/core/doc/CntntIdxStore.cxx
+++ b/sw/source/core/doc/CntntIdxStore.cxx
@@ -48,7 +48,7 @@ using namespace ::sw::mark;
namespace
{
// #i59534: If a paragraph will be splitted we have to restore some redline positions
- // This help function checks a position compared with a node and an content index
+ // This help function checks a position compared with a node and a content index
static const int BEFORE_NODE = 0; // Position before the given node index
static const int BEFORE_SAME_NODE = 1; // Same node index but content index before given content index
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 23978cdac54a..cee313b37ddc 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -2023,7 +2023,7 @@ void SwViewShell::InvalidateLayout( bool bSizeChanged )
OSL_ENSURE( GetLayout(), "Layout not ready" );
// When the Layout doesn't have a height yet, nothing is formatted.
- // That leads to problems with Invalidate, e.g. when setting up an new View
+ // That leads to problems with Invalidate, e.g. when setting up a new View
// the content is inserted and formatted (regardless of empty VisArea).
// Therefore the pages must be roused for formatting.
if( !GetLayout()->getFrameArea().Height() )
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 29097d32fd56..13928a4891fe 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -178,7 +178,7 @@ void ConfigItem::impl_packLocalizedProperties( const Sequence< OUString >&
sal_Int32 nPropertyCounter; // counter of inner loop for Sequence< PropertyValue >
sal_Int32 nPropertiesSize; // marks end of inner loop
Sequence< OUString > lPropertyNames; // list of all locales for localized entry
- Sequence< PropertyValue > lProperties; // localized values of an configuration entry packed for return
+ Sequence< PropertyValue > lProperties; // localized values of a configuration entry packed for return
Reference< XInterface > xLocalizedNode; // if cfg entry is localized ... lInValues contains an XInterface!
// Optimise follow algorithm ... A LITTLE BIT :-)
@@ -244,7 +244,7 @@ void ConfigItem::impl_unpackLocalizedProperties( const Sequence< OUString >
sal_Int32 nDestinationCounter; // actual position in output lists
sal_Int32 nPropertiesSize; // marks end of inner loop
OUString sNodeName; // base name of node ( e.g. "UIName/" ) ... expand to locale ( e.g. "UIName/de" )
- Sequence< PropertyValue > lProperties; // localized values of an configuration entry gotten from lInValues-Any
+ Sequence< PropertyValue > lProperties; // localized values of a configuration entry gotten from lInValues-Any
// Optimise follow algorithm ... A LITTLE BIT :-)
// There exist two different possibilities:
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index ef688690005f..bc7851676f6a 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -932,7 +932,7 @@ void XMLShapeImportHelper::restoreConnections()
aLine3Delta = xConnector->getPropertyValue(aStr3);
// #86637# simply setting these values WILL force the connector to do
- // an new layout promptly. So the line delta values have to be rescued
+ // a new layout promptly. So the line delta values have to be rescued
// and restored around connector changes.
uno::Reference< drawing::XShape > xShape(
mrImporter.getInterfaceToIdentifierMapper().getReference( rHint.aDestShapeId ), uno::UNO_QUERY );
diff --git a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
index 811c620423fe..024c0bff4c74 100644
--- a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
+++ b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
@@ -107,7 +107,7 @@ private:
/*
* the next Id for a coming ElementMark.
- * the variable is increased by 1 when an new ElementMark is generated,
+ * the variable is increased by 1 when a new ElementMark is generated,
* in this way, we can promise the Id of any ElementMark is unique.
*/
sal_Int32 m_nNextElementMarkId;