Kaydet (Commit) e544f449 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Michael Stahl

Fix typos

Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920
Signed-off-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 307edd41
......@@ -390,7 +390,7 @@ REG_DLLPUBLIC bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hReg);
/** This function opens a registry with the specified name.
@param registryName points to a null terminated string specifying the name of the registry.
@param phRegistry points to a hanle of the opened registry if the function succeeds otherwise NULL.
@param phRegistry points to a handle of the opened registry if the function succeeds otherwise NULL.
@param accessMode specifies the accessmode of the registry, RegAccessMode::READONLY or RegAccessMode::READWRITE.
@return REG_NO_ERROR if succeeds else an error code.
*/
......
......@@ -224,7 +224,7 @@ public class MasterPageFactory
}
catch (CloneNotSupportedException cne)
{
throw new IllegalStateException("Implementation error: Unable to derive page", cne);
throw new IllegalStateException("Implementation error: unable to derive page", cne);
}
}
......
......@@ -567,7 +567,7 @@ oslFileError SAL_CALL osl_createDirectoryPath(
osl::systemPathRemoveSeparator(sys_path);
// const_cast because sys_path is a local copy which we want to modify inplace instead of
// coyp it into another buffer on the heap again
// copy it into another buffer on the heap again
return create_dir_recursively_(sys_path.pData->buffer, aDirectoryCreationCallbackFunc, pData);
}
......
......@@ -682,7 +682,7 @@ oslFileError SAL_CALL osl_createDirectoryPath(
// const_cast because sys_path is a local copy
// which we want to modify inplace instead of
// coyp it into another buffer on the heap again
// copy it into another buffer on the heap again
return oslTranslateFileError(create_dir_recursively_(
sys_path.pData, aDirectoryCreationCallbackFunc, pData));
}
......
......@@ -407,7 +407,7 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
(
"length of ascci string of size 1",
"length of ascii string of size 1",
aStrBuf.getLength() == expVal
);
}
......@@ -538,7 +538,7 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
(
"capacity of ascci string of size 1",
"capacity of ascii string of size 1",
aStrBuf.getCapacity() == expVal
);
}
......
......@@ -467,8 +467,8 @@ void ScFiltersTest::testLegacyCellAnchoredRotatedShape()
{
{
// This example doc contains cell anchored shape that is rotated, the
// rotated shape is in fact cliped by the sheet boundries ( and thus
// is a good edge case test to see if we import it still correctly )
// rotated shape is in fact clipped by the sheet boundries (and thus
// is a good edge case test to see if we import it still correctly)
ScDocShellRef xDocSh = loadDoc("legacycellanchoredrotatedclippedshape.", ODS);
ScDocument& rDoc = xDocSh->GetDocument();
......
......@@ -2032,7 +2032,7 @@ void Test::testPivotTableDocFunc()
CPPUNIT_ASSERT_MESSAGE("Failed to create pivot table object.", pDPObj);
// Craete a new pivot table output.
// Create a new pivot table output.
ScDBDocFunc aFunc(getDocShell());
bool bSuccess = aFunc.CreatePivotTable(*pDPObj, false, true);
CPPUNIT_ASSERT_MESSAGE("Failed to create pivot table output via ScDBDocFunc.", bSuccess);
......
......@@ -543,7 +543,7 @@ public:
};
/** Represents a STYLE record containing the data of a cell style.
@descr The calss is able to store built-in and user-defined styles. */
@descr The class is able to store built-in and user-defined styles. */
class XclExpStyle : public XclExpRecord
{
public:
......
......@@ -372,7 +372,7 @@ Rectangle ScAccessiblePageHeader::GetBoundingBox() const throw (uno::RuntimeExce
else
rData.GetFooterPosition( aRect );
// the Rectangle could contain negative coordinates so it should be cliped
// the Rectangle could contain negative coordinates so it should be clipped
Rectangle aClipRect(Point(0, 0), aRect.GetSize());
vcl::Window* pWindow = mpViewShell->GetWindow();
if (pWindow)
......
......@@ -59,7 +59,7 @@ private:
ScEditEngineDefaulter* pEngine; ///< Edited data in the sheet (when the user clicks into the sheet, and starts writing there).
EditView* pTableView; // associated active EditView
EditView* pTopView; // EditView in dthe input row
EditView* pTopView; // EditView in the input row
ScTypedCaseStrSet* pColumnData;
ScTypedCaseStrSet* pFormulaData;
......
......@@ -305,7 +305,7 @@ private:
ScVbaPalette m_Palette;
sal_Int32 getTableIndex( sal_Int32 nConst )
{
// hokay return position of the index in the table
// okay return position of the index in the table
sal_Int32 nIndexes = getCount();
sal_Int32 realIndex = 0;
const sal_Int16* pTableEntry = supportedIndexTable;
......
......@@ -1782,7 +1782,7 @@ ScVbaRange::HasFormula() throw (uno::RuntimeException, std::exception)
if ( pFormulaRanges->GetRangeList().empty() )
return uno::makeAny(sal_False);
// chech if there are holes (where some cells are not formulas)
// check if there are holes (where some cells are not formulas)
// or returned range is not equal to this range
if ( ( pFormulaRanges->GetRangeList().size() > 1 )
|| ( pFormulaRanges->GetRangeList().front()->aStart != pThisRanges->GetRangeList().front()->aStart )
......
......@@ -2578,7 +2578,7 @@ bool isDPSourceValid(const ScDPObject& rDPObj)
const ScDPCache* pCache = pDesc->CreateCache(pDimData);
if (!pCache)
// cashe creation failed, probably due to invalid connection.
// cache creation failed, probably due to invalid connection.
return false;
}
return true;
......
......@@ -306,7 +306,7 @@ throw ( provider::ScriptFrameworkErrorException,
Reference< provider::XScript > xScript;
// If the script location is in the same location context as this
// MSP then delate to the lanaguage provider controlled by this MSP
// MSP then delete to the lanaguage provider controlled by this MSP
// ** Special case is BASIC, all calls to getScript will be handled
// by the language script provider in the current location context
// even if its different
......
......@@ -49,7 +49,7 @@ public:
The priority class in which to insert the request with highest
or lowest priority.
@param bInsertWithHighestPriority
When this flag is <TRUE/> the request is inserted with highes
When this flag is <TRUE/> the request is inserted with highest
priority in its class. When <FALSE/> the request is inserted
with lowest priority.
*/
......
......@@ -1959,7 +1959,7 @@ void AccessibleNotes::NotifyCaretChange (
if (nOldParagraphIndex != nNewParagraphIndex)
{
// Moved caret from one paragraph to another (or showed or
// hid the caret). Move focuse from one accessible
// hid the caret). Move focus from one accessible
// paragraph to another.
if (nOldParagraphIndex >= 0)
{
......
......@@ -733,7 +733,7 @@ void SfxSplitWindow::InsertWindow_Impl( SfxDock_Impl* pDock,
if ( GetItemCount( 0 ) == 1 && GetItemCount( 1 ) == 1 )
{
// The Rearranging in WorkWindow and a Show() on the SplitWindow is
// caues by SfxDockingwindow (->SfxWorkWindow::ConfigChild_Impl)
// caused by SfxDockingwindow (->SfxWorkWindow::ConfigChild_Impl)
if ( !bPinned && !IsFloatingMode() )
{
bPinned = true;
......@@ -815,7 +815,7 @@ void SfxSplitWindow::RemoveWindow( SfxDockingWindow* pDockWin, bool bHide )
// removing the last DockingWindows.
if ( GetItemCount( nSet ) == 1 && GetItemCount( 0 ) == 1 )
{
// The Rearranging in WorkWindow is caues by SfxDockingwindow
// The Rearranging in WorkWindow is caused by SfxDockingwindow
Hide();
pEmptyWin->aTimer.Stop();
sal_uInt16 nRealState = pEmptyWin->nState;
......
......@@ -385,7 +385,7 @@ void SfxFrame::GetViewData_Impl()
pSet->Put( SfxUInt16Item( SID_VIEW_ID, pViewFrame->GetCurViewId() ) );
if ( pChildArr )
{
// For Framesets also the data from the ChildViews hace to be processed
// For Framesets also the data from the ChildViews have to be processed
sal_uInt16 nCount = pChildArr->size();
for ( sal_uInt16 n=nCount; n>0; n--)
{
......
......@@ -392,7 +392,7 @@ void read_file(
}
}
/** A simple helper function that appens the
/** A simple helper function that happens the
content of one file to another one */
void concatenate_files(std::ostream& os, std::istream& is)
{
......
......@@ -45,7 +45,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 "")
{
......
......@@ -47,7 +47,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 "")
{
......
......@@ -55,7 +55,7 @@ BEGIN {
} else {
# because MSVC stupidly prints the include files on stderr, it's
# necessary to forward everything that isn't matched by the pattern
# so users get to see compiler errros
# so users get to see compiler errors
if (firstline) { # ignore the line that just prints name of sourcefile
firstline = 0
} else {
......
......@@ -107,7 +107,7 @@ enum StgEntryTime { // time codes:
//StructuredStorageDirectoryEntry
class StgEntry
{ // directory enty
{ // directory entry
sal_uInt16 nName[ 32 ]; // 00 name as WCHAR
sal_uInt16 nNameLen; // 40 size of name in bytes including 00H
sal_uInt8 cType; // 42 entry type
......
......@@ -1191,7 +1191,7 @@ void SAL_CALL JavaVirtualMachine::elementReplaced(
if(pJNIEnv->ExceptionOccurred()) throw css::uno::RuntimeException("JNI:GetMethodID java.util.Properties.remove", 0);
pJNIEnv->CallObjectMethod( joProperties, jmRemove, jsPropName);
// special calse for ftp.nonProxyHosts and http.nonProxyHosts. The office only
// special case for ftp.nonProxyHosts and http.nonProxyHosts. The office only
// has a value for two java properties
if (!aPropertyName2.isEmpty())
{
......@@ -1208,7 +1208,7 @@ void SAL_CALL JavaVirtualMachine::elementReplaced(
pJNIEnv->CallStaticObjectMethod( jcSystem, jmSetProps, jsPropName, jsPropValue);
if(pJNIEnv->ExceptionOccurred()) throw css::uno::RuntimeException("JNI:CallStaticObjectMethod java.lang.System.setProperty", 0);
// special calse for ftp.nonProxyHosts and http.nonProxyHosts. The office only
// special case for ftp.nonProxyHosts and http.nonProxyHosts. The office only
// has a value for two java properties
if (!aPropertyName2.isEmpty())
{
......
......@@ -517,7 +517,7 @@ Mutex& SvtBasePrintOptions::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.
......
......@@ -164,7 +164,7 @@ static OUString ImplMakeSearchStringFromName(const OUString& rStr)
ImplFontListNameInfo* FontList::ImplFind(const OUString& rSearchName, sal_uLong* pIndex) const
{
// Append if there is no enty in the list or if the entry is larger
// Append if there is no entry in the list or if the entry is larger
// then the last one. We only compare to the last entry as the list of VCL
// is returned sorted, which increases the probability that appending
// is more likely
......
......@@ -60,7 +60,7 @@ const OUString ApplyLreOrRleEmbedding( const OUString &rText )
const sal_Unicode cRLE_Embedding = 0x202B; // the start char of an RLE embedding
const sal_Unicode cPopDirectionalFormat = 0x202C; // the unicode PDF (POP_DIRECTIONAL_FORMAT) char that terminates an LRE/RLE embedding
// check if there are alreay embedding characters at the strings start
// check if there are already embedding characters at the strings start
// if so change nothing
const sal_Unicode cChar = rText[0];
if (cChar == cLRE_Embedding || cChar == cRLE_Embedding)
......
......@@ -306,7 +306,7 @@ namespace svt { namespace table
aRetText = "Grid control";
break;
case TCTYPE_TABLE:
aRetText = "Grid conrol";
aRetText = "Grid control";
break;
case TCTYPE_ROWHEADERBAR:
aRetText = "RowHeaderBar";
......
......@@ -642,9 +642,9 @@ void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus )
svx::SvxShowCharSetItem* pItem = ImplGetItem(nSelectedIndex);
// Don't fire the focus event.
if ( bFocus )
m_pAccessible->fireEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED, Any(), makeAny(pItem->GetAccessible()) ); // this call asures that m_pItem is set
m_pAccessible->fireEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED, Any(), makeAny(pItem->GetAccessible()) ); // this call assures that m_pItem is set
else
m_pAccessible->fireEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED_NOFOCUS, Any(), makeAny(pItem->GetAccessible()) ); // this call asures that m_pItem is set
m_pAccessible->fireEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED_NOFOCUS, Any(), makeAny(pItem->GetAccessible()) ); // this call assures that m_pItem is set
assert(pItem->m_pItem && "No accessible created!");
Any aOldAny, aNewAny;
......
......@@ -172,7 +172,7 @@ void Impl3DMirrorConstructOverlay::SetMirrorAxis(Point aMirrorAxisA, Point aMirr
if(xTargetOverlay.is())
{
// buld transfoprmation: translate and rotate so that given edge is
// build transfoprmation: translate and rotate so that given edge is
// on x axis, them mirror in y and translate back
const basegfx::B2DVector aEdge(aMirrorAxisB.X() - aMirrorAxisA.X(), aMirrorAxisB.Y() - aMirrorAxisA.Y());
basegfx::B2DHomMatrix aMatrixTransform(basegfx::tools::createTranslateB2DHomMatrix(
......
......@@ -1337,7 +1337,7 @@ sal_Int8 FmFilterNavigator::AcceptDrop( const AcceptDropEvent& rEvt )
if (!OFilterItemExchange::hasFormat(GetDataFlavorExVector()))
return DND_ACTION_NONE;
// do we conain the formitem?
// do we contain the formitem?
if (!FindEntry(m_aControlExchange->getFormItem()))
return DND_ACTION_NONE;
......
......@@ -66,7 +66,7 @@ void ViewContactOfPageObj::ActionChanged()
drawinglayer::primitive2d::Primitive2DSequence ViewContactOfPageObj::createViewIndependentPrimitive2DSequence() const
{
// ceate graphical visualisation data. Since this is the view-independent version which should not be used,
// create graphical visualisation data. Since this is the view-independent version which should not be used,
// create a replacement graphic visualisation here. Use GetLastBoundRect to access the model data directly
// which is aOutRect for SdrPageObj.
const Rectangle aModelRectangle(GetPageObj().GetLastBoundRect());
......
......@@ -118,7 +118,7 @@ namespace sdr
rGeoStat.nRotationAngle ? (36000 - rGeoStat.nRotationAngle) * F_PI18000 : 0.0,
aObjectRange.getMinX(), aObjectRange.getMinY());
// ceate unit polygon from object's absolute path
// create unit polygon from object's absolute path
basegfx::B2DHomMatrix aInverse(aObjectMatrix);
aInverse.invert();
aUnitPolyPolygon.transform(aInverse);
......
......@@ -1063,7 +1063,7 @@ com_sun_star_comp_Svx_GraphicImportHelper_get_implementation(
SvXMLGraphicHelper that only gets the create mode
To write the Pictures stream, you have to call dispose at this component.
Make sure you call dipose before you commit the parent storage.
Make sure you call dispose before you commit the parent storage.
uses eCreateMode == GRAPHICHELPER_MODE_WRITE, bDirect == sal_True in
SvXMLGraphicHelper
......
......@@ -871,7 +871,7 @@ public:
SwTableFormat* FindTableFormatByName( const OUString& rName, bool bAll = false ) const;
/** Access to frames.
Iterate over Flys - forr Basic-Collections. */
Iterate over Flys - for Basic-Collections. */
size_t GetFlyCount( FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ) const;
SwFrameFormat* GetFlyNum(size_t nIdx, FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false );
......
......@@ -470,7 +470,7 @@ bool SwPaM::DoSearch( const SearchOptions& rSearchOpt, utl::TextSearch& rSText,
OUString sCleanStr;
std::vector<sal_Int32> aFltArr;
LanguageType eLastLang = 0;
// if the search string contains a soft hypen,
// if the search string contains a soft hyphen,
// we don't strip them from the text:
bool bRemoveSoftHyphens = true;
......
......@@ -98,7 +98,7 @@ DocumentChartDataProviderManager::~DocumentChartDataProviderManager()
// clean up chart related structures...
// Note: the chart data provider gets already disposed in ~SwDocShell
// since all UNO API related functionality requires an existing SwDocShell
// this assures that dipose gets called if there is need for it.
// this assures that dispose gets called if there is need for it.
maChartDataProviderImplRef.clear();
delete mpChartControllerHelper;
}
......
......@@ -1418,11 +1418,11 @@ namespace //local functions originally from docfmt.cxx
if( pStt->nNode == pEnd->nNode )
{
//The data parameter flag: bExpandCharToPara, comes from the data member of SwDoc,
//Which is set in SW MS word Binary filter WW8ImplRreader. With this flag on, means that
//current setting attribute set is a character range properties set and comes from a MS word
//binary file, And the setting range include a paragraph end position (0X0D);
//More specifications, as such property inside the character range properties set recorded in
//MS word binary file are dealed and inserted into data model (SwDoc) one by one, so we
//which is set in SW MS Word Binary filter WW8ImplRreader. With this flag on, means that
//current setting attribute set is a character range properties set and comes from a MS Word
//binary file, and the setting range include a paragraph end position (0X0D);
//more specifications, as such property inside the character range properties set recorded in
//MS Word binary file are dealed and inserted into data model (SwDoc) one by one, so we
//only dealing the scenario that the char properties set with 1 item inside;
if (bExpandCharToPara && pCharSet && pCharSet->Count() ==1 )
......@@ -1536,11 +1536,11 @@ namespace //local functions originally from docfmt.cxx
}
//The data parameter flag: bExpandCharToPara, comes from the data member of SwDoc,
//Which is set in SW MS word Binary filter WW8ImplRreader. With this flag on, means that
//current setting attribute set is a character range properties set and comes from a MS word
//binary file, And the setting range include a paragraph end position (0X0D);
//More specifications, as such property inside the character range properties set recorded in
//MS word binary file are dealed and inserted into data model (SwDoc) one by one, so we
//which is set in SW MS Word Binary filter WW8ImplRreader. With this flag on, means that
//current setting attribute set is a character range properties set and comes from a MS Word
//binary file, and the setting range include a paragraph end position (0X0D);
//more specifications, as such property inside the character range properties set recorded in
//MS Word binary file are dealed and inserted into data model (SwDoc) one by one, so we
//only dealing the scenario that the char properties set with 1 item inside;
if (bExpandCharToPara && pCharSet && pCharSet->Count() ==1)
{
......
......@@ -513,7 +513,7 @@ class SwTextFormatInfo : public SwTextPaintInfo
SwTabPortion *pLastTab; // The _last_ TabPortion
sal_Int32 nSoftHyphPos; // SoftHyphPos forr Hyphenation
sal_Int32 nSoftHyphPos; // SoftHyphPos for Hyphenation
sal_Int32 nLineStart; // Current line start in rText
sal_Int32 nUnderScorePos; // enlarge repaint if underscore has been found
// #i34348# Changed type from sal_uInt16 to SwTwips
......
......@@ -310,7 +310,7 @@ void SwTextPainter::DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip,
SeekAndChg( GetInfo() );
else if ( !bFirst && pPor->IsBreakPortion() && GetInfo().GetOpt().IsParagraph() )
{
// Paragraph symbols should have the same fon as the paragraph in fron of them,
// Paragraph symbols should have the same font as the paragraph in front of them,
// except for the case that there's redlining in the paragraph
if( GetRedln() )
SeekAndChg( GetInfo() );
......
......@@ -279,7 +279,7 @@ static bool lcl_HasContent( const SwFieldPortion& rField, SwTextFormatInfo &rInf
bool SwTextPortion::_Format( SwTextFormatInfo &rInf )
{
// 5744: If only the hypen does not fit anymore, we still need to wrap
// 5744: If only the hyphen does not fit anymore, we still need to wrap
// the word, or else return true!
if( rInf.IsUnderflow() && rInf.GetSoftHyphPos() )
{
......
......@@ -2008,7 +2008,7 @@ static void lcl_SetStyleProperty(const SfxItemPropertySimpleEntry& rEntry,
throw lang::IllegalArgumentException();
OSL_ENSURE(COND_COMMAND_COUNT == 28,
"invalid size of comman count?");
"invalid size of command count?");
const beans::NamedValue *pSeq = aSeq.getConstArray();
const sal_Int32 nLen = aSeq.getLength();
......@@ -2452,7 +2452,7 @@ static uno::Any lcl_GetStyleProperty(const SfxItemPropertySimpleEntry& rEntry,
case FN_UNO_PARA_STYLE_CONDITIONS:
{
OSL_ENSURE(COND_COMMAND_COUNT == 28,
"invalid size of comman count?");
"invalid size of command count?");
uno::Sequence< beans::NamedValue > aSeq(COND_COMMAND_COUNT);
beans::NamedValue *pSeq = aSeq.getArray();
......
......@@ -1839,7 +1839,7 @@ void SwViewShell::PaintTile(VirtualDevice &rDevice, int contextWidth, int contex
mbInLibreOfficeKitCallback = true;
mpOut = &rDevice;
// resizes the virtual device so to contain the entrie context
// resizes the virtual device so to contain the entries context
rDevice.SetOutputSizePixel(Size(contextWidth, contextHeight));
// setup the output device to draw the tile
......
......@@ -670,7 +670,7 @@ void DocxAttributeOutput::WriteSdtBlock( sal_Int32& nSdtPrToken,
m_rExport.SdrExporter().setParagraphSdtOpen(true);
}
else
// Support multiple runs inside a run-evel SDT: don't close the SDT block yet.
// Support multiple runs inside a run-level SDT: don't close the SDT block yet.
m_bStartedCharSdt = true;
// clear sdt status
......
......@@ -800,7 +800,7 @@ void WW8AttributeOutput::StartRuby( const SwTextNode& rNode, sal_Int32 /*nPos*/,
/*
MS needs to know the name and size of the font used in the ruby item,
but we coud have written it in a mixture of asian and western
but we could have written it in a mixture of asian and western
scripts, and each of these can be a different font and size than the
other, so we make a guess based upon the first character of the text,
defaulting to asian.
......@@ -1976,7 +1976,7 @@ void MSWordExportBase::GetSortedAnnotationMarks( const SwTextNode& rNode, sal_In
{
IMark* pMark = (*it);
// Remove the positions egals to the current pos
// Remove the positions equal to the current pos
const sal_Int32 nStart = pMark->GetMarkStart().nContent.GetIndex();
const sal_Int32 nEnd = pMark->GetMarkEnd().nContent.GetIndex();
......@@ -2012,7 +2012,7 @@ void MSWordExportBase::GetSortedBookmarks( const SwTextNode& rNode, sal_Int32 nA
{
IMark* pMark = (*it);
// Remove the positions egals to the current pos
// Remove the positions equal to the current pos
const sal_Int32 nStart = pMark->GetMarkStart().nContent.GetIndex();
const sal_Int32 nEnd = pMark->GetMarkEnd().nContent.GetIndex();
......
......@@ -934,7 +934,7 @@ sal_uLong XMLReader::Read( SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, c
// #i44177# - assure that for documents in OpenOffice.org
// file format the relation between outline numbering rule and styles is
// filled-up accordingly.
// Note: The OpenOffice.org file format, which has no content that applys
// Note: The OpenOffice.org file format, which has no content that applies
// a certain style, which is related to the outline numbering rule,
// has lost the information, that this certain style is related to
// the outline numbering rule.
......
......@@ -237,7 +237,7 @@ private:
VbaPalette m_Palette;
sal_Int32 getTableIndex( sal_Int32 nConst )
{
// hokay return position of the index in the table
// okay return position of the index in the table
sal_Int32 nIndexes = getCount();
sal_Int32 realIndex = 0;
const sal_Int16* pTableEntry = supportedIndexTable;
......
......@@ -235,7 +235,7 @@ void SAL_CALL DynamicResultSetWrapper
<p>The Listener is allowed to blockade this call, until he really want to go
to the new version. The only situation, where the listener has to return the
update call at once is, while he disposes his broadcaster or while he is
removing himsef as listener (otherwise you deadlock)!!!
removing himself as listener (otherwise you deadlock)!!!
*/
// handle the actions in the list
......
......@@ -285,7 +285,7 @@ sal_Int16 SAL_CALL SortedDynamicResultSet::getCapabilities()
<p>The Listener is allowed to blockade this call, until he really want to go
to the new version. The only situation, where the listener has to return the
update call at once is, while he disposes his broadcaster or while he is
removing himsef as listener (otherwise you deadlock)!!!
removing himself as listener (otherwise you deadlock)!!!
*/
void SortedDynamicResultSet::impl_notify( const ListEvent& Changes )
throw( RuntimeException )
......
......@@ -1428,7 +1428,7 @@ namespace cmis
}
else
{
SAL_INFO( "ucb.ucp.cmis", "Couln't set property: " << rValue.Name );
SAL_INFO( "ucb.ucp.cmis", "Couldn't set property: " << rValue.Name );
lang::IllegalAccessException e ( OUString("Property is read-only!"),
static_cast< cppu::OWeakObject* >( this ) );
aRet[ n ] <<= e;
......
......@@ -357,7 +357,7 @@ namespace DOM
return len;
}
// clsoe callback
// close callback
//int xmlOutputCloseCallback (void * context)
static int closeCallback(void *context)
{
......
......@@ -145,7 +145,7 @@ void FontCache::flush()
/*
* for each font entry write:
* name[;name[;name]]
* fontnr;PSName;italic;weight;width;pitch;encoding;ascend;descend;leading;vsubst;gxw;gxh;gyw;gyh;useroverrride;embed;antialias[;{metricfile,typeflags}][;stylename]
* fontnr;PSName;italic;weight;width;pitch;encoding;ascend;descend;leading;vsubst;gxw;gxh;gyw;gyh;useroverride;embed;antialias[;{metricfile,typeflags}][;stylename]
*/
if( nEntrySize > 1 )
nSubEntry = static_cast<const PrintFontManager::TrueTypeFontFile*>(*it)->m_nCollectionEntry;
......
......@@ -226,9 +226,9 @@ public class CheckMemoryUsage
}
/**
* Checks how much memory should consum
* Checks how much memory should consume
* @param storageBefore
* @return 1 if consum is ok, else 0
* @return 1 if consume is ok, else 0
*/
private int checkMemory(int nConsumMore)
{
......
......@@ -986,7 +986,7 @@ void Dialog::SetModalInputMode( bool bModal )
{
pSVData->maAppData.mnModalDialog++;
// Diable the prev Modal Dialog, because our dialog must close at first,
// Disable the prev Modal Dialog, because our dialog must close at first,
// before the other dialog can be closed (because the other dialog
// is on stack since our dialog returns)
if ( mpPrevExecuteDlg && !mpPrevExecuteDlg->IsWindowOrChild( this, true ) )
......
......@@ -1074,7 +1074,7 @@ bool SelectionManager::getPasteData( Atom selection, const OUString& rType, Sequ
else if( rType == "image/bmp" )
{
// #i83376# try if someone has the data in image/bmp already before
// doing the PIXMAP stuff (e.g. the gimp has this)
// doing the PIXMAP stuff (e.g. the Gimp has this)
bSuccess = getPasteData( selection, m_nImageBmpAtom, rData );
#if OSL_DEBUG_LEVEL > 1
if( bSuccess )
......
......@@ -3473,7 +3473,7 @@ long X11SalFrame::HandleFocusEvent( XFocusChangeEvent *pEvent )
else
{
/*
* do not unset the IC focuse here because would kill
* do not unset the IC focus here because would kill
* a lookup choice windows that might have the focus now
* mpInputContext->UnsetICFocus( this );
*/
......
......@@ -42,7 +42,7 @@ using namespace com::sun::star::beans;
using namespace std;
/**
* Copys a range of text to the clipboard.
* Copy a range of text to the clipboard.
*
* @param startOffset the start offset of copying.
* @param endOffset the end offset of copying.
......@@ -124,8 +124,8 @@ STDMETHODIMP CAccEditableText::insertText(long offset, BSTR * text)
/**
* Cuts a range of text to the clipboard.
*
* @param startOffset the start offset of cuting.
* @param endOffset the end offset of cuting.
* @param startOffset the start offset of cutting.
* @param endOffset the end offset of cutting.
* @param success the boolean result to be returned.
*/
STDMETHODIMP CAccEditableText::cutText(long startOffset, long endOffset)
......
......@@ -68,7 +68,7 @@ public:
public:
// IAccessibleEditableText
// Copys a range of text to the clipboard.
// Copies a range of text to the clipboard.
STDMETHOD(copyText)(long startOffset, long endOffset);
// Deletes a range of text.
......
......@@ -265,11 +265,11 @@ class AgendaDocument(TextDocument):
'''Initializes a template.<br/>
This method does the following tasks:<br/>
Get a Time and Date format for the document, and retrieve the null
get a Time and Date format for the document, and retrieve the null
date of the document (which is document-specific).<br/>
Initializes the Items Cache map.
Analyses the document:<br/>
-find all "fille-ins" (appear as &gt;xxx&lt; in the document).
-find all "filled-ins" (appear as &gt;xxx&lt; in the document).
-analyze all items sections (and the tables in them).
-locate the titles and actualize them
-analyze the topics table
......
......@@ -338,7 +338,7 @@ Dim nBaseWidth as Long
Set oLocTextShape = oTCShapeList(a)
If CurArrangement = cLeftJustified Then
If nYDBPos + nDBHeight = nMaxRowY Then
&apos; The last Control was the highes in the row
&apos; The last Control was the highest in the row
nYDBPos = nSecMaxRowY + cVertDistance
Else
nYDBPos = nMaxRowY + cVertDistance
......@@ -547,4 +547,4 @@ Dim i as Integer
Else
RemoveNirwanaShapes()
End If
End Sub</script:module>