Kaydet (Commit) f0733ee8 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Samuel Mehrbrodt

Fix typos

Change-Id: I7bb3caf76909603343f50568b68e3eadeb1cac30
Reviewed-on: https://gerrit.libreoffice.org/18980Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 2de378ec
......@@ -82,7 +82,7 @@ namespace svt { namespace table
friend class SuspendInvariants;
private:
/// the control whose impl-instance we implemnt
/// the control whose impl-instance we implement
TableControl& m_rAntiImpl;
/// the model of the table control
PTableModel m_pModel;
......
......@@ -92,7 +92,7 @@ namespace svt
aLowerDrawerPos.Move( 0, -nDrawerHeight );
}
// fincally calculate the rectangle for the active panel
// finally calculate the rectangle for the active panel
return Rectangle(
aUpperDrawerPos,
Size( nWidth, aLowerDrawerPos.Y() - aUpperDrawerPos.Y() + 1 )
......
......@@ -133,7 +133,7 @@ public:
// overwrite the SetState & ResetState to do special operation for table cell's internal text
virtual bool SetState (sal_Int16 aState) SAL_OVERRIDE;
virtual bool ResetState (sal_Int16 aState) SAL_OVERRIDE;
// The following two methods are used to set state directly on table object, instread of the internal cell or paragraph.
// The following two methods are used to set state directly on table object, instead of the internal cell or paragraph.
bool SetStateDirectly (sal_Int16 aState);
bool ResetStateDirectly (sal_Int16 aState);
// Get the currently active cell which is text editing
......
......@@ -33,7 +33,7 @@
#define CTL_PREVIEW 12
#define CTL_LIGHT_PREVIEW 13
// Geomerty
// Geometry
#define FT_HORIZONTAL 24
#define NUM_HORIZONTAL 25
#define FT_VERTICAL 26
......
......@@ -172,7 +172,7 @@ namespace drawinglayer
basegfx::BColor maColor;
double mfTransparence;
// the dscrete grow and shrink of the box
// the discrete grow and shrink of the box
double mfDiscreteGrow;
double mfDiscreteShrink;
......
......@@ -666,7 +666,7 @@ void SAL_CALL AccessibleControlShape::disposing()
}
}
// forward the disposel to our inner context
// forward the disposal to our inner context
if ( m_bDisposeNativeContext )
{
// don't listen for mode changes anymore
......
......@@ -347,7 +347,7 @@ void GetTextAreaOutline( const FWData& rFWData, const SdrObject* pCustomShape, F
}
delete[] pDXArry;
// veritcal alignment
// vertical alignment
std::vector< FWCharacterData >::iterator aCharacterIter( aParagraphIter->vCharacters.begin() );
std::vector< FWCharacterData >::iterator aCharacterIEnd ( aParagraphIter->vCharacters.end() );
while ( aCharacterIter != aCharacterIEnd )
......
......@@ -50,7 +50,7 @@ using namespace ::com::sun::star;
sal_uInt32& SvxShowCharSet::getSelectedChar()
{
static sal_uInt32 cSelectedChar = ' '; // keeps selected character over app livetime
static sal_uInt32 cSelectedChar = ' '; // keeps selected character over app lifetime
return cSelectedChar;
}
......
......@@ -159,7 +159,7 @@ void GraphCtrl::InitSdrModel()
pView->SetMarkedPointsSmooth( SDRPATHSMOOTH_SYMMETRIC );
pView->SetEditMode();
// #i72889# set neeeded flags
// #i72889# set needed flags
pView->SetPagePaintingAllowed(false);
pView->SetBufferedOutputAllowed(true);
pView->SetBufferedOverlayAllowed(true);
......
......@@ -86,7 +86,7 @@ void SvxXMeasurePreview::dispose()
{
// No one is deleting the MeasureObj? This is not only an error but also
// a memory leak (!). Main problem is that this object is still listening to
// a StyleSheet of the model which was set. Thus, if You want to keep the obnject,
// a StyleSheet of the model which was set. Thus, if You want to keep the object,
// set the model to 0L, if object is not needed (seems to be the case here),
// delete it.
delete pMeasureObj;
......
......@@ -199,7 +199,7 @@ void SvxRuler_Impl::SetPercSize(sal_uInt16 nSize)
// Ruler: SetMargin1, SetMargin2
// SID_RULER_PAGE_POS
// expectes as parameter the initial value of the page and page width
// expects as parameter the initial value of the page and page width
// Ruler: SetPagePos
// SID_ATTR_TABSTOP
......
......@@ -307,7 +307,7 @@ void E3dView::DrawMarkedObj(OutputDevice& rOut) const
SdrObject *pObj = GetMarkedObjectByIndex(nObjs);
if(pObj && pObj->ISA(E3dCompoundObject))
{
// releated scene
// related scene
pScene = static_cast<E3dCompoundObject*>(pObj)->GetScene();
if(pScene)
pScene->SetSelected(false);
......@@ -405,7 +405,7 @@ SdrModel* E3dView::GetMarkedObjModel() const
}
}
// call parent. This will copy all scenes and the selection flags at the 3d objectss. So
// call parent. This will copy all scenes and the selection flags at the 3D objects. So
// it will be possible to delete all non-selected 3d objects from the cloned 3d scenes
pNewModel = SdrView::GetMarkedObjModel();
......@@ -1449,7 +1449,7 @@ void E3dView::MovAction(const Point& rPnt)
{
const SdrHdlList &aHdlList = GetHdlList ();
// delete the mirroed polygon, mirrors the original and draws
// delete the mirrored polygon, mirrors the original and draws
// it anew
SdrView::MovAction (rPnt);
mpMirrorOverlay->SetMirrorAxis(
......
......@@ -1966,7 +1966,7 @@ void FmGridControl::Select()
{
case SAL_MAX_UINT16: break; // no selection
case 0 : nSelectedColumn = SAL_MAX_UINT16; break;
// handle col can't be seledted
// handle col can't be selected
default :
// get the model col pos instead of the view col pos
nSelectedColumn = GetModelColumnPos(GetColumnIdFromViewPos(nSelectedColumn - 1));
......
......@@ -2497,7 +2497,7 @@ void DbGridControl::MoveToNext()
if(!bOk)
{
AdjustRows();
if (m_nTotalCount > 0) // only to avoid infinte recursion
if (m_nTotalCount > 0) // only to avoid infinite recursion
MoveToNext();
}
}
......@@ -3370,7 +3370,7 @@ void DbGridControl::ShowColumn(sal_uInt16 nId)
}
}
sal_uInt16 nNewViewPos = (nNextNonHidden == BROWSER_INVALIDID)
? 1 // there is no visible column -> insert behinde the handle col
? 1 // there is no visible column -> insert behind the handle col
: GetViewColumnPos( m_aColumns[ nNextNonHidden ]->GetId() ) + 1;
// the first non-handle col has "view pos" 0, but the pos arg for InsertDataColumn expects
// a position 1 for the first non-handle col -> +1
......
......@@ -1826,7 +1826,7 @@ void FmFilterNavigator::KeyInput(const KeyEvent& rKEvt)
void FmFilterNavigator::DeleteSelection()
{
// to avoid the deletion of an entry twice (e.g. deletion of a parent and afterward
// the deletion of its child, i have to shrink the selecton list
// the deletion of its child, I have to shrink the selecton list
::std::vector<SvTreeListEntry*> aEntryList;
for (SvTreeListEntry* pEntry = FirstSelected();
pEntry != NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment