Fix typos

Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b
Reviewed-on: https://gerrit.libreoffice.org/16408
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
Andrea Gelmini 2015-06-22 14:31:42 +02:00 committed by Michael Stahl
parent eb0c9b43e7
commit aade27554d
60 changed files with 68 additions and 68 deletions

View File

@ -314,7 +314,7 @@ OUString EditorWindow::GetWordAtCursor()
if ( aWord.isEmpty() ) if ( aWord.isEmpty() )
aWord = pTextEngine->GetWord( rSelEnd ); aWord = pTextEngine->GetWord( rSelEnd );
// Can be empty when full word selected, as Cursor behing it // Can be empty when full word selected, as Cursor behind it
if ( aWord.isEmpty() && pEditView->HasSelection() ) if ( aWord.isEmpty() && pEditView->HasSelection() )
aWord = pTextEngine->GetWord( rSelStart ); aWord = pTextEngine->GetWord( rSelStart );
} }

View File

@ -520,7 +520,7 @@ namespace basegfx
// is created; one cut point is known, but there is a 2nd one in the caps geometry. // is created; one cut point is known, but there is a 2nd one in the caps geometry.
// Solve by using tooling. // Solve by using tooling.
// Remark: This nearly never happens due to curve preparations to extreme points // Remark: This nearly never happens due to curve preparations to extreme points
// and maximum angle turning, but I constructed a test case and checkd that it is // and maximum angle turning, but I constructed a test case and checked that it is
// working propery. // working propery.
const B2DPolyPolygon aTemp(tools::solveCrossovers(aBezierPolygon)); const B2DPolyPolygon aTemp(tools::solveCrossovers(aBezierPolygon));
const sal_uInt32 nTempCount(aTemp.count()); const sal_uInt32 nTempCount(aTemp.count());

View File

@ -610,7 +610,7 @@ namespace basegfx
// Ystart again. Some cases lead to a restart of the process, some allow consuming the // Ystart again. Some cases lead to a restart of the process, some allow consuming the
// edges and create the intended trapezoid. // edges and create the intended trapezoid.
// Be careful when doing chages here: It is essential to keep all possible paths // Be careful when doing changes here: it is essential to keep all possible paths
// in valid states and to be numerically correct. This is especially needed e.g. // in valid states and to be numerically correct. This is especially needed e.g.
// by using fTools::equal(..) in the more robust small-value incarnation. // by using fTools::equal(..) in the more robust small-value incarnation.
B1DRange aLeftRange; B1DRange aLeftRange;

View File

@ -40,7 +40,7 @@ public interface OfficeConnection
throws java.net.MalformedURLException; throws java.net.MalformedURLException;
/** /**
* Sets an AWT container catory. * Sets an AWT container factory.
* *
* @param containerFactory This is a application provided AWT container * @param containerFactory This is a application provided AWT container
* factory. * factory.

View File

@ -131,7 +131,7 @@ IMPL_LINK_NOARG_TYPED(DataEditor, ToolboxHdl, ToolBox *, void)
m_xBrwData->SwapRow(); m_xBrwData->SwapRow();
} }
// refresh toolbar icons according to currently selected cell in brwose box // refresh toolbar icons according to currently selected cell in browse box
IMPL_LINK_NOARG(DataEditor, BrowserCursorMovedHdl) IMPL_LINK_NOARG(DataEditor, BrowserCursorMovedHdl)
{ {
if( m_bReadOnly ) if( m_bReadOnly )

View File

@ -155,7 +155,7 @@ public:
getGridProperties( const ::com::sun::star::uno::Reference< getGridProperties( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XCoordinateSystem >& xCooSys ::com::sun::star::chart2::XCoordinateSystem >& xCooSys
, sal_Int32 nDimensionIndex , sal_Int32 nDimensionIndex
, sal_Int32 nAxisIndex //0: Primary axies, 1: secondary axis , sal_Int32 nAxisIndex //0: Primary axis, 1: secondary axis
, sal_Int32 nSubGridIndex = -1 //-1: Main Grid; 0: First SubGrid etc , sal_Int32 nSubGridIndex = -1 //-1: Main Grid; 0: First SubGrid etc
); );

View File

@ -47,8 +47,8 @@ namespace CharacterProperties
PROP_CHAR_FONT_CHAR_SET, PROP_CHAR_FONT_CHAR_SET,
PROP_CHAR_FONT_PITCH, PROP_CHAR_FONT_PITCH,
PROP_CHAR_COLOR, PROP_CHAR_COLOR,
// PROP_CHAR_BACKGROUND_COLOR, // PROP_CHAR_BACKGROUND_COLOR,
//-- PROP_CHAR_BACKGROUND_TRANSPARENCY, alpah channnel in COLOR // PROP_CHAR_BACKGROUND_TRANSPARENCY, alpha channel in COLOR
PROP_CHAR_ESCAPEMENT, PROP_CHAR_ESCAPEMENT,
PROP_CHAR_CHAR_HEIGHT, PROP_CHAR_CHAR_HEIGHT,
PROP_CHAR_UNDERLINE, PROP_CHAR_UNDERLINE,

View File

@ -49,7 +49,7 @@ public:
using ::cppu::WeakComponentImplHelperBase::disposing; using ::cppu::WeakComponentImplHelperBase::disposing;
private: private:
Link<> m_aLink;//will be callef on modify Link<> m_aLink;//will be called on modify
Reference< util::XModifyBroadcaster > m_xBroadcaster;//broadcaster to listen at Reference< util::XModifyBroadcaster > m_xBroadcaster;//broadcaster to listen at
}; };

View File

@ -128,7 +128,7 @@ namespace comphelper
return xValue; return xValue;
} }
// do we have this child in the cahce? // do we have this child in the cache?
AccessibleMap::const_iterator aPos = m_aChildrenMap.find( _rxKey ); AccessibleMap::const_iterator aPos = m_aChildrenMap.find( _rxKey );
if ( m_aChildrenMap.end() != aPos ) if ( m_aChildrenMap.end() != aPos )
{ {

View File

@ -127,7 +127,7 @@ Reference< XConnection > SAL_CALL MozabDriver::connect( const OUString& url, con
if (m_pCreationFunc) if (m_pCreationFunc)
{ {
::osl::MutexGuard aGuard(m_aMutex); ::osl::MutexGuard aGuard(m_aMutex);
//We must make sure we create an com.sun.star.mozilla.MozillaBootstrap brfore call any mozilla codes //We must make sure we create an com.sun.star.mozilla.MozillaBootstrap before call any mozilla codes
Reference<XInterface> xInstance = m_xMSFactory->createInstance("com.sun.star.mozilla.MozillaBootstrap"); Reference<XInterface> xInstance = m_xMSFactory->createInstance("com.sun.star.mozilla.MozillaBootstrap");
OSL_ENSURE( xInstance.is(), "failed to create instance" ); OSL_ENSURE( xInstance.is(), "failed to create instance" );

View File

@ -584,7 +584,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document.
// The basic library should have survived // The basic library should have survived
final XEmbeddedScripts embeddedScripts = UnoRuntime.queryInterface(XEmbeddedScripts.class, databaseDoc); final XEmbeddedScripts embeddedScripts = UnoRuntime.queryInterface(XEmbeddedScripts.class, databaseDoc);
final XStorageBasedLibraryContainer basicLibs = embeddedScripts.getBasicLibraries(); final XStorageBasedLibraryContainer basicLibs = embeddedScripts.getBasicLibraries();
assertTrue( "Baisc lib did not survive reloading a closed document", basicLibs.hasByName( "Lib" ) ); assertTrue( "Basic lib did not survive reloading a closed document", basicLibs.hasByName( "Lib" ) );
final XNameContainer lib = UnoRuntime.queryInterface(XNameContainer.class, basicLibs.getByName("Lib")); final XNameContainer lib = UnoRuntime.queryInterface(XNameContainer.class, basicLibs.getByName("Lib"));
assertTrue( "Basic module did not survive reloading a closed document", lib.hasByName( "Module" ) ); assertTrue( "Basic module did not survive reloading a closed document", lib.hasByName( "Module" ) );

View File

@ -484,7 +484,7 @@ void SbaTableQueryBrowser::impl_sanitizeRowSetClauses_nothrow()
// there's no API at all to retrieve the information about "<other_table>" - which is what would // there's no API at all to retrieve the information about "<other_table>" - which is what would
// be needed here. // be needed here.
// That'd be a chance to replace getStructuredFilter with something more reasonable. This method // That'd be a chance to replace getStructuredFilter with something more reasonable. This method
// has at least one other problem: For a clause like "<column> != <value>", it will return "<column>" // has at least one other problem: for a clause like "<column> != <value>", it will return "<column>"
// as column name, "NOT_EQUAL" as operator, and "!= <value>" as value, effectively duplicating the // as column name, "NOT_EQUAL" as operator, and "!= <value>" as value, effectively duplicating the
// information about the operator, and beding all clients to manually remove the "!=" from the value // information about the operator, and beding all clients to manually remove the "!=" from the value
// string. // string.

View File

@ -633,7 +633,7 @@ IMPL_LINK( OFieldDescControl, ChangeHdl, ListBox *, pListBox )
if ( pListBox->IsValueChangedFromSaved() ) if ( pListBox->IsValueChangedFromSaved() )
SetModified(true); SetModified(true);
// Special treatment for Boold fields // Special treatment for Bool fields
if(pListBox == pRequired && pBoolDefault ) if(pListBox == pRequired && pBoolDefault )
{ {
// If pRequired = sal_True then the sal_Bool field must NOT contain <<none>> // If pRequired = sal_True then the sal_Bool field must NOT contain <<none>>

View File

@ -749,7 +749,7 @@ void BackendImpl::PackageImpl::processPackage_(
for (t_string2string_map::iterator i(entries.begin()); for (t_string2string_map::iterator i(entries.begin());
i != entries.end(); ++i) i != entries.end(); ++i)
{ {
//If the xcu file was installed before the configmgr was chaned //If the xcu file was installed before the configmgr was changed
//to use the configmgr.ini, one needed to rebuild to whole directory //to use the configmgr.ini, one needed to rebuild to whole directory
//structure containing the xcu, xcs files from all extensions. Now, //structure containing the xcu, xcs files from all extensions. Now,
//we just add all other xcu/xcs files to the configmgr.ini instead of //we just add all other xcu/xcs files to the configmgr.ini instead of

View File

@ -1311,7 +1311,7 @@ void ContentNode::ExpandAttribs( sal_Int32 nIndex, sal_Int32 nNew, SfxItemPool&
{ {
// Do not check Index, a empty one could only be there // Do not check Index, a empty one could only be there
// When later checking it anyhow: // When later checking it anyhow:
// Special caase: Start == 0; AbsLen == 1, nNew = 1 // Special case: Start == 0; AbsLen == 1, nNew = 1
// => Expand, because of paragraph break! // => Expand, because of paragraph break!
// Start <= nIndex, End >= nIndex => Start=End=nIndex! // Start <= nIndex, End >= nIndex => Start=End=nIndex!
// if ( pAttrib->GetStart() == nIndex ) // if ( pAttrib->GetStart() == nIndex )
@ -2693,9 +2693,9 @@ void EditDoc::FindAttribs( ContentNode* pNode, sal_Int32 nStartPos, sal_Int32 nE
// item represents its presence by absence! // item represents its presence by absence!
// If (...) // If (...)
// It needs to be examined on exactly the same attribute at the // It needs to be examined on exactly the same attribute at the
// breaki point, which is quite expensive. // break point, which is quite expensive.
// Since optimazation is done when inserting the attributes // Since optimazation is done when inserting the attributes
// this case does not appear so fast ... // this case does not appear so fast...
// So based on the need for speed: // So based on the need for speed:
rCurSet.InvalidateItem( pAttr->GetItem()->Which() ); rCurSet.InvalidateItem( pAttr->GetItem()->Which() );

View File

@ -381,7 +381,7 @@ SvStream& SvxFontItem::Store( SvStream& rStrm , sal_uInt16 /*nItemVersion*/ ) co
rStrm.WriteUniOrByteString(aStoreFamilyName, rStrm.GetStreamCharSet()); rStrm.WriteUniOrByteString(aStoreFamilyName, rStrm.GetStreamCharSet());
rStrm.WriteUniOrByteString(GetStyleName(), rStrm.GetStreamCharSet()); rStrm.WriteUniOrByteString(GetStyleName(), rStrm.GetStreamCharSet());
// cach for EditEngine, only set while creating clipboard stream. // catch for EditEngine, only set while creating clipboard stream.
if ( bEnableStoreUnicodeNames ) if ( bEnableStoreUnicodeNames )
{ {
sal_uInt32 nMagic = STORE_UNICODE_MAGIC_MARKER; sal_uInt32 nMagic = STORE_UNICODE_MAGIC_MARKER;

View File

@ -543,12 +543,12 @@ class FilterCache : public BaseLock
@throw [css::uno::Exception] @throw [css::uno::Exception]
if an internal error occurred. if an internal error occurred.
Note: If the item is missing inside the underlying configuration Note: if the item is missing inside the underlying configuration
no exception will be thrown. In such case the item is marked as no exception will be thrown. In such case the item is marked as
finalized/mandatory automatically finalized/mandatory automatically
Reason: May be the item cames from the old configuration package and Reason: maybe the item comes from the old configuration package and
was not migrated to the new one. So we can't provide write access was not migrated to the new one. So we can't provide write access
to such items ... to such items...
*/ */
void addStatePropsToItem( EItemType eType, void addStatePropsToItem( EItemType eType,
const OUString& sItem, const OUString& sItem,
@ -808,7 +808,7 @@ class FilterCache : public BaseLock
layer. layer.
@descr The outside code has to be sure, that the item does not already exists @descr The outside code has to be sure, that the item does not already exists
inside this cachse. Otherwise it will be loaded twice. This method inside this cache. Otherwise it will be loaded twice. This method
doesn't check such constellations! doesn't check such constellations!
@param eType @param eType

View File

@ -214,7 +214,7 @@
<xsl:param name="number-format"/> <xsl:param name="number-format"/>
<xsl:choose> <xsl:choose>
<xsl:when test="$number-format = 'a'"> <xsl:when test="$number-format = 'a'">
<!-- nfcLCLetter: Lowercase alpah --> <!-- nfcLCLetter: Lowercase alpha -->
<w:nfc w:val="4"/> <w:nfc w:val="4"/>
</xsl:when> </xsl:when>
<xsl:when test="$number-format = 'A'"> <xsl:when test="$number-format = 'A'">

View File

@ -114,7 +114,7 @@ class TitleBarUpdate : public ::cppu::WeakImplHelper3<
Is set only if return value is true. Is set only if return value is true.
@return [sal_Bool] @return [sal_Bool]
sal_True in casee module could be identified and all needed values could be read. sal_True in case module could be identified and all needed values could be read.
sal_False otherwise. sal_False otherwise.
*/ */
bool implst_getModuleInfo(const css::uno::Reference< css::frame::XFrame >& xFrame, bool implst_getModuleInfo(const css::uno::Reference< css::frame::XFrame >& xFrame,

View File

@ -228,7 +228,7 @@ public class EventTest {
} }
/** /**
* This is the central test method. It is called by ceck[DOCTYPE]Document. It * This is the central test method. It is called by check[DOCTYPE]Document. It
* creates the <CODE>XUserInputInterception</CODE> from the document and call the * creates the <CODE>XUserInputInterception</CODE> from the document and call the
* <CODE>checkMouseListener</CODE> test and the <CODE>checkKeyListener</CODE> test * <CODE>checkMouseListener</CODE> test and the <CODE>checkKeyListener</CODE> test
* @param xDoc the document to test * @param xDoc the document to test

View File

@ -464,7 +464,7 @@ public class PathSettingsTest
bResult = false; bResult = false;
} }
// Property_internal can't change we will not arrive bejond this line // Property_internal can't change we will not arrive beyond this line
// check the change // check the change
Object oObj = xFPS.getFastPropertyValue(handle); Object oObj = xFPS.getFastPropertyValue(handle);

View File

@ -91,8 +91,8 @@ inline bool closeIt(const css::uno::Reference< css::uno::XInterface >& xResource
catch(const css::uno::RuntimeException&) catch(const css::uno::RuntimeException&)
{ throw; } // should not be suppressed! { throw; } // should not be suppressed!
catch(const css::uno::Exception&) catch(const css::uno::Exception&)
{ return false; } // ??? We defined to return a boolen value instead of throwing exceptions ... { return false; } // ??? We defined to return a boolean value instead of throwing exceptions...
// (OK: RuntimeExceptions should not be catched inside the core ..) // (OK: RuntimeExceptions should not be catched inside the core..)
return true; return true;
} }

View File

@ -281,7 +281,7 @@ static OUString transliterate_titlecase_Impl(
// toUpper can be used to properly resolve ligatures and characters like Beta // toUpper can be used to properly resolve ligatures and characters like Beta
aResolvedLigature = aCharClassImpl.toUpper( aResolvedLigature, 0, aResolvedLigature.getLength(), rLocale ); aResolvedLigature = aCharClassImpl.toUpper( aResolvedLigature, 0, aResolvedLigature.getLength(), rLocale );
// since toTitle will leave all-uppercase text unchanged we first need to // since toTitle will leave all-uppercase text unchanged we first need to
// use toLower to bring possible 2nd and following charas in lowercase // use toLower to bring possible 2nd and following chars in lowercase
aResolvedLigature = aCharClassImpl.toLower( aResolvedLigature, 0, aResolvedLigature.getLength(), rLocale ); aResolvedLigature = aCharClassImpl.toLower( aResolvedLigature, 0, aResolvedLigature.getLength(), rLocale );
sal_Int32 nResolvedLen = aResolvedLigature.getLength(); sal_Int32 nResolvedLen = aResolvedLigature.getLength();

View File

@ -61,7 +61,7 @@ namespace sdr
friend class OverlayManager; friend class OverlayManager;
// pointer to OverlayManager, if object is added. Changed by // pointer to OverlayManager, if object is added. Changed by
// OverlayManager, do not chnge Yourself. // OverlayManager, do not change Yourself.
OverlayManager* mpOverlayManager; OverlayManager* mpOverlayManager;
// Primitive2DSequence of the OverlayObject // Primitive2DSequence of the OverlayObject

View File

@ -29,7 +29,7 @@
// included clip regions so that it is safe to ignore clip actions there. This // included clip regions so that it is safe to ignore clip actions there. This
// is not done completely, but implemented and extended as needed (on demand) // is not done completely, but implemented and extended as needed (on demand)
// since all this is a workarund; the better and long term solution will be to // since all this is a workarund; the better and long term solution will be to
// reimplement these im/exports to use primitives and not metafiles as bese // reimplement these im/exports to use primitives and not metafiles as base
// information. // information.
void VCL_DLLPUBLIC clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource); void VCL_DLLPUBLIC clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource);

View File

@ -33,7 +33,7 @@ public class WeakReference
// ref = someOtherWeakReference; // ref = someOtherWeakReference;
// //
// ref would not be notified (XReference.dispose()) because it did not register // ref would not be notified (XReference.dispose()) because it did not register
// itself. Therefore the XAdapter would be kept aliver although this is not // itself. Therefore the XAdapter would be kept alive although this is not
// necessary. // necessary.
/** /**

View File

@ -321,7 +321,7 @@ Reference< XHyphenatedWord > SAL_CALL
if (xEntry.is()) if (xEntry.is())
{ {
//! because queryDictionaryEntry (in the end DictionaryNeo::getEntry) //! because queryDictionaryEntry (in the end DictionaryNeo::getEntry)
//! does not distinguish betwee "XYZ" and "XYZ." in order to avoid //! does not distinguish between "XYZ" and "XYZ." in order to avoid
//! to require them as different entry we have to supply the //! to require them as different entry we have to supply the
//! original word here as well so it can be used in th result //! original word here as well so it can be used in th result
//! otherwise a strange effect may occur (see #i22591#) //! otherwise a strange effect may occur (see #i22591#)

View File

@ -591,7 +591,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
================================================================== */ ================================================================== */
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
/** creates the button used for demonstrating (amonst others) event handling /** creates the button used for demonstrating (amongst others) event handling
@param nXPos @param nXPos
x-position of the to be inserted shape x-position of the to be inserted shape
@param nYPos @param nYPos

View File

@ -107,7 +107,7 @@ public class MessageBox {
} }
// helper method to get the window peer of a document or if no // helper method to get the window peer of a document or if no
// document is specified it tries to get the avtive frame // document is specified it tries to get the active frame
// which is potentially dangerous // which is potentially dangerous
public XWindowPeer getWindowPeerOfFrame(XComponent xComp) { public XWindowPeer getWindowPeerOfFrame(XComponent xComp) {
try { try {

View File

@ -116,7 +116,7 @@ public class DesktopTools
} }
/** /**
* returns an object arrary of all open documents * returns an object array of all open documents
* @param xMSF the MultiServiceFactory * @param xMSF the MultiServiceFactory
* @return returns an Array of document kinds like ["swriter"] * @return returns an Array of document kinds like ["swriter"]
*/ */

View File

@ -81,7 +81,7 @@ public class _XItemListener extends MultiMethodTest {
* First a <code>ItemEvent</code> object created and * First a <code>ItemEvent</code> object created and
* it is passed to <code>itemStateChanged</code> method * it is passed to <code>itemStateChanged</code> method
* call. Then a short wait follows for listener already * call. Then a short wait follows for listener already
* registered at the object to be caled. <p> * registered at the object to be called. <p>
* Has <b> OK </b> status if the listener was called with * Has <b> OK </b> status if the listener was called with
* the same <code>ItemEvent</code> object as was created * the same <code>ItemEvent</code> object as was created
* before. * before.

View File

@ -71,7 +71,7 @@ public class _XMutableTreeNode extends MultiMethodTest {
try { try {
oObj.appendChild(myNode); oObj.appendChild(myNode);
} catch (com.sun.star.lang.IllegalArgumentException ex) { } catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("ERROR: could not appedn a valid node: " + ex.toString()); log.println("ERROR: could not append a valid node: " + ex.toString());
bOK = false; bOK = false;
} }

View File

@ -49,8 +49,8 @@ import com.sun.star.uno.UnoRuntime;
* Other <b> prerequicity </b> is the object must have * Other <b> prerequicity </b> is the object must have
* <code>TargetURL</code> property. <p> * <code>TargetURL</code> property. <p>
* *
* Short description : test adds two listeners, call * Short description: test adds two listeners, call
* <code> submit </code> method and cecks if both listeners * <code> submit </code> method and checks if both listeners
* were called. Then one listener is removed and after * were called. Then one listener is removed and after
* <code> submit </code> method call it must not be called. <p> * <code> submit </code> method call it must not be called. <p>
* *

View File

@ -133,7 +133,7 @@ public class _XPersistObject extends MultiMethodTest {
boolean locRes = ( (ValueComparer.equalValue(cps,ops)) || boolean locRes = ( (ValueComparer.equalValue(cps,ops)) ||
(utils.isVoid(cps) && utils.isVoid(ops)) ); (utils.isVoid(cps) && utils.isVoid(ops)) );
//transient properties aran't stored //transient properties aren't stored
if (isTransient(objprops[i])) locRes = true; if (isTransient(objprops[i])) locRes = true;
Object pseudo = tEnv.getObjRelation("PSEUDOPERSISTENT"); Object pseudo = tEnv.getObjRelation("PSEUDOPERSISTENT");

View File

@ -89,7 +89,7 @@ public class _XTextColumns extends MultiMethodTest {
* Sets columns to some array * Sets columns to some array
* then checks it by <code>getColumns</code> method. <p> * then checks it by <code>getColumns</code> method. <p>
* *
* Has <b>OK</b> status if set and get arays are equal. * Has <b>OK</b> status if set and get arrays are equal.
*/ */
public void _setColumns(){ public void _setColumns(){

View File

@ -58,7 +58,7 @@ public class _XPrintJobBroadcaster extends MultiMethodTest {
} }
/** /**
* remove the listener, see if it's still caleed. * remove the listener, see if it's still called.
*/ */
public void _removePrintJobListener() { public void _removePrintJobListener() {
requiredMethod("addPrintJobListener"); requiredMethod("addPrintJobListener");

View File

@ -2007,7 +2007,7 @@ bool ScTable::DoSubTotals( ScSubTotalParam& rParam )
if (bIgnoreCase) if (bIgnoreCase)
aString = ScGlobal::pCharClass->uppercase(aString); aString = ScGlobal::pCharClass->uppercase(aString);
// when sorting, blanks are separate group // when sorting, blanks are separate group
// otherwise blak cells are allowed below // otherwise blank cells are allowed below
bChanged = ( ( !aString.isEmpty() || rParam.bDoSort ) && bChanged = ( ( !aString.isEmpty() || rParam.bDoSort ) &&
aString != *pCompString[i] ); aString != *pCompString[i] );
} }

View File

@ -1954,7 +1954,7 @@ void ScTable::AutoFormat( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW
else else
nIndex = 13; nIndex = 13;
} }
// Boddy // Body
if ((pData->IsEqualData(5, 6)) && (pData->IsEqualData(9, 10)) && (pData->IsEqualData(5, 9))) if ((pData->IsEqualData(5, 6)) && (pData->IsEqualData(9, 10)) && (pData->IsEqualData(5, 9)))
AutoFormatArea(nStartCol + 1, nStartRow + 1, nEndCol-1, nEndRow - 1, *pPatternAttrs[5], nFormatNo); AutoFormatArea(nStartCol + 1, nStartRow + 1, nEndCol-1, nEndRow - 1, *pPatternAttrs[5], nFormatNo);
else else

View File

@ -2470,7 +2470,7 @@ void XclImpChChart3d::Convert( ScfPropertySet& rPropSet, bool b3dWallChart ) con
} }
// properties // properties
rPropSet.SetProperty( EXC_CHPROP_3DRELATIVEHEIGHT, (sal_Int32)(maData.mnRelHeight / 2)); // seems to be 200%, cange to 100% rPropSet.SetProperty( EXC_CHPROP_3DRELATIVEHEIGHT, (sal_Int32)(maData.mnRelHeight / 2)); // seems to be 200%, change to 100%
rPropSet.SetProperty( EXC_CHPROP_ROTATIONVERTICAL, nRotationY ); rPropSet.SetProperty( EXC_CHPROP_ROTATIONVERTICAL, nRotationY );
rPropSet.SetProperty( EXC_CHPROP_ROTATIONHORIZONTAL, nRotationX ); rPropSet.SetProperty( EXC_CHPROP_ROTATIONHORIZONTAL, nRotationX );
rPropSet.SetProperty( EXC_CHPROP_PERSPECTIVE, nPerspective ); rPropSet.SetProperty( EXC_CHPROP_PERSPECTIVE, nPerspective );

View File

@ -140,7 +140,7 @@ private:
struct PCFieldModel struct PCFieldModel
{ {
OUString maName; /// Fixed name of the cache field. OUString maName; /// Fixed name of the cache field.
OUString maCaption; /// Caption of the ccahe field. OUString maCaption; /// Caption of the cache field.
OUString maPropertyName; /// OLAP property name. OUString maPropertyName; /// OLAP property name.
OUString maFormula; /// Formula of a calculated field. OUString maFormula; /// Formula of a calculated field.
sal_Int32 mnNumFmtId; /// Number format for all items. sal_Int32 mnNumFmtId; /// Number format for all items.

View File

@ -788,7 +788,7 @@ IMPL_LINK_NOARG(ScColRowNameRangesDlg, ColClickHdl)
return 0; return 0;
} }
// handler for the radio buttom for columns, adjust range // handler for the radio button for columns, adjust range
IMPL_LINK_NOARG(ScColRowNameRangesDlg, RowClickHdl) IMPL_LINK_NOARG(ScColRowNameRangesDlg, RowClickHdl)
{ {
if ( !pBtnRowHead->GetSavedValue() ) if ( !pBtnRowHead->GetSavedValue() )

View File

@ -317,7 +317,7 @@ ScVbaWindow::getCaption() throw (uno::RuntimeException, std::exception)
sTitle = sTitle.copy( 0, nCrudIndex ); sTitle = sTitle.copy( 0, nCrudIndex );
ScVbaWorkbook workbook( uno::Reference< XHelperInterface >( Application(), uno::UNO_QUERY_THROW ), mxContext, m_xModel ); ScVbaWorkbook workbook( uno::Reference< XHelperInterface >( Application(), uno::UNO_QUERY_THROW ), mxContext, m_xModel );
OUString sName = workbook.getName(); OUString sName = workbook.getName();
// rather bizare hack to make sure the name behavior // rather bizarre hack to make sure the name behavior
// is like XL // is like XL
// if the adjusted title == workbook name, use name // if the adjusted title == workbook name, use name
// if the adjusted title != workbook name but ... // if the adjusted title != workbook name but ...

View File

@ -466,7 +466,7 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab,
// via ScFormulaCell copy-ctor because of RangeNames, // via ScFormulaCell copy-ctor because of RangeNames,
// the same code-array for all cells is not possible. // the same code-array for all cells is not possible.
// If the array has an error, (it) must be RPN-erased in the newly generated // If the array has an error, (it) must be RPN-erased in the newly generated
// cellst and the error be set explicitly, so that // cells and the error be set explicitly, so that
// via FormulaCell copy-ctor and Interpreter it will be, when possible, // via FormulaCell copy-ctor and Interpreter it will be, when possible,
// ironed out again, too intelligent.. e.g.: =1)) // ironed out again, too intelligent.. e.g.: =1))
sal_uInt16 nError = pArr->GetCodeError(); sal_uInt16 nError = pArr->GetCodeError();

View File

@ -553,7 +553,7 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt)
{ {
// The goal of this request is show always the rotation-arrow for 3D-objects at rotation-modus // The goal of this request is show always the rotation-arrow for 3D-objects at rotation-modus
// Independent of the settings at Extras->Optionen->Grafik "Objekte immer verschieben" // Independent of the settings at Extras->Optionen->Grafik "Objekte immer verschieben"
// 2D-objects acquit in an other way. Otherwise, the rotation of 3d-objects around any axises // 2D-objects acquit in an other way. Otherwise, the rotation of 3d-objects around any axes
// wouldn't be possible per default. // wouldn't be possible per default.
const SdrMarkList& rMarkList = mpView->GetMarkedObjectList(); const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
SdrObject* pObject = rMarkList.GetMark(0)->GetMarkedSdrObj(); SdrObject* pObject = rMarkList.GetMark(0)->GetMarkedSdrObj();

View File

@ -564,7 +564,7 @@ protected:
i.e. construct calls Show, and if a11y is enabled this i.e. construct calls Show, and if a11y is enabled this
reenters the not-fully constructed object and calls reenters the not-fully constructed object and calls
CreateAccessibleDocumentView, so if construct is called CreateAccessibleDocumentView, so if construct is called
from the ctor then if a derived class is contructed the base-cass from the ctor then if a derived class is contructed the base-case
CreateAccessibleDocumentView is used, not the derived CreateAccessibleDocumentView is used, not the derived
CreateAccessibleDocumentView. i.e. run smoketest under a11y with CreateAccessibleDocumentView. i.e. run smoketest under a11y with
debugging assertions enabled debugging assertions enabled

View File

@ -655,7 +655,7 @@ void WriterXmlOptimizer::checkHeaderAndFooter( PageElement& rElem )
{ {
/* indicators for a header: /* indicators for a header:
* - single line paragrah at top of page ( inside 15% page height) * - single line paragrah at top of page ( inside 15% page height)
* - at least linheight above the next paragr aph * - at least linheight above the next paragraph
* *
* indicators for a footer likewise: * indicators for a footer likewise:
* - single line paragraph at bottom of page (inside 15% page height) * - single line paragraph at bottom of page (inside 15% page height)

View File

@ -281,7 +281,7 @@ gb_HelpLinkTarget_DEPS := \
$(gb_HelpLinkTarget_IDXCONTENTTARGET) $(gb_HelpLinkTarget_IDXCONTENTTARGET)
# delete index files here too just to be on the safe side... # delete index files here too just to be on the safe side...
# the index files in the .idxl dir are ceated by HelpIndexer, # the index files in the .idxl dir are created by HelpIndexer,
# the ones outside the dir by HelpLinker # the ones outside the dir by HelpLinker
define gb_HelpLinkTarget__command define gb_HelpLinkTarget__command
$(call gb_Output_announce,$(2),$(true),HLK,3) $(call gb_Output_announce,$(2),$(true),HLK,3)

View File

@ -167,7 +167,7 @@ namespace svgio
OSL_ENSURE(!mbCssStyleVectorBuilt, "OOps, fillCssStyleVector called double ?!?"); OSL_ENSURE(!mbCssStyleVectorBuilt, "OOps, fillCssStyleVector called double ?!?");
mbCssStyleVectorBuilt = true; mbCssStyleVectorBuilt = true;
// #i125293# If we have CssStyles we need to buuild a linked list of SvgStyleAttributes // #i125293# If we have CssStyles we need to build a linked list of SvgStyleAttributes
// which represent this for the current object. There are various methods to // which represent this for the current object. There are various methods to
// specify CssStyles which need to be taken into account in a given order: // specify CssStyles which need to be taken into account in a given order:
// - local CssStyle (independent from global CssStyles at SvgDocument) // - local CssStyle (independent from global CssStyles at SvgDocument)

View File

@ -95,7 +95,7 @@ namespace svt
break; break;
default: default:
// it's a known scheme, but no file-URL -> assume that bothe the URL representation and the // it's a known scheme, but no file-URL -> assume that both the URL representation and the
// system representation are the URL itself // system representation are the URL itself
m_sSystem = m_sFileURL = _rUrlOrPath; m_sSystem = m_sFileURL = _rUrlOrPath;
bSuccess = true; bSuccess = true;

View File

@ -1486,7 +1486,7 @@ bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, bool bReplaceAll)
if (!bTextEdit) if (!bTextEdit)
{ {
// no TextEdit activw -> all Items to drawing object // no TextEdit active -> all Items to drawing object
if( mxSelectionController.is() ) if( mxSelectionController.is() )
bRet=mxSelectionController->SetAttributes(*pSet,bReplaceAll ); bRet=mxSelectionController->SetAttributes(*pSet,bReplaceAll );

View File

@ -494,7 +494,7 @@ protected:
/** /**
Set this node as last valid child of its parent. Set this node as last valid child of its parent.
@param bValidation see aboce @param bValidation see above
*/ */
void SetLastValid(bool bValidating) const; void SetLastValid(bool bValidating) const;

View File

@ -2140,7 +2140,7 @@ void WW8AttributeOutput::TableDefinition( ww8::WW8TableNodeInfoInner::Pointer_t
// number of boxes // number of boxes
m_rWW8Export.pO->push_back( static_cast<sal_uInt8>(nBoxes) ); m_rWW8Export.pO->push_back( static_cast<sal_uInt8>(nBoxes) );
/* cellxs */ /* cells */
/* /*
ALWAYS relative when text::HoriOrientation::NONE (nPageSize + ( nPageSize / 10 )) < nTableSz, ALWAYS relative when text::HoriOrientation::NONE (nPageSize + ( nPageSize / 10 )) < nTableSz,
in that case the cell width's and table width's are not real. The table in that case the cell width's and table width's are not real. The table

View File

@ -232,7 +232,7 @@ public:
sal_uInt8 Flags; // (cheat due to alignment in NT) sal_uInt8 Flags; // (cheat due to alignment in NT)
sal_uInt8 LEnden; // only arcs (circle & ellips) sal_uInt8 LEnden; // only arcs (circle & ellips)
ObjLineType L; ObjLineType L;
ObjAreaType F; // not for arcs (circly & ellips) ObjAreaType F; // not for arcs (circle & ellips)
PointType Center; // center PointType Center; // center
PointType Radius; // radius PointType Radius; // radius
sal_uInt16 RotationAngle; // only ellipses sal_uInt16 RotationAngle; // only ellipses

View File

@ -1034,7 +1034,7 @@ bool OutputDevice::RemoveTransparenciesFromMetaFile( const GDIMetaFile& rInMtf,
} }
else else
{ {
// #107169# Fixes abnove now ensure that _no_ // #107169# Fixes above now ensure that _no_
// object in the list is fully transparent. Thus, // object in the list is fully transparent. Thus,
// if the component list is not empty above, we // if the component list is not empty above, we
// must assume that we have to treat this // must assume that we have to treat this

View File

@ -856,7 +856,7 @@ static vcl::Window* ImplGetKeyInputWindow( vcl::Window* pWindow )
return 0; return 0;
// We call also KeyInput if we haven't the focus, because on Unix // We call also KeyInput if we haven't the focus, because on Unix
// system this is often the case when a Lookup Choise Window has // system this is often the case when a Lookup Choice Window has
// the focus - because this windows send the KeyInput directly to // the focus - because this windows send the KeyInput directly to
// the window without resetting the focus // the window without resetting the focus
DBG_ASSERTWARNING( pChild == pSVData->maWinData.mpFocusWin, DBG_ASSERTWARNING( pChild == pSVData->maWinData.mpFocusWin,

View File

@ -790,7 +790,7 @@ class Topics(object):
This is used in order to refresh the topic/responsible/duration data This is used in order to refresh the topic/responsible/duration data
in the preview document, in response to a change in the gui (by the user) in the preview document, in response to a change in the gui (by the user)
Since the structure of the topics table is flexible, Since the structure of the topics table is flexible,
The Topics object, which analyzed the structure of the topics table appon The Topics object, which analyzed the structure of the topics table upon
initialization, refreshes the approperiate cell. initialization, refreshes the approperiate cell.
''' '''
def writeCell(self, row, column, data): def writeCell(self, row, column, data):

View File

@ -15,7 +15,7 @@
# except in compliance with the License. You may obtain a copy of # except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 . # the License at http://www.apache.org/licenses/LICENSE-2.0 .
# Error IDs for errors that can accure # Error IDs for errors that can occur
# in the interaction with the Process class. # in the interaction with the Process class.
class ProcessErrors: class ProcessErrors:

View File

@ -444,7 +444,7 @@ WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES WARN_IF_DOC_ERROR = YES
# This WARN_NO_PARAMDOC option can be abled to get warnings for # This WARN_NO_PARAMDOC option can be enabled to get warnings for
# functions that are documented, but have no documentation for their parameters # functions that are documented, but have no documentation for their parameters
# or return value. If set to NO (the default) doxygen will only warn about # or return value. If set to NO (the default) doxygen will only warn about
# wrong or incomplete parameter documentation, but not about the absence of # wrong or incomplete parameter documentation, but not about the absence of

View File

@ -131,7 +131,7 @@ void XMLIndexChapterInfoEntryContext::StartElement(
nValues++; nValues++;
} }
// if we have chaper info, set it! // if we have chapter info, set it!
if (bChapterInfoOK) if (bChapterInfoOK)
{ {
nValues++; nValues++;

View File

@ -487,7 +487,7 @@ sal_Int32 XMLDocumentWrapper_XmlSecImpl::recursiveDelete(
* *
* FUNCTION * FUNCTION
* Deletes a particular node with its branch, while reserving the nodes * Deletes a particular node with its branch, while reserving the nodes
* (and their brance) listed in the m_aReservedNodes. * (and their branches) listed in the m_aReservedNodes.
* The deletion process is preformed in the tree order, that is, a node * The deletion process is preformed in the tree order, that is, a node
* is deleted after its previous sibling node is deleted, a parent node * is deleted after its previous sibling node is deleted, a parent node
* is deleted after its branch is deleted. * is deleted after its branch is deleted.