This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 8f79cfd Fixed typos (acces -> access) and some more
8f79cfd is described below
commit 8f79cfd82591ed6c26bea7156c3a96cde903fa3c
Author: mseidel <[email protected]>
AuthorDate: Sun Oct 11 17:33:40 2020 +0200
Fixed typos (acces -> access) and some more
---
main/avmedia/source/framework/soundhandler.cxx | 38 ++++++-------
main/cppuhelper/inc/cppuhelper/propshlp.hxx | 50 ++++++++---------
main/framework/inc/services/frameloaderfactory.hxx | 2 +-
main/framework/source/services/desktop.cxx | 2 +-
main/framework/source/services/frame.cxx | 2 +-
.../com/sun/star/chart2/DataPointProperties.idl | 2 +-
.../com/sun/star/chart2/data/DataSequence.idl | 4 +-
.../com/sun/star/chart2/data/XDataSequence.idl | 2 +-
.../sun/star/chart2/data/XLabeledDataSequence.idl | 2 +-
.../star/chart2/data/XNumericalDataSequence.idl | 2 +-
.../sun/star/chart2/data/XTextualDataSequence.idl | 2 +-
main/offapi/com/sun/star/frame/XModel.idl | 2 +-
main/offapi/com/sun/star/text/GlobalSettings.idl | 2 +-
main/svtools/source/config/menuoptions.cxx | 4 +-
main/svx/inc/svx/sdr/overlay/overlayobject.hxx | 2 +-
main/svx/source/fmcomp/gridctrl.cxx | 2 +-
main/svx/source/xoutdev/xattr.cxx | 2 +-
main/sw/source/core/bastyp/swcache.cxx | 2 +-
main/sw/source/ui/app/docsh2.cxx | 64 +++++++++++-----------
main/sw/source/ui/uiview/view2.cxx | 4 +-
main/unotools/source/config/fontoptions.cxx | 4 +-
main/unotools/source/config/internaloptions.cxx | 4 +-
.../unotools/source/config/localisationoptions.cxx | 4 +-
main/unotools/source/config/workingsetoptions.cxx | 4 +-
24 files changed, 103 insertions(+), 105 deletions(-)
diff --git a/main/avmedia/source/framework/soundhandler.cxx
b/main/avmedia/source/framework/soundhandler.cxx
index b9f2d45..3227240 100644
--- a/main/avmedia/source/framework/soundhandler.cxx
+++ b/main/avmedia/source/framework/soundhandler.cxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -84,9 +84,9 @@ void SAL_CALL SoundHandler::release() throw()
css::uno::Any SAL_CALL SoundHandler::queryInterface( const css::uno::Type&
aType ) throw( css::uno::RuntimeException )
{
- /* Attention: Don't use mutex or guard in this method!!! Is a method of
XInterface. */
+ /* Attention: Don't use mutex or guard in this method!!! It's a method
of XInterface. */
/* Ask for my own supported interfaces ...*/
- css::uno::Any aReturn( ::cppu::queryInterface( aType,
+ css::uno::Any aReturn( ::cppu::queryInterface( aType,
static_cast< css::lang::XTypeProvider* >(this),
static_cast< css::lang::XServiceInfo* >(this),
static_cast< css::frame::XNotifyingDispatch* >(this),
@@ -112,7 +112,7 @@ css::uno::Sequence< sal_Int8 > SAL_CALL
SoundHandler::getImplementationId() thro
static ::cppu::OImplementationId* pID = NULL ;
if ( pID == NULL )
{
- /* Ready for multithreading; get global mutex for first call of this
method only! see before */
+ /* Ready for multithreading; get global mutex for first call of this
method only! see before */
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
/* Control these pointer again ... it can be, that another instance
will be faster then these! */
if ( pID == NULL )
@@ -127,7 +127,7 @@ css::uno::Sequence< sal_Int8 > SAL_CALL
SoundHandler::getImplementationId() thro
}
css::uno::Sequence< css::uno::Type > SAL_CALL SoundHandler::getTypes() throw(
css::uno::RuntimeException )
-{
+{
/* Optimize this method ! */
/* We initialize a static variable only one time. */
/* And we don't must use a mutex at every call! */
@@ -136,12 +136,12 @@ css::uno::Sequence< css::uno::Type > SAL_CALL
SoundHandler::getTypes() throw( cs
static ::cppu::OTypeCollection* pTypeCollection = NULL ;
if ( pTypeCollection == NULL )
{
- /* Ready for multithreading; get global mutex for first call of this
method only! see before */
+ /* Ready for multithreading; get global mutex for first call of this
method only! see before */
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
/* Control these pointer again ... it can be, that another instance
will be faster then these! */
if ( pTypeCollection == NULL )
{
- /* Create a static typecollection ... */
+ /* Create a static typecollection ... */
static ::cppu::OTypeCollection aTypeCollection
(
::getCppuType(( const ::com::sun::star::uno::Reference<
css::lang::XTypeProvider >*)NULL ),
@@ -181,15 +181,15 @@ sal_Bool SAL_CALL SoundHandler::supportsService( const
::rtl::OUString& sService
/* Get names of all supported servicenames. */
css::uno::Sequence< ::rtl::OUString > seqServiceNames =
getSupportedServiceNames();
const ::rtl::OUString* pArray =
seqServiceNames.getConstArray();
- sal_Int32 nCounter = 0;
- sal_Int32 nLength =
seqServiceNames.getLength();
+ sal_Int32 nCounter = 0;
+ sal_Int32 nLength =
seqServiceNames.getLength();
/* Search for right name in list. */
while (
( nCounter < nLength ) &&
( bReturn == sal_False )
)
{
- /* Is name was found, say "YES, SERVICE IS SUPPORTED." and break loop.
*/
+ /* If name was found, say "YES, SERVICE IS SUPPORTED." and break loop.
*/
if ( pArray[nCounter] == sServiceName )
{
bReturn = sal_True ;
@@ -310,7 +310,7 @@ SoundHandler::~SoundHandler()
Playing of sound is asynchron every time.
@attention We must hold us alive by ourself ... because we use async. vcl
sound player ... but playing is started
- in async interface call "dispatch()" too. And caller forget us
imediatly. But then our uno ref count
+ in async interface call "dispatch()" too. And caller forget us
immediately. But then our uno ref count
will decreased to 0 and will die. The only solution is to use
own reference to our implementation.
But we do it for really started jobs only and release it
during call back of vcl.
@@ -331,7 +331,7 @@ void SAL_CALL SoundHandler::dispatchWithNotification(const
css::util::URL&
// SAFE {
const ::vos::OGuard aLock( m_aLock );
- {
+ {
//close streams otherwise on windows we can't reopen the file in the
//media player when we pass the url to directx as it'll already be open
::comphelper::MediaDescriptor aDescriptor(lDescriptor);
@@ -395,7 +395,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
This way is easy - we don't must synchronize it with
currently played sounds!
Another reason to do so ... We are a listener on our
internal ma_Player object.
If you would call "IsSoundFile()" on this instance, he
would call us back and
- we make some unneccssary things ...
+ we make some unnecessary things ...
@seealso -
@@ -407,7 +407,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
*//*-*************************************************************************************************************/
::rtl::OUString SAL_CALL SoundHandler::detect( css::uno::Sequence<
css::beans::PropertyValue >& lDescriptor ) throw( css::uno::RuntimeException )
{
- // Our default is "nothing". So we can return it, if detection failed or
fily type is really unknown.
+ // Our default is "nothing". So we can return it, if detection failed or
file type is really unknown.
::rtl::OUString sTypeName;
// Analyze given descriptor to find filename or input stream or ...
@@ -500,12 +500,12 @@ extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL
component_getImplementationEnviron
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const
sal_Char* pImplementationName, void* pServiceManager, void* /*pRegistryKey*/ )
{
void* pReturn = NULL;
- if (pServiceManager != NULL )
+ if (pServiceManager != NULL )
{
/* Define variables which are used in following macros. */
css::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory >
xFactory;
css::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >
xServiceManager;
- xServiceManager = reinterpret_cast<
::com::sun::star::lang::XMultiServiceFactory* >( pServiceManager ) ;
+ xServiceManager = reinterpret_cast<
::com::sun::star::lang::XMultiServiceFactory* >( pServiceManager ) ;
if ( avmedia::SoundHandler::impl_getStaticImplementationName().equals(
::rtl::OUString::createFromAscii( pImplementationName ) ) )
xFactory = avmedia::SoundHandler::impl_createFactory(
xServiceManager );
diff --git a/main/cppuhelper/inc/cppuhelper/propshlp.hxx
b/main/cppuhelper/inc/cppuhelper/propshlp.hxx
index b778b25..c96d4bb 100644
--- a/main/cppuhelper/inc/cppuhelper/propshlp.hxx
+++ b/main/cppuhelper/inc/cppuhelper/propshlp.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -61,7 +61,7 @@ public:
{}
/**
- Following the rule, the first virtual method impies the virtual
destructor.
+ Following the rule, the first virtual method implies the virtual
destructor.
*/
virtual ~IPropertyArrayHelper();
@@ -69,7 +69,7 @@ public:
Return the property members Name and Attribute from the handle
nHandle.
@param nHandle the handle of a property. If the values of the
handles
are sorted in the same way as
the names and the highest handle value
- is getCount() -1, than it must
be an indexed acces to the property array.
+ is getCount() -1, than it must
be an indexed access to the property array.
@param pPropName is an out parameter filled with property name of
the property with the
handle nHandle. May be
NULL.
@param rAttributes is an out parameter filled with attributes of the
property with the
@@ -119,7 +119,7 @@ class CPPUHELPER_DLLPUBLIC OPropertyArrayHelper : public
IPropertyArrayHelper
public:
/**
Create an object which supports the common property interfaces.
-
+
@param pProps array of properties
The array pProps should be
sorted.
@param nElements is the number of properties in the pProps
structure.
@@ -147,10 +147,10 @@ public:
*/
sal_Int32 SAL_CALL getCount() const SAL_THROW( () );
/**
- Return the property members Name and Attribute from the handle
nHandle.
+ Return the property members Name and Attribute from the handle
nHandle.
@param nHandle the handle of a property. If the values of the
handles
are sorted in the same way as
the names and the highest handle value
- is getCount() -1, than it is
only an indexed acces to the property array.
+ is getCount() -1, than it is
only an indexed access to the property array.
Otherwise it is a linear search
through the array.
@param pPropName is an out parameter filled with property name of
the property with the
handle nHandle. May be
NULL.
@@ -199,7 +199,7 @@ protected:
private:
void init( sal_Bool bSorted ) SAL_THROW( () );
- /** The sequence generstet from the pProperties array. */
+ /** The sequence generated from the pProperties array. */
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >
aInfos;
/**
@@ -242,7 +242,7 @@ public:
/**
Create a container of interface containers.
-
+
@param rMutex the mutex to protect multi thread access.
The lifetime must be longer
than the lifetime
of this object.
@@ -272,7 +272,7 @@ public:
the same pointer more than once.
@return the new count of elements in the container.
*/
- sal_Int32 SAL_CALL addInterface(
+ sal_Int32 SAL_CALL addInterface(
const sal_Int32 & rKey,
const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > & r )
SAL_THROW( () );
@@ -284,7 +284,7 @@ public:
@param rxIFace the removed interface.
@return the new count of elements in the container.
*/
- sal_Int32 SAL_CALL removeInterface(
+ sal_Int32 SAL_CALL removeInterface(
const sal_Int32 & rKey,
const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > & rxIFace )
SAL_THROW( () );
@@ -342,7 +342,7 @@ public:
The XPropertyChangeListener and XVetoableChangeListener with no names are
inserted
in the rBHelper.aLC structure. So it is possible to advise property
listeners with
the connection point interfaces. But only listeners that listen to all
property changes.
-
+
*/
class CPPUHELPER_DLLPUBLIC OPropertySetHelper : public
::com::sun::star::beans::XMultiPropertySet,
public
::com::sun::star::beans::XFastPropertySet,
@@ -358,13 +358,13 @@ public:
OPropertySetHelper( OBroadcastHelper & rBHelper ) SAL_THROW( () );
/** Constructor.
-
+
@param rBHelper
this structure contains the basic members of
a broadcaster.
The lifetime must be longer
than the lifetime
of this object. Stored in the
variable rBHelper.
-
+
@param bIgnoreRuntimeExceptionsWhileFiring
indicates whether occurring RuntimeExceptions will be
ignored when firing notifications (vetoableChange((),
@@ -378,13 +378,13 @@ public:
OBroadcastHelper & rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring
);
/** Constructor.
-
+
@param rBHelper
this structure contains the basic members of
a broadcaster.
The lifetime must be longer than the lifetime
of this object. Stored in the variable rBHelper.
-
+
@param i_pFireEvents
additional event notifier
@@ -417,7 +417,7 @@ public:
/**
Send a disposing notification to the listeners in the conatiners
aBoundLC
and aVetoableLC.
-
+
@see OComponentHelper
*/
void SAL_CALL disposing() SAL_THROW( () );
@@ -435,7 +435,7 @@ public:
*/
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(const
::rtl::OUString& aPropertyName)
throw(::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException);
- /** Ignored if the property is not bound. */
+ /** Ignored if the property is not bound. */
virtual void SAL_CALL addPropertyChangeListener(
const ::rtl::OUString& aPropertyName,
const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertyChangeListener >& aListener)
@@ -548,10 +548,10 @@ protected:
old value in rOldValue. A IllegalArgumentException is thrown.
The method is not implemented in this class. After this call the
vetoable
listeners are notified.
-
+
@param rConvertedValue the converted value. Only set if return is
true.
@param rOldValue the old value. Only set if return is true.
- @param nHandle the handle of the proberty.
+ @param nHandle the handle of the property.
@return true if the value converted.
*/
virtual sal_Bool SAL_CALL convertFastPropertyValue(
@@ -573,7 +573,7 @@ protected:
-- ::com::sun::star::lang::IllegalArgumentException
-- ::com::sun::star::lang::WrappedTargetException
-- ::com::sun::star::uno::RuntimeException
-
+
@param nHandle
handle
@param rValue
@@ -620,7 +620,7 @@ protected:
/**
Container for the XProperyChangedListener. The listeners are
inserted by handle.
*/
- OMultiTypeInterfaceContainerHelperInt32 aBoundLC;
+ OMultiTypeInterfaceContainerHelperInt32 aBoundLC;
/**
Container for the XPropertyVetoableListener. The listeners are
inserted by handle.
*/
@@ -666,5 +666,3 @@ public:
} // end namespace cppuhelper
#endif //
-
-
diff --git a/main/framework/inc/services/frameloaderfactory.hxx
b/main/framework/inc/services/frameloaderfactory.hxx
index 1e721f9..aa9d7bf 100644
--- a/main/framework/inc/services/frameloaderfactory.hxx
+++ b/main/framework/inc/services/frameloaderfactory.hxx
@@ -195,7 +195,7 @@ class FrameLoaderFactory : public ThreadHelpBase
, // Struct for
right in
/*-****************************************************************************************************//**
@short not supported
- @descr Please use XNameAcces instead of these!
+ @descr Please use XNameAccess instead of these!
@seealso -
diff --git a/main/framework/source/services/desktop.cxx
b/main/framework/source/services/desktop.cxx
index 1e4968b..c556776 100644
--- a/main/framework/source/services/desktop.cxx
+++ b/main/framework/source/services/desktop.cxx
@@ -205,7 +205,7 @@ DEFINE_INIT_SERVICE ( Desktop,
// Safe impossible cases
// We can't work without this
helper!
- LOG_ASSERT2(
m_xFramesHelper.is ()==sal_False, "Desktop::Desktop()", "Frames helper is not
valid. XFrames, XIndexAccess and XElementAcces are not supported!\n")
+ LOG_ASSERT2(
m_xFramesHelper.is ()==sal_False, "Desktop::Desktop()", "Frames helper is not
valid. XFrames, XIndexAccess and XElementAccess are not supported!\n")
LOG_ASSERT2(
m_xDispatchHelper.is()==sal_False, "Desktop::Desktop()", "Dispatch helper is
not valid. XDispatch will not work correctly!\n" )
// Enable object for real
working!
diff --git a/main/framework/source/services/frame.cxx
b/main/framework/source/services/frame.cxx
index 1c605d3..a875af8 100644
--- a/main/framework/source/services/frame.cxx
+++ b/main/framework/source/services/frame.cxx
@@ -232,7 +232,7 @@ DEFINE_INIT_SERVICE ( Frame,
// We can't work without these
helpers!
LOG_ASSERT2( xDispatchProvider.is
()==sal_False, "Frame::impl_initService()", "Slowest slave for dispatch- and
interception helper isn't valid. XDispatchProvider, XDispatch,
XDispatchProviderInterception are not full supported!" )
LOG_ASSERT2( m_xDispatchHelper.is
()==sal_False, "Frame::impl_initService()", "Interception helper isn't valid.
XDispatchProvider, XDispatch, XDispatchProviderInterception are not full
supported!" )
- LOG_ASSERT2( m_xFramesHelper.is
()==sal_False, "Frame::impl_initService()", "Frames helper isn't valid.
XFrames, XIndexAccess and XElementAcces are not supported!"
)
+ LOG_ASSERT2( m_xFramesHelper.is
()==sal_False, "Frame::impl_initService()", "Frames helper isn't valid.
XFrames, XIndexAccess and XElementAccess are not supported!"
)
LOG_ASSERT2(
m_xDropTargetListener.is()==sal_False, "Frame::impl_initService()", "DropTarget
helper isn't valid. Drag and drop without functionality!"
)
//-------------------------------------------------------------------------------------------------------------
diff --git a/main/offapi/com/sun/star/chart2/DataPointProperties.idl
b/main/offapi/com/sun/star/chart2/DataPointProperties.idl
index b6c1e5d..23676bb 100644
--- a/main/offapi/com/sun/star/chart2/DataPointProperties.idl
+++ b/main/offapi/com/sun/star/chart2/DataPointProperties.idl
@@ -46,7 +46,7 @@ module chart2
service DataPointProperties
{
- /** to give acces to the properties required by this service.
+ /** to give access to the properties required by this service.
*/
service ::com::sun::star::beans::PropertySet;
diff --git a/main/offapi/com/sun/star/chart2/data/DataSequence.idl
b/main/offapi/com/sun/star/chart2/data/DataSequence.idl
index 26137a9..ec1e614 100644
--- a/main/offapi/com/sun/star/chart2/data/DataSequence.idl
+++ b/main/offapi/com/sun/star/chart2/data/DataSequence.idl
@@ -61,13 +61,13 @@ service DataSequence
*/
interface XDataSequence;
- /** you may implement this interface to allow a fast acces to
+ /** you may implement this interface to allow a fast access to
numerical data. With this interface you can get a
<atom>sequence</atom> of <atom>double</atom> values.
*/
[optional] interface XNumericalDataSequence;
- /** you may implement this interface to allow a fast acces to
+ /** you may implement this interface to allow a fast access to
textual data. With this interface you can get a
<atom>sequence</atom> of <atom>string</atom> values.
*/
diff --git a/main/offapi/com/sun/star/chart2/data/XDataSequence.idl
b/main/offapi/com/sun/star/chart2/data/XDataSequence.idl
index 3612704..751538f 100644
--- a/main/offapi/com/sun/star/chart2/data/XDataSequence.idl
+++ b/main/offapi/com/sun/star/chart2/data/XDataSequence.idl
@@ -39,7 +39,7 @@ module chart2
module data
{
-/** allows acces to a one-dimensional sequence of data.
+/** allows access to a one-dimensional sequence of data.
<p>The data that is stored in this container may contain different
types.</p>
diff --git a/main/offapi/com/sun/star/chart2/data/XLabeledDataSequence.idl
b/main/offapi/com/sun/star/chart2/data/XLabeledDataSequence.idl
index 3920d17..8664380 100644
--- a/main/offapi/com/sun/star/chart2/data/XLabeledDataSequence.idl
+++ b/main/offapi/com/sun/star/chart2/data/XLabeledDataSequence.idl
@@ -38,7 +38,7 @@ module chart2
module data
{
-/** allows acces to a one-dimensional sequence of data.
+/** allows access to a one-dimensional sequence of data.
<p>The data that is stored in this container may contain different
types.</p>
diff --git a/main/offapi/com/sun/star/chart2/data/XNumericalDataSequence.idl
b/main/offapi/com/sun/star/chart2/data/XNumericalDataSequence.idl
index c1412fa..b86a5a3 100644
--- a/main/offapi/com/sun/star/chart2/data/XNumericalDataSequence.idl
+++ b/main/offapi/com/sun/star/chart2/data/XNumericalDataSequence.idl
@@ -36,7 +36,7 @@ module chart2
module data
{
-/** allows acces to a one-dimensional sequence of double precision
+/** allows access to a one-dimensional sequence of double precision
floating-point numbers.
*/
interface XNumericalDataSequence : ::com::sun::star::uno::XInterface
diff --git a/main/offapi/com/sun/star/chart2/data/XTextualDataSequence.idl
b/main/offapi/com/sun/star/chart2/data/XTextualDataSequence.idl
index be6457d..0b79e35 100644
--- a/main/offapi/com/sun/star/chart2/data/XTextualDataSequence.idl
+++ b/main/offapi/com/sun/star/chart2/data/XTextualDataSequence.idl
@@ -36,7 +36,7 @@ module chart2
module data
{
-/** allows acces to a one-dimensional sequence of strings.
+/** allows access to a one-dimensional sequence of strings.
*/
interface XTextualDataSequence : ::com::sun::star::uno::XInterface
{
diff --git a/main/offapi/com/sun/star/frame/XModel.idl
b/main/offapi/com/sun/star/frame/XModel.idl
index ce4329e..9d505f8 100644
--- a/main/offapi/com/sun/star/frame/XModel.idl
+++ b/main/offapi/com/sun/star/frame/XModel.idl
@@ -107,7 +107,7 @@ published interface XModel: com::sun::star::lang::XComponent
string getURL();
//-------------------------------------------------------------------------
- /** provides read acces on currently representation of the
+ /** provides read access on currently representation of the
<type scope="com::sun::star::document">MediaDescriptor</type>
of this model which describes the model and his state
diff --git a/main/offapi/com/sun/star/text/GlobalSettings.idl
b/main/offapi/com/sun/star/text/GlobalSettings.idl
index 317d0a7..821f307 100644
--- a/main/offapi/com/sun/star/text/GlobalSettings.idl
+++ b/main/offapi/com/sun/star/text/GlobalSettings.idl
@@ -38,7 +38,7 @@
//=============================================================================
-/** specifies a service that provides acces to the settings of a text module.
+/** specifies a service that provides access to the settings of a text module.
*/
published service GlobalSettings
{
diff --git a/main/svtools/source/config/menuoptions.cxx
b/main/svtools/source/config/menuoptions.cxx
index 7d33aa8..c8445b4 100644
--- a/main/svtools/source/config/menuoptions.cxx
+++ b/main/svtools/source/config/menuoptions.cxx
@@ -148,8 +148,8 @@ class SvtMenuOptions_Impl : public ConfigItem
/*-****************************************************************************************************//**
@short access method to get internal values
- @descr These method give us a chance to
regulate acces to ouer internal values.
- It's not used in the moment -
but it's possible for the feature!
+ @descr These method gives us a chance to
regulate access to our internal values.
+ It's not used in the moment -
but it's possible for the future!
@seealso -
diff --git a/main/svx/inc/svx/sdr/overlay/overlayobject.hxx
b/main/svx/inc/svx/sdr/overlay/overlayobject.hxx
index e369ec8..1ab461b 100644
--- a/main/svx/inc/svx/sdr/overlay/overlayobject.hxx
+++ b/main/svx/inc/svx/sdr/overlay/overlayobject.hxx
@@ -156,7 +156,7 @@ namespace sdr
// implementation does nothing and does not create a
new event.
virtual void Trigger(sal_uInt32 nTime);
- // acces to AllowsAnimation flag
+ // access to AllowsAnimation flag
bool allowsAnimation() const { return
mbAllowsAnimation; }
// stripe definition has changed. The OverlayManager
does have
diff --git a/main/svx/source/fmcomp/gridctrl.cxx
b/main/svx/source/fmcomp/gridctrl.cxx
index 14461d3..9a5b86a 100644
--- a/main/svx/source/fmcomp/gridctrl.cxx
+++ b/main/svx/source/fmcomp/gridctrl.cxx
@@ -3842,7 +3842,7 @@ void DbGridControl::disposing(sal_uInt16 _nId, const
EventObject& /*_rEvt*/)
if (_nId == 0)
{ // the seek cursor is being disposed
::osl::MutexGuard aGuard(m_aAdjustSafety);
- setDataSource(NULL,0); // our clone was disposed so we set our
datasource to null to avoid later acces to it
+ setDataSource(NULL,0); // our clone was disposed so we set our
datasource to null to avoid later access to it
if (m_nAsynAdjustEvent)
{
RemoveUserEvent(m_nAsynAdjustEvent);
diff --git a/main/svx/source/xoutdev/xattr.cxx
b/main/svx/source/xoutdev/xattr.cxx
index 9871646..0062dd8 100644
--- a/main/svx/source/xoutdev/xattr.cxx
+++ b/main/svx/source/xoutdev/xattr.cxx
@@ -482,7 +482,7 @@ const Color& XColorItem::GetColorValue() const
return aColor;
}
- OSL_ENSURE(false, "Acces to Indexed XColorItem needs to use the call which
hands over a XColorListSharedPtr (!)");
+ OSL_ENSURE(false, "Access to Indexed XColorItem needs to use the call
which hands over a XColorListSharedPtr (!)");
return aColor;
}
diff --git a/main/sw/source/core/bastyp/swcache.cxx
b/main/sw/source/core/bastyp/swcache.cxx
index 6037b79..081d859 100644
--- a/main/sw/source/core/bastyp/swcache.cxx
+++ b/main/sw/source/core/bastyp/swcache.cxx
@@ -619,7 +619,7 @@ SwCacheAccess::~SwCacheAccess()
void SwCacheAccess::_Get()
{
- ASSERT( !pObj, "SwCacheAcces Obj already available." );
+ ASSERT( !pObj, "SwCacheAccess Obj already available." );
pObj = NewObj();
if ( !rCache.Insert( pObj ) )
diff --git a/main/sw/source/ui/app/docsh2.cxx b/main/sw/source/ui/app/docsh2.cxx
index 8ea0ab9..bac74d2 100644
--- a/main/sw/source/ui/app/docsh2.cxx
+++ b/main/sw/source/ui/app/docsh2.cxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -335,11 +335,11 @@ sal_uInt16 SwDocShell::PrepareClose( sal_Bool bUI,
sal_Bool bForBrowsing )
using namespace com::sun::star::script::vba::VBAEventId;
uno::Sequence< uno::Any > aArgs;
xVbaEvents->processVbaEvent( DOCUMENT_CLOSE, aArgs );
- }
- }
+ }
+ }
#endif
return nRet;
-}
+}
/*--------------------------------------------------------------------
Beschreibung: Organizer
@@ -367,7 +367,7 @@ sal_Bool SwDocShell::Insert( SfxObjectShell &rSource,
if (CONTENT_STYLE == nSourceIdx1 && CONTENT_STYLE == rIdx1)
{
- SfxStyleSheetBasePool* pHisPool = rSource.GetStyleSheetPool();
+ SfxStyleSheetBasePool* pHisPool = rSource.GetStyleSheetPool();
SwDocStyleSheetPool* pMyPool =
(SwDocStyleSheetPool*)GetStyleSheetPool();
@@ -688,7 +688,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
SwEditShell::SetAutoFmtFlags( pAFlags );
rACW.SetMinWordLen( pAFlags->nAutoCmpltWordLen );
rACW.SetMaxCount( pAFlags->nAutoCmpltListLen );
- if( pAFlags->pAutoCmpltList ) // any changes?
+ if( pAFlags->pAutoCmpltList ) // any changes?
{
rACW.CheckChangedList( aTmpLst );
// clear the temp WordList pointer
@@ -877,7 +877,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
aOpt.SetTxtFmts( bText = (0 !=
(nFlags&SFX_LOAD_TEXT_STYLES) ));
aOpt.SetFrmFmts( bFrame = (0 !=
(nFlags&SFX_LOAD_FRAME_STYLES)));
aOpt.SetPageDescs( bPage = (0 !=
(nFlags&SFX_LOAD_PAGE_STYLES )));
- aOpt.SetNumRules( bNum = (0 !=
(nFlags&SFX_LOAD_NUM_STYLES )));
+ aOpt.SetNumRules( bNum = (0 !=
(nFlags&SFX_LOAD_NUM_STYLES )));
//different meaning between SFX_MERGE_STYLES and
aOpt.SetMerge!
bMerge = 0 != (nFlags&SFX_MERGE_STYLES);
aOpt.SetMerge( !bMerge );
@@ -893,7 +893,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
SfxViewShell* pViewShell = GetView()
? (SfxViewShell*)GetView()
: SfxViewShell::Current();
- SfxViewFrame* pViewFrm =
pViewShell->GetViewFrame();
+ SfxViewFrame* pViewFrm =
pViewShell->GetViewFrame();
SwSrcView* pSrcView = dynamic_cast< SwSrcView *>( pViewShell );
if(!pSrcView)
{
@@ -1202,7 +1202,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
sal_Bool bCreateHtml = FN_NEW_HTML_DOC == nWhich;
sal_Bool bCreateByOutlineLevel = false;
//#outline level,add by zhaojianwei
- sal_Int32 nTemplateOutlineLevel = 0 ;
//#outline level,add by zhaojianwei
+ sal_Int32 nTemplateOutlineLevel = 0 ;
//#outline level,add by zhaojianwei
String aFileName, aTemplateName;
if( pArgs && SFX_ITEM_SET == pArgs->GetItemState( nWhich,
sal_False, &pItem ) )
@@ -1228,8 +1228,8 @@ void SwDocShell::Execute(SfxRequest& rReq)
0
};
- const char* aHTMLHelpIds[] =
- {
+ const char* aHTMLHelpIds[] =
+ {
HID_SEND_HTML_CTRL_PUSHBUTTON_OK,
HID_SEND_HTML_CTRL_PUSHBUTTON_CANCEL,
HID_SEND_HTML_CTRL_LISTBOX_FILTER,
@@ -1240,8 +1240,8 @@ void SwDocShell::Execute(SfxRequest& rReq)
""
};
- const char* aMasterHelpIds[] =
- {
+ const char* aMasterHelpIds[] =
+ {
HID_SEND_MASTER_CTRL_PUSHBUTTON_OK,
HID_SEND_MASTER_CTRL_PUSHBUTTON_CANCEL,
HID_SEND_MASTER_CTRL_LISTBOX_FILTER,
@@ -1272,7 +1272,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
// Fuer Global-Dokumente bieten wir jetzt auch nur
// noch den aktuellen an.
pFlt =
SwGlobalDocShell::Factory().GetFilterContainer()->
- GetFilter4Extension(
String::CreateFromAscii("odm") );
+ GetFilter4Extension(
String::CreateFromAscii("odm") );
nStrId = STR_LOAD_GLOBAL_DOC;
}
@@ -1310,7 +1310,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
// if( !rTxtColl.IsDefault() &&
rTxtColl.IsAtDocNodeSet() )
// {
// //if( MAXLEVEL >= rTxtColl.GetOutlineLevel()
&& ( !pFnd || //#outline level,zhaojianwei
- //if(
rTxtColl.IsAssignedToListLevelOfOutlineStyle() && ( !pFnd ||
//<-end,zhaojianwei
+ //if(
rTxtColl.IsAssignedToListLevelOfOutlineStyle() && ( !pFnd ||
//<-end,zhaojianwei
// pFnd->GetAssignedOutlineStyleLevel() >
rTxtColl.GetAssignedOutlineStyleLevel() ))
// {
// nSelect = (sal_Int16)nIdx;
@@ -1387,7 +1387,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
}
catch(Exception& )
{
- DBG_ERROR("control acces failed");
+ DBG_ERROR("control access failed");
}
xFP->setTitle( SW_RESSTR( nStrId ));
@@ -1412,7 +1412,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
}
else if(
sPrefix.equalsAscii("Outline"))
{
-
nTemplateOutlineLevel = ( sTmpl.copy( 15L )).toInt32(); //get string behind
"Outline: Leve ";
+
nTemplateOutlineLevel = ( sTmpl.copy( 15L )).toInt32(); //get string behind
"Outline: Level ";
bCreateByOutlineLevel = true;
}
//<-end,zhaojianwei
@@ -1662,7 +1662,7 @@ void SwDocShell::ReloadFromHtml( const String&
rStreamName, SwSrcView* pSrcView
// sonst gibt es welche aus Meta-Tags hinter doppelt und dreifach.
ClearHeaderAttributesForSourceViewHack();
- // MIB 24.07.97: Das Dokument-Basic muss auch noch d'ran glauben ...
+ // MIB 24.07.97: Das Dokument-Basic muss auch noch dran glauben ...
SvxHtmlOptions* pHtmlOptions = SvxHtmlOptions::Get();
//#59620# HasBasic() zeigt an, dass es schon einen BasicManager an der
DocShell
// gibt. Der wurde im HTML-Import immer angelegt,
wenn Macros im Quelltext
@@ -1721,7 +1721,7 @@ void SwDocShell::ReloadFromHtml( const String&
rStreamName, SwSrcView* pSrcView
SfxViewShell* pViewShell = GetView() ? (SfxViewShell*)GetView()
: SfxViewShell::Current();
- SfxViewFrame* pViewFrm = pViewShell->GetViewFrame();
+ SfxViewFrame* pViewFrm = pViewShell->GetViewFrame();
pViewFrm->GetDispatcher()->Execute( SID_VIEWSHELL0,
SFX_CALLMODE_SYNCHRON );
SubInitNew();
@@ -1771,7 +1771,7 @@ sal_uLong SwDocShell::LoadStylesFromFile( const String&
rURL,
String
sFactory(String::CreateFromAscii(SwDocShell::Factory().GetShortName()));
SfxFilterMatcher aMatcher( sFactory );
- //#b6445961# search for filter in WebDocShell, too
+ //#b6445961# search for filter in WebDocShell, too
SfxMedium aMed( rURL, STREAM_STD_READ, sal_False );
const SfxFilter* pFlt = 0;
aMatcher.DetectFilter( aMed, &pFlt, sal_False, sal_False );
@@ -1787,16 +1787,16 @@ sal_uLong SwDocShell::LoadStylesFromFile( const String&
rURL,
{
if ( aMed.IsStorage() )
{
- // As <SfxMedium.GetFilter().IsOwnFormat() resp.
IsOwnTemplateFormat()
- // does not work correct (e.g., MS Word 2007 XML Template),
+ // As <SfxMedium.GetFilter().IsOwnFormat() resp.
IsOwnTemplateFormat()
+ // does not work correct (e.g., MS Word 2007 XML Template),
// use workaround provided by MAV.
uno::Reference< embed::XStorage > xStorage = aMed.GetStorage();
if ( xStorage.is() )
{
- // use <try-catch> on retrieving <MediaType> in order to
check,
+ // use <try-catch> on retrieving <MediaType> in order to check,
// if the storage is one of our own ones.
try
- {
+ {
uno::Reference< beans::XPropertySet > xProps( xStorage,
uno::UNO_QUERY_THROW );
const ::rtl::OUString aMediaTypePropName(
RTL_CONSTASCII_USTRINGPARAM( "MediaType" ) );
xProps->getPropertyValue( aMediaTypePropName );
@@ -1806,14 +1806,14 @@ sal_uLong SwDocShell::LoadStylesFromFile( const String&
rURL,
{
bImport = false;
}
- }
+ }
}
}
if ( bImport )
- // <--
+ // <--
{
DBG_ASSERT((pFlt ? pFlt->GetVersion() : 0) >= SOFFICE_FILEFORMAT_60,
"which file version?");
- SwRead pRead = ReadXML;
+ SwRead pRead = ReadXML;
SwReader* pReader = 0;
SwPaM* pPam = 0;
// the SW3IO - Reader need the pam/wrtshell, because only then
he
@@ -1825,7 +1825,7 @@ sal_uLong SwDocShell::LoadStylesFromFile( const String&
rURL,
pReader = new SwReader( aMed, rURL, *pPam );
}
else
- {
+ {
pReader = new SwReader( aMed, rURL,
*mpWrtShell->GetCrsr() );
}
@@ -1849,7 +1849,7 @@ sal_uLong SwDocShell::LoadStylesFromFile( const String&
rURL,
delete pPam;
delete pReader;
}
-
+
return nErr;
}
diff --git a/main/sw/source/ui/uiview/view2.cxx
b/main/sw/source/ui/uiview/view2.cxx
index 9b84fe3..69213ac 100644
--- a/main/sw/source/ui/uiview/view2.cxx
+++ b/main/sw/source/ui/uiview/view2.cxx
@@ -337,7 +337,7 @@ sal_Bool SwView::InsertGraphicDlg( SfxRequest& rReq )
}
catch(Exception& )
{
- DBG_ERROR("control acces failed");
+ DBG_ERROR("control access failed");
}
SFX_REQUEST_ARG( rReq, pName, SfxStringItem, SID_INSERT_GRAPHIC ,
sal_False );
@@ -379,7 +379,7 @@ sal_Bool SwView::InsertGraphicDlg( SfxRequest& rReq )
}
catch(Exception& )
{
- DBG_ERROR("control acces failed");
+ DBG_ERROR("control access failed");
}
}
rReq.AppendItem( SfxBoolItem( FN_PARAM_1, bAsLink ) );
diff --git a/main/unotools/source/config/fontoptions.cxx
b/main/unotools/source/config/fontoptions.cxx
index eeea31c..37b995c 100644
--- a/main/unotools/source/config/fontoptions.cxx
+++ b/main/unotools/source/config/fontoptions.cxx
@@ -125,8 +125,8 @@ class SvtFontOptions_Impl : public ConfigItem
/*-****************************************************************************************************//**
@short access method to get internal values
- @descr These method give us a chance to
regulate acces to ouer internal values.
- It's not used in the moment -
but it's possible for the feature!
+ @descr These method gives us a chance to
regulate access to our internal values.
+ It's not used in the moment -
but it's possible for the future!
@seealso -
diff --git a/main/unotools/source/config/internaloptions.cxx
b/main/unotools/source/config/internaloptions.cxx
index bccc174..7884f3a 100644
--- a/main/unotools/source/config/internaloptions.cxx
+++ b/main/unotools/source/config/internaloptions.cxx
@@ -199,8 +199,8 @@ class SvtInternalOptions_Impl : public ConfigItem
/*-****************************************************************************************************//**
@short access method to get internal values
- @descr These method give us a chance to
regulate acces to ouer internal values.
- It's not used in the moment -
but it's possible for the feature!
+ @descr This method gives us a chance to
regulate access to our internal values.
+ It's not used in the moment -
but it's possible for the future!
@seealso -
diff --git a/main/unotools/source/config/localisationoptions.cxx
b/main/unotools/source/config/localisationoptions.cxx
index 14296e6..3fcee63 100644
--- a/main/unotools/source/config/localisationoptions.cxx
+++ b/main/unotools/source/config/localisationoptions.cxx
@@ -125,8 +125,8 @@ class SvtLocalisationOptions_Impl : public ConfigItem
/*-****************************************************************************************************//**
@short access method to get internal values
- @descr These method give us a chance to
regulate acces to ouer internal values.
- It's not used in the moment -
but it's possible for the feature!
+ @descr This method gives us a chance to
regulate access to our internal values.
+ It's not used in the moment -
but it's possible for the future!
@seealso -
diff --git a/main/unotools/source/config/workingsetoptions.cxx
b/main/unotools/source/config/workingsetoptions.cxx
index 7a802b4..ee65ac0 100644
--- a/main/unotools/source/config/workingsetoptions.cxx
+++ b/main/unotools/source/config/workingsetoptions.cxx
@@ -121,8 +121,8 @@ class SvtWorkingSetOptions_Impl : public ConfigItem
/*-****************************************************************************************************//**
@short access method to get internal values
- @descr These method give us a chance to
regulate acces to ouer internal values.
- It's not used in the moment -
but it's possible for the feature!
+ @descr This method gives us a chance to
regulate access to our internal values.
+ It's not used in the moment -
but it's possible for the future!
@seealso -