Change-Id: Icf850c4b7b146a82a5638a3cd88ad02f3171aff3
This commit is contained in:
Julien Nabet
2014-09-17 21:14:52 +02:00
parent 9acf9b6504
commit a762204a5d
7 changed files with 12 additions and 12 deletions

View File

@@ -200,7 +200,7 @@ public class RowSet extends TestCase
System.out.println("testing testRowSet");
createTestCase(true);
// sequential postioning
// sequential positioning
m_resultSet.beforeFirst();
testSequentialPositining(m_resultSet, m_row);

View File

@@ -282,7 +282,7 @@ void SAL_CALL OCacheSet::updateRow(const ORowSetRow& _rInsertRow ,const ORowSetR
fillTableName(xSet);
OUStringBuffer aSql("UPDATE " + m_aComposedTableName + " SET ");
// list all cloumns that should be set
// list all columns that should be set
OUStringBuffer aCondition;
::std::list< sal_Int32> aOrgValues;

View File

@@ -562,14 +562,14 @@ void SAL_CALL OKeySet::updateRow(const ORowSetRow& _rInsertRow ,const ORowSetRow
fillTableName(xSet);
OUStringBuffer aSql = "UPDATE " + m_aComposedTableName + " SET ";
// list all cloumns that should be set
// list all columns that should be set
static OUString aPara(" = ?,");
OUString aQuote = getIdentifierQuoteString();
static OUString aAnd(" AND ");
OUString sIsNull(" IS NULL");
OUString sParam(" = ?");
// use keys and indexes for exact postioning
// use keys and indexes for exact positioning
// first the keys
Reference<XNameAccess> xKeyColumns = getKeyColumns();
@@ -972,11 +972,11 @@ void SAL_CALL OKeySet::deleteRow(const ORowSetRow& _rDeleteRow,const connectivit
OUStringBuffer aSql("DELETE FROM " + m_aComposedTableName + " WHERE ");
// list all cloumns that should be set
// list all columns that should be set
OUString aQuote = getIdentifierQuoteString();
static OUString aAnd(" AND ");
// use keys and indexes for excat postioning
// use keys and indexes for exact positioning
Reference<XNameAccess> xKeyColumns = getKeyColumns();
// second the indexes
Reference<XIndexesSupplier> xIndexSup(_xTable,UNO_QUERY);
@@ -1082,7 +1082,7 @@ void SAL_CALL OKeySet::moveToCurrentRow( ) throw(SQLException, RuntimeException
Reference<XNameAccess> OKeySet::getKeyColumns() const
{
// use keys and indexes for exact postioning
// use keys and indexes for exact positioning
// first the keys
Reference<XIndexAccess> xKeys = m_xTableKeys;

View File

@@ -182,7 +182,7 @@ void SAL_CALL OptimisticSet::updateRow(const ORowSetRow& _rInsertRow ,const ORow
{
if ( m_aJoinedKeyColumns.empty() )
throw SQLException();
// list all cloumns that should be set
// list all columns that should be set
static OUString s_sPara(" = ?");
OUString aQuote = getIdentifierQuoteString();

View File

@@ -1052,7 +1052,7 @@ void SfxViewShell::OuterResizePixel
here. The mainuse is to change the size of the Vis-Area.
If the Border is changed due to the new calculation then this has to be set
by <SfxViewShell::SetBorderPixel(const SvBorder&)>. The Postioning of Tools
by <SfxViewShell::SetBorderPixel(const SvBorder&)>. The Positioning of Tools
is only allowed after the calling of 'SetBorderPixel'.
[Example]
@@ -1101,7 +1101,7 @@ void SfxViewShell::InnerResizePixel
If the Border is changed due to the new calculation then is has to be set
by <SfxViewShell::SetBorderPixel(const SvBorder&)>.
The Postioning of Tools is only allowed after the calling of
The Positioning of Tools is only allowed after the calling of
'SetBorderPixel'.

View File

@@ -34,7 +34,7 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject
// and that a positioning has to be performed.
bool mbValidPos;
// rectangle, keeping the last object rectangle after the postioning
// rectangle, keeping the last object rectangle after the positioning
Rectangle* mpLastObjRect;
// boolean, indicating that anchored drawing object hasn't been attached

View File

@@ -810,7 +810,7 @@ bool SwTxtFly::GetTop( const SwAnchoredObject* _pAnchoredObj,
// if wrapping style is considered on object positioning.
// Thus, text will wrap around negative positioned objects.
// #i3317# - remove condition on checking,
// if wrappings style is considered on object postioning.
// if wrappings style is considered on object positioning.
// Thus, text is wrapping around negative positioned objects.
// #i35640# - no consideration of negative
// positioned objects, if wrapping style isn't considered on