Fix typos

Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0
Reviewed-on: https://gerrit.libreoffice.org/16834
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2015-07-07 23:14:30 +02:00 committed by Julien Nabet
parent ff669d1c7f
commit 799cc41b53
60 changed files with 83 additions and 83 deletions

View file

@ -191,7 +191,7 @@ private:
/** the XAccessible which creates/returns an AccessibleBrowseBox
<p>The instance holds its XAccessibleContext with a hard reference, while
the contxt holds this instance weak.</p>
the context holds this instance weak.</p>
*/
typedef ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessible
> AccessibleBrowseBoxAccess_Base;

View file

@ -179,7 +179,7 @@ private:
/** the XAccessible which creates/returns an AccessibleGridControl
<p>The instance holds its XAccessibleContext with a hard reference, while
the contxt holds this instance weak.</p>
the context holds this instance weak.</p>
*/
typedef ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessible > AccessibleGridControlAccess_Base;

View file

@ -43,7 +43,7 @@ sub open_file
{
my $filename = pop @_;
# Create base directory of temporary directory tree if not alreay
# Create base directory of temporary directory tree if not already
# present.
if ($TempDir eq "")
{

View file

@ -3630,7 +3630,7 @@ RTLFUNC(Shell)
}
else if( aCmdLine.isEmpty() )
{
// avaoid special treatment (empty list)
// avoid special treatment (empty list)
aCmdLine += " ";
}
sal_Int32 nLen = aCmdLine.getLength();

View file

@ -2480,7 +2480,7 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name )
"basic",
"couldn't open library element stream - attempted to"
" open library \"" << Name << '"');
throw RuntimeException("couln't open library element stream", *this);
throw RuntimeException("couldn't open library element stream", *this);
}
}
else

View file

@ -761,7 +761,7 @@ public class OOoBean
com.sun.star.lang.IllegalArgumentException,
com.sun.star.util.CloseVetoException
{
// wrap byte arrray into UNO stream
// wrap byte array into UNO stream
com.sun.star.io.XInputStream xStream =
new com.sun.star.lib.uno.adapter.ByteArrayToXInputStreamAdapter(
aInBuffer );
@ -896,7 +896,7 @@ public class OOoBean
java.io.IOException,
com.sun.star.lang.IllegalArgumentException
{
// wrap byte arrray into UNO stream
// wrap byte array into UNO stream
com.sun.star.lib.uno.adapter.XOutputStreamToByteArrayAdapter aStream = new com.sun.star.lib.uno.adapter.XOutputStreamToByteArrayAdapter(
aOutBuffer);

View file

@ -21,7 +21,7 @@
#define _CHART2_RESOURCE_IDS_HRC
//for strings see Strings.hrc
//for Bimaps see Bimaps.hrc
//for Bitmaps see Bitmaps.hrc
//TabPage Ids:
#define TP_LEGEND_POS 900

View file

@ -42,7 +42,7 @@ typedef tPointVecType::size_type lcl_tSizeType;
class lcl_SplineCalculation
{
public:
/** @descr creates an object that calculates cublic splines on construction
/** @descr creates an object that calculates cubic splines on construction
@param rSortedPoints the points for which splines shall be calculated, they need to be sorted in x values
@param fY1FirstDerivation the resulting spline should have the first
@ -57,7 +57,7 @@ public:
double fY1FirstDerivation,
double fYnFirstDerivation );
/** @descr creates an object that calculates cublic splines on construction
/** @descr creates an object that calculates cubic splines on construction
for the special case of periodic cubic spline
@param rSortedPoints the points for which splines shall be calculated,

View file

@ -627,7 +627,7 @@ uno::Reference<drawing::XShape>
"com.sun.star.drawing.Shape3DLatheObject" ), uno::UNO_QUERY );
xTarget->add(xShape);
double fWidth = rSize.DirectionX/2.0; //The depth will be corrrected within Matrix
double fWidth = rSize.DirectionX/2.0; //The depth will be corrected within Matrix
double fRadius = fWidth; //!!!!!!!! problem in drawing layer: rotation object calculates wrong needed size -> wrong camera (it's a problem with bounding boxes)
double fHeight = rSize.DirectionY;

View file

@ -222,7 +222,7 @@ void SAL_CALL OMySQLTable::alterColumnByName( const OUString& colName, const Ref
|| bOldAutoIncrement != bAutoIncrement
|| sOldDesc != sNewDesc )
{
// special handling because they change dthe type names to distinguish
// special handling because they changed the type names to distinguish
// if a column should be an auto_incmrement one
if ( bOldAutoIncrement != bAutoIncrement )
{

View file

@ -29,7 +29,7 @@ namespace connectivity { namespace hsqldb
class HTools
{
public:
/** appens a proper WHERE clause to the given buffer, which filters
/** appends a proper WHERE clause to the given buffer, which filters
for a given table name
@param _bShortForm

View file

@ -469,7 +469,7 @@ void OPropertySetHelper::setDependentFastPropertyValue( sal_Int32 i_handle, cons
return;
// don't fire vetoable events. This method is called with our mutex locked, so calling into listeners would not be
// a good idea. The caler is responsible for not invoking this for constrained properties.
// a good idea. The caller is responsible for not invoking this for constrained properties.
OSL_ENSURE( ( nAttributes & PropertyAttribute::CONSTRAINED ) == 0,
"OPropertySetHelper::setDependentFastPropertyValue: not to be used for constrained properties!" );
(void)nAttributes;

View file

@ -574,7 +574,7 @@ IMPL_LINK(SvxEditDictionaryDialog, SelectHdl, SvTabListBox*, pBox)
{
SvTreeListEntry* pEntry = pBox->FirstSelected();
OUString sTmpShort(SvTabListBox::GetEntryText(pEntry, 0));
// without this the curser is always at the beginning of a word, if the text
// without this the cursor is always at the beginning of a word, if the text
// is set over the ModifyHdl, although you're editing there at the moment
if(pWordED->GetText() != sTmpShort)
pWordED->SetText(sTmpShort);

View file

@ -875,7 +875,7 @@ void SAL_CALL ORowSet::updateNumericObject( sal_Int32 columnIndex, const Any& x,
void SAL_CALL ORowSet::insertRow( ) throw(SQLException, RuntimeException, std::exception)
{
::connectivity::checkDisposed(ORowSet_BASE1::rBHelper.bDisposed);
// insertRow is not allowd when
// insertRow is not allowed when
// standing not on the insert row nor
// when the row isn't modified
// or the concurency is read only

View file

@ -99,7 +99,7 @@ public:
data source actually *is* registered at the database context.
Normally, this name is passed at time of creation of the ODatabaseModelImpl instance,
but if a newly creaed data source is registered, then it must be possible to propagate
but if a newly created data source is registered, then it must be possible to propagate
the new trgistration name.
*/
static void setName(

View file

@ -74,7 +74,7 @@ namespace dbaui
@param _nColId
the column id SOURCE_COLUMN or DEST_COLUMN
@return the current column id eihter SOURCE_COLUMN or DEST_COLUMN depends on the connection data
@return the current column id either SOURCE_COLUMN or DEST_COLUMN depends on the connection data
*/
sal_uInt16 getColumnIdent( sal_uInt16 _nColId ) const;
public:

View file

@ -310,7 +310,7 @@ namespace dbaui
void InitColors();
bool ScrollWhileDragging();
/** opens the context menu to delate a connection
/** opens the context menu to delete a connection
@param _aPos the position where the popup menu should appear
@param _pSelConnection the connection which should be deleted
*/

View file

@ -173,7 +173,7 @@ namespace dbaui
const SharedConnection& _xDestConnection
);
/** insert a table into the data source. The source can eihter be a table or a query
/** insert a table into the data source. The source can either be a table or a query
*/
void insertTable(
const OUString& i_rSourceDataSource,

View file

@ -1550,7 +1550,7 @@ bool OQueryController::doSaveAsDoc(bool _bSaveAs)
if ( !xViewProps.is() ) // correct name and try again
m_sName = ::dbtools::composeTableName( getMetaData(), xQuery, ::dbtools::eInDataManipulation, false, false, false );
OSL_ENSURE( xElements->hasByName( m_sName ), "OQueryController::doSaveAsDoc: newly creaed view does not exist!" );
OSL_ENSURE( xElements->hasByName( m_sName ), "OQueryController::doSaveAsDoc: newly created view does not exist!" );
if ( xElements->hasByName( m_sName ) )
m_xAlterView.set( xElements->getByName( m_sName ), UNO_QUERY );

View file

@ -2200,10 +2200,10 @@ void Desktop::OpenClients()
// Disable AutoSave feature in case "--norestore" or a similar command line switch is set on the command line.
// The reason behind: AutoSave/EmergencySave/AutoRecovery share the same data.
// But the require that all documents, which are saved as backup should exists inside
// memory. May be this mechanism will be inconsistent if the configuration exists ...
// memory. May be this mechanism will be inconsistent if the configuration exists...
// but no document inside memory corrspond to this data.
// Furter it's not acceptable to recover such documents without any UI. It can
// need some time, where the user wont see any results and wait for finishing the office startup ...
// Further it's not acceptable to recover such documents without any UI. It can
// need some time, where the user wont see any results and wait for finishing the office startup...
bool bAllowRecoveryAndSessionManagement = ( !rArgs.IsNoRestore() ) && ( !rArgs.IsHeadless() );
if ( ! bAllowRecoveryAndSessionManagement )

View file

@ -128,7 +128,7 @@ namespace drawinglayer
aNewRange.expand(basegfx::B2DPoint(a3DRange.getMaxX(), a3DRange.getMaxY()));
aNewRange.transform(getObjectTransformation());
// cehck for 3D shadows and their 2D projections. If those exist, they need to be
// check for 3D shadows and their 2D projections. If those exist, they need to be
// taken into account
if(impGetShadow3D(rViewInformation))
{

View file

@ -342,7 +342,7 @@ HRESULT DropTarget::DragEnter( IDataObject *pDataObj,
fire_dragEnter( e);
// Check if the action derived from grfKeyState (m_nCurrentDropAction) or the action set
// by the listener (m_nCurrentDropAction) is allowed by the source. Only a allowed action is set
// in pdwEffect. The listener notification is asynchron, that is we cannot expext that the listener
// in pdwEffect. The listener notification is asynchron, that is we cannot expect that the listener
// has already reacted to the notification.
// If there is more than one valid action which is the case when ALT or RIGHT MOUSE BUTTON is pressed
// then getDropEffect returns DROPEFFECT_MOVE which is the default value if no other modifier is pressed.
@ -390,7 +390,7 @@ HRESULT DropTarget::DragOver( DWORD grfKeyState,
fire_dragOver( e);
// Check if the action derived from grfKeyState (m_nCurrentDropAction) or the action set
// by the listener (m_nCurrentDropAction) is allowed by the source. Only a allowed action is set
// in pdwEffect. The listener notification is asynchron, that is we cannot expext that the listener
// in pdwEffect. The listener notification is asynchron, that is we cannot expect that the listener
// has already reacted to the notification.
// If there is more than one valid action which is the case when ALT or RIGHT MOUSE BUTTON is pressed
// then getDropEffect returns DROPEFFECT_MOVE which is the default value if no other modifier is pressed.

View file

@ -1941,7 +1941,7 @@ void ImpEditView::dragOver(const ::com::sun::star::datatransfer::dnd::DropTarget
{
long nScrollX = 0;
long nScrollY = 0;
// Chech if in the sensitive area
// Check if in the sensitive area
if ( ( (aMousePos.X()-pDragAndDropInfo->nSensibleRange) < GetOutputArea().Left() ) && ( ( aMousePos.X() + pDragAndDropInfo->nSensibleRange ) > GetOutputArea().Left() ) )
nScrollX = GetOutputArea().GetWidth() / SCRLRANGE;
else if ( ( (aMousePos.X()+pDragAndDropInfo->nSensibleRange) > GetOutputArea().Right() ) && ( ( aMousePos.X() - pDragAndDropInfo->nSensibleRange ) < GetOutputArea().Right() ) )

View file

@ -1525,7 +1525,7 @@ EditSelection ImpEditEngine::SelectWord( const EditSelection& rCurSel, sal_Int16
i18n::Boundary aBoundary = _xBI->getWordBoundary(
aPaM.GetNode()->GetString(), aPaM.GetIndex(), aLocale, nWordType, true);
// don't select when curser at end of word
// don't select when cursor at end of word
if ( ( aBoundary.endPos > aPaM.GetIndex() ) &&
( ( aBoundary.startPos < aPaM.GetIndex() ) || ( bAcceptStartOfWord && ( aBoundary.startPos == aPaM.GetIndex() ) ) ) )
{

View file

@ -54,7 +54,7 @@ namespace extensions { namespace resource
@return
the required resource
@precond
the caler checked via <code>_resourceManager.IsAvailable( getResourceType(), _resourceId )</code>
the caller checked via <code>_resourceManager.IsAvailable( getResourceType(), _resourceId )</code>
that the required resource really exists
*/
virtual Any getResource( SimpleResMgr& _resourceManager, sal_Int32 _resourceId ) const = 0;

View file

@ -1223,7 +1223,7 @@ void FilterCache::impl_validateAndOptimize()
// Note: of course the default loader must be ignored here.
// Because we replace its registration later completely with all
// types, which are not referenced by any other loader.
// So we can avaoid our code against the complexity of a diff!
// So we can avoid our code against the complexity of a diff!
OUString sLoader = pIt->first;
if (sLoader.equals(sDefaultFrameLoader))
continue;
@ -1872,7 +1872,7 @@ void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XName
// special handling for flags! Convert it from an integer flag field back
// to a list of names ...
// But note: because we work directly on a reference to the cache item,
// its not allowd to change the value here. We must work on a copy!
// its not allowed to change the value here. We must work on a copy!
pIt = aItem.find(PROPNAME_FLAGS);
if (pIt != aItem.end())
{

View file

@ -4430,7 +4430,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
// mso_sptArc special treating:
// sj: since we actually can't render the arc because of its weird SnapRect settings,
// we will create a new CustomShape, that can be saved/loaded without problems.
// We will change the shape type, so this code applys only if importing arcs from msoffice.
// We will change the shape type, so this code applies only if importing arcs from msoffice.
if ( aObjData.eShapeType == mso_sptArc )
{
const OUString sAdjustmentValues( "AdjustmentValues" );

View file

@ -697,7 +697,7 @@
<xsl:when test="$command = 't' ">
<!-- relative moveto -->
<xsl:variable name="new-enhanced-path" select="concat($enhanced-path ,' M ' ) "/>
<!--####maybe this is not crect because t r and v hasn't direct image in enhaced-path-->
<!--####maybe this is not created because t r and v haven't direct image in enhanced-path-->
<xsl:variable name="num-and-pos">
<xsl:call-template name="get-number-after">
<xsl:with-param name="vml-path" select="$vml-path"/>
@ -716,7 +716,7 @@
</xsl:when>
<xsl:when test="$command = 'r' ">
<!-- relative lineto -->
<!--####maybe this is not crect because 't' 'r' and 'v' hasn't direct image in enhaced-path-->
<!--####maybe this is not created because 't' 'r' and 'v' haven't direct image in enhanced-path-->
<!-- 'l' command is not supported currently, so we use 'L' -->
<xsl:message>'l' command is not supported currently, so we use 'L'. This may case problem.</xsl:message>
<xsl:variable name="new-enhanced-path" select="concat($enhanced-path ,' L ' ) "/>
@ -742,7 +742,7 @@
</xsl:when>
<xsl:when test="$command = 'v' ">
<!-- relative curveto -->
<!--####maybe this is not crect because 't' 'r' and 'v' hasn't direct image in enhaced-path-->
<!--####maybe this is not created because 't' 'r' and 'v' haven't direct image in enhanced-path-->
<xsl:variable name="new-enhanced-path" select="concat($enhanced-path ,' C ' ) "/>
<!--<xsl:variable name="control-and-pos">
<xsl:call-template name="get-number-after">

View file

@ -101,7 +101,7 @@ public class CellBinding extends complexlib.ComplexTestCase
final String otherText = "something else";
final String yetAnotherText = "yet another text";
// cretae a normal text control
// create a normal text control
XPropertySet controlModel = m_formLayer.createControlAndShape( "DatabaseTextField", 30, 9, 30, 6 );
// bind it to cell A1

View file

@ -86,7 +86,7 @@ CDIBPreview::CDIBPreview(HINSTANCE instance,HWND parent,sal_Bool bShowWindow) :
if (!IsWindow(m_Hwnd))
{
SAL_WARN("fpicker","Coud not create preview window");
SAL_WARN("fpicker","Could not create preview window");
UnregisterDibPreviewWindowClass();
throw std::runtime_error("Could not create preview window");
}

View file

@ -441,7 +441,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
/**
@short search for a registered protocol handler and ask him for a dispatch object
@descr Wes earch a suitable handler inside our cfg package org.openoffice.Office.ProtocolHandler.
@descr We search a suitable handler inside our cfg package org.openoffice.Office.ProtocolHandler.
If we found anyone, we create and initialize it. Initialize means: we set our owner frame on it
as context information. He can use it or leave it. Of course - we are aware of handler implementations,
which doesn't support initialization. It's an optional feature.

View file

@ -1639,7 +1639,7 @@ Mutex& AddonsOptions::GetOwnStaticMutex()
// ... we must create a new one. Protect follow code with the global mutex -
// It must be - we create a static variable!
MutexGuard aGuard( Mutex::getGlobalMutex() );
// We must check our pointer again - because it can be that another instance of our class will be fastr then these!
// We must check our pointer again - because it can be that another instance of our class will be faster than these!
if( pMutex == NULL )
{
// Create the new mutex and set it for return on static variable.

View file

@ -303,7 +303,7 @@ public:
*/
void startLoading();
/** @short wait for an alreay running load request (started by calling
/** @short wait for an already running load request (started by calling
startLoading() before).
@descr The timeout parameter can be used to wait some times only

View file

@ -2504,9 +2504,9 @@ void AutoRecovery::implts_registerDocument(const css::uno::Reference< css::frame
// classify the used application module, which is used by this document.
implts_specifyAppModuleAndFactory(aNew);
// Hack! Check for "illegal office documents" ... as e.g. the Basic IDE
// Hack! Check for "illegal office documents"... as e.g. the Basic IDE
// Its not really a full featured office document. It doesn't provide an URL, any filter, a factory URL etcpp.
// TODO file bug to Basci IDE developers. They must remove the office document API from its service.
// TODO file bug to Basic IDE developers. They must remove the office document API from its service.
if (
(aNew.OrgURL.isEmpty()) &&
(aNew.FactoryURL.isEmpty())
@ -2598,8 +2598,8 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
} /* SAFE */
/* This method is called within disposing() of the document too. But there it's not a good idea to
deregister us as listener. Furter it make no sense - because the broadcaster dies.
So we suppress deregistration in such case ...
deregister us as listener. Further it make no sense - because the broadcaster dies.
So we suppress deregistration in such case...
*/
if (bStopListening)
implts_stopModifyListeningOnDoc(aInfo);

View file

@ -1738,14 +1738,14 @@ void SAL_CALL Frame::close( sal_Bool bDeliverOwnership ) throw( css::util::Close
{
TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS );
// At the end of this method may we must dispose ourself ...
// and may nobody from outside hold a reference to us ...
// At the end of this method may we must dispose ourself...
// and may nobody from outside hold a reference to us...
// then it's a good idea to do that by ourself.
css::uno::Reference< css::uno::XInterface > xSelfHold( static_cast< ::cppu::OWeakObject* >(this) );
// Check any close listener before we look for currently running internal processes.
// Because if a listener disagree with this close() request - we hace time to finish this
// internal operations too ...
// Because if a listener disagree with this close() request - we have time to finish this
// internal operations too...
// Note: container is threadsafe himself.
css::lang::EventObject aSource (static_cast< ::cppu::OWeakObject*>(this));
::cppu::OInterfaceContainerHelper* pContainer = m_aListenerContainer.getContainer( cppu::UnoType<css::util::XCloseListener>::get());

View file

@ -361,7 +361,7 @@ WordBreakCache& xdictionary::getCache(const sal_Unicode *text, Boundary& wordBou
sal_Int32 i = 0; // loop variable
while (rCache.wordboundary[i] < rCache.length) {
len = 0;
// look the continuous white space as one word and cashe it
// look the continuous white space as one word and cache it
while (u_isWhitespace((sal_uInt32)text[wordBoundary.startPos + rCache.wordboundary[i] + len]))
len ++;

View file

@ -134,7 +134,7 @@ cclass_Unicode::getCharacterDirection( const OUString& Text, sal_Int32 nPos ) th
sal_Int16 SAL_CALL
cclass_Unicode::getScript( const OUString& Text, sal_Int32 nPos ) throw(RuntimeException, std::exception) {
if ( nPos < 0 || Text.getLength() <= nPos ) return 0;
// ICU Unicode script type UBlockCode starts from 1 for Basci Latin,
// ICU Unicode script type UBlockCode starts from 1 for Basic Latin,
// while OO.o enum UnicideScript starts from 0.
// To map ICU UBlockCode to OO.o UnicodeScript, it needs to shift 1.
return (sal_Int16) ublock_getCode(Text.iterateCodePoints(&nPos, 0))-1;

View file

@ -160,7 +160,7 @@ namespace basegfx
// extract snippet from fStart to fEnd from this bezier
B2DCubicBezier snippet(double fStart, double fEnd) const;
// get range including conrol points
// get range including control points
B2DRange getRange() const;
/** Get the minimum extremum position t

View file

@ -358,7 +358,7 @@ public:
Point GetDocPos( const Point& rPaperPos ) const;
bool IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder = 0 );
// StartDocPos corrresponds to VisArea.TopLeft().
// StartDocPos corresponds to VisArea.TopLeft().
void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect );
void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const Point& rStartDocPos );
void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const Point& rStartDocPos, bool bClip );

View file

@ -157,10 +157,10 @@ class FWE_DLLPUBLIC FrameListAnalyzer
public:
/** starts analyze phase and fille all members with valid information.
/** starts analyze phase and fill all members with valid information.
@param xSupplier
Must be a valid reference to a frames supplier, which provies
Must be a valid reference to a frames supplier, which provides
access to the frame list for analyzing.
@param xReferenceFrame

View file

@ -1400,7 +1400,7 @@ public:
Returns the first character from this string.
@return the first character from this string or 0, if this string
is emptry.
is empty.
*/
sal_Char toChar() const
{

View file

@ -2134,7 +2134,7 @@ public:
Returns the first character from this string.
@return the first character from this string or 0, if this string
is emptry.
is empty.
*/
sal_Unicode toChar() const
{

View file

@ -717,7 +717,7 @@ public:
value. Tries to match a rSymbol with rExtension first, then with
eFormatLanguage, then rSymbol only. This is because a currency entry
might have been constructed using I18N locale data where a used locale
of a currrency format code must not necessarily match the locale of
of a currency format code must not necessarily match the locale of
the locale data itself, e.g. [$HK$-40C] (being "zh_HK" locale) in
zh_CN locale data. Here the rExtension would have the value 0x40c but
eFormatLanguage of the number format would have the value of zh_CN

View file

@ -187,7 +187,7 @@ public:
/*
Window-Bits:
WB_ICON // Text beneth the icon
WB_ICON // Text beneath the icon
WB_SMALL_ICON // Text right to the icon, position does not mind
WB_DETAILS // Text right to the icon, limited positioning
WB_BORDER
@ -201,7 +201,7 @@ public:
WB_NODRAGSELECTION // No selection with tracking rectangle
WB_NOCOLUMNHEADER // No Headerbar in Details view (Headerbar not implemented)
WB_NOPOINTERFOCUS // No GrabFocus at MouseButtonDown
WB_HIGHLIGHTFRAME // The entry beneth the mouse willbe highlighted
WB_HIGHLIGHTFRAME // The entry beneath the mouse will be highlighted
WB_NOASYNCSELECTHDL // Do not collect events -> Selection handlers will be called synchronously
*/

View file

@ -173,7 +173,7 @@ protected:
m_pEmbeddedHelper; // helper for embedded objects to get rid of the SfxObjectShell
SdrOutliner* pDrawOutliner; // an Outliner for outputting text
SdrOutliner* pHitTestOutliner;// an Outliner for the HitTest
sal_uIntPtr nDefTextHgt; // Default text heigth in logical units
sal_uIntPtr nDefTextHgt; // Default text height in logical units
VclPtr<OutputDevice> pRefOutDev; // ReferenceDevice for the EditEngine
/// Set if we are doing tiled rendering.
bool mbTiledRendering;
@ -354,7 +354,7 @@ public:
void libreOfficeKitCallback(int nType, const char* pPayload) const;
// If a new MapMode is set on the RefDevice (or similar)
void RefDeviceChanged(); // not yet implemented
// default font heigth in logical units
// default font height in logical units
void SetDefaultFontHeight(sal_uIntPtr nVal);
sal_uIntPtr GetDefaultFontHeight() const { return nDefTextHgt; }
// default tabulator width for the EditEngine

View file

@ -750,9 +750,9 @@ void LwpTableLayout::RegisterStyle()
// Parse table
ParseTable();
//Comment:The old code doesn't check if the LwpFoundry pointer is NULL,
// So the NULL pointer cause sodc frozee. Add code to check the
// the pointer.
//Comment: the old code doesn't check if the LwpFoundry pointer is NULL,
// so the NULL pointer cause sodc freeze. Add code to check the
// the pointer.
//New Code
if( GetFoundry() && GetTable() )

View file

@ -1,4 +1,4 @@
Run the script in WriterDemo.vbs with Windows Script Host.
Commmand line:
Command line:
cscript WriterDemo.vbs

View file

@ -135,7 +135,7 @@ public class DocumentConverter {
// Storing and converting the document
xStorable.storeAsURL(sStoreUrl, propertyValues);
// Closing the converted document. Use XCloseable.clsoe if the
// Closing the converted document. Use XCloseable.close if the
// interface is supported, otherwise use XComponent.dispose
com.sun.star.util.XCloseable xCloseable =
UnoRuntime.queryInterface(

View file

@ -173,7 +173,7 @@ public class StyleInitialization {
// BEGIN: 'Finding a suitable style' Section from the Tutorial
// craete a supplier to get the styles-collection
// create a supplier to get the styles-collection
com.sun.star.style.XStyleFamiliesSupplier xSupplier = null;
xSupplier = UnoRuntime.queryInterface(
com.sun.star.style.XStyleFamiliesSupplier.class, xTextDocument );

View file

@ -24,7 +24,7 @@ import share.LogWriter;
import util.*;
/**
* This class support you to execute some shell commands in a buld environment. At every call of commands
* This class support you to execute some shell commands in a build environment. At every call of commands
* a build environment was created and the commands will be executed.
*
*/

View file

@ -655,7 +655,7 @@ public class OfficeProvider implements AppProvider
/**
* If the office is connected but the <CODE>AppExecutionCommand</CODE> is not set,
* this function asks the office for its location and fill the
* <CODE>AppExecutionCommand</CODE> with valid contet.
* <CODE>AppExecutionCommand</CODE> with valid contest.
* This function was only called if parameter <CODE>AutoRestart</CODE> is set.
* @param msf the <CODE>MultiServiceFactory</CODE>
* @param param the <CODE>TestParameters</CODE>

View file

@ -61,7 +61,7 @@ public class DynamicClassLoader {
/**
* Get an instance of a class. The constructor matching to the
* given calss types is used and the instance is created using the arguments
* given calls types is used and the instance is created using the arguments
* for the constructor.
* @param className The class to instantiate.
* @param ctorClassTypes The class types matching to the constructor.

View file

@ -210,7 +210,7 @@ public class XMLTools {
* If any collisions found appropriate error message is
* output into a stream specified. No XML data output, i.e.
* no output will be performed if no errors occur.<p>
* After document is completed there is a way to cehck
* After document is completed there is a way to check
* if the XML data and structure was valid.
*/
private static class XMLWellFormChecker extends XMLWriter {

View file

@ -200,7 +200,7 @@ public class _XWindow extends MultiMethodTest {
* performed depending on 'XWindow.ControlShape' existence. If this
* relation exists then the size and position of container control
* shape is changed, else the position and size of window itself is
* chaged<p>
* changed<p>
*
* Has <b> OK </b> status if methods of wListener were called when
* corresponding events occurred. <p>

View file

@ -36,7 +36,7 @@ import com.sun.star.lang.WrappedTargetException;
* <ul>
* <li> <code>'ENUM'</code> (of type <code>XEnumerationAccess</code>):
* This test creates its own oObj because the method nextElement()
* will be modified this Object directly so other threads may be faild.
* will be modified this Object directly so other threads may be failed.
* </li>
* <ul> <p>
* Test is multithread compliant. <p>

View file

@ -38,7 +38,7 @@ import com.sun.star.uno.UnoRuntime;
* for more information.</li>
* <li> <code>'NAMEREPLACE'</code> <b>optional</b>: <code>String</code>
* relation which represents element name to be replaced.
* Some Objects can't replace the firsr that comes along, i.e.
* Some Objects can't replace the first that comes along, i.e.
* SwXStyleFamily. It has some pool styles which can't be replaced.
* So the test need a special object to replace it by name. </li>
* <li> <code>'XNameReplaceINDEX'</code> : For internal test
@ -109,7 +109,7 @@ public class _XNameReplace extends MultiMethodTest {
XNameAccess oNameAccess = UnoRuntime.queryInterface(
XNameAccess.class, oObj);
oNames = oNameAccess.getElementNames();
/* Some Objects can't replace the firsr that comes along, i.e.
/* Some Objects can't replace the first that comes along, i.e.
SwXStyleFamily. It has some pool styles which can't be replaced.
So the test need a special object to replace it by name.
*/

View file

@ -90,9 +90,9 @@ public class _TableAutoFormatField extends MultiPropertyTest {
}
/**
* Locale values are predefined and can't be chaged arbitrary.
* Locale values are predefined and can't be arbitrary changed.
* In this property value is changed from ('de', 'DE', '')
* to ('es', 'ES', '') and vise versa.
* to ('es', 'ES', '') and vice versa.
*/
public void _CharLocale() {
testProperty("CharLocale", new PropertyTester() {

View file

@ -137,7 +137,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
* Tested method returns all cells of a given type, defind in
* Tested method returns all cells of a given type, defined in
* CellFlags
* @see com.sun.star.sheet.CellFlags
*/
@ -191,7 +191,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
* Tested method returns all cells of a given type, defind in
* Tested method returns all cells of a given type, defined in
* FormulaResult
* @see com.sun.star.sheet.FormulaResult
*/
@ -297,4 +297,4 @@ public class _XCellRangesQuery extends MultiMethodTest {
disposeEnvironment();
}
}
}
}

View file

@ -110,7 +110,7 @@ public class _XAutoTextContainer extends MultiMethodTest {
result &= true;
} catch (com.sun.star.container.NoSuchElementException e) {
result = false;
log.println("removeByName(): " + e + " -> FAILD");
log.println("removeByName(): " + e + " -> FAILED");
}
log.println("2nd removeByName()");

View file

@ -124,7 +124,7 @@ public class _XText extends MultiMethodTest {
/**
* Removes the text contet added before. <p>
* Removes the text contest added before. <p>
* Has <b> OK </b> status if the method successfully returns
* and no exceptions were thrown. <p>
* The following method tests are to be completed successfully before :