Fix typos
Change-Id: Ifddd2533b767924791338555031b848c59980c52 Reviewed-on: https://gerrit.libreoffice.org/18989 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
This commit is contained in:
parent
3406ae78a5
commit
a2a5187a8f
@ -912,7 +912,7 @@ bool SwFieldRefPage::FillItemSet(SfxItemSet* )
|
||||
}
|
||||
else // SeqenceFields
|
||||
{
|
||||
// get fields for Seq-FeldType:
|
||||
// get fields for Seq-FieldType:
|
||||
SwSetExpFieldType* pType = static_cast<SwSetExpFieldType*>(pSh->GetFieldType(
|
||||
nTypeId & ~REFFLDFLAG, RES_SETEXPFLD ));
|
||||
if( pType )
|
||||
|
@ -347,7 +347,7 @@ IMPL_LINK_NOARG_TYPED(SwColumnDlg, OkHdl, Button*, void)
|
||||
|
||||
if(pPageSet && SfxItemState::SET == pPageSet->GetItemState(RES_COL) && bPageChanged)
|
||||
{
|
||||
// deterine current PageDescriptor and fill the Set with it
|
||||
// determine current PageDescriptor and fill the Set with it
|
||||
const size_t nCurIdx = rWrtShell.GetCurPageDesc();
|
||||
SwPageDesc aPageDesc(rWrtShell.GetPageDesc(nCurIdx));
|
||||
SwFrameFormat &rFormat = aPageDesc.GetMaster();
|
||||
@ -1074,7 +1074,7 @@ IMPL_LINK( SwColumnPage, EdModify, MetricField *, pMetricField )
|
||||
}
|
||||
|
||||
// Handler behind the Checkbox for automatic width. When the box is checked
|
||||
// no expicit values for the column width can be entered.
|
||||
// no explicit values for the column width can be entered.
|
||||
IMPL_LINK_TYPED( SwColumnPage, AutoWidthHdl, Button*, pButton, void )
|
||||
{
|
||||
CheckBox* pBox = static_cast<CheckBox*>(pButton);
|
||||
|
@ -763,7 +763,7 @@ void SwGlossaryDlg::Init()
|
||||
m_pCategoryBox->MakeVisible(pSelEntry);
|
||||
GrpSelect(m_pCategoryBox);
|
||||
}
|
||||
//JP 16.11.99: the SvxTreeListBox has a Bug. The Box dont recalc the
|
||||
//JP 16.11.99: the SvxTreeListBox has a Bug. The Box don't recalc the
|
||||
// outputsize, when all entries are insertet. The result is, that
|
||||
// the Focus/Highlight rectangle is to large and paintet over the
|
||||
// HScrollbar. -> Fix: call the resize
|
||||
|
@ -81,7 +81,7 @@ public:
|
||||
|
||||
SectionCollectionHelper( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel, const uno::Reference< text::XTextRange >& xTextRange ) throw (uno::RuntimeException) : mxParent( xParent ), mxContext( xContext ), mxModel( xModel )
|
||||
{
|
||||
// Hacky implementation of Range.Sections, only support 1 secction
|
||||
// Hacky implementation of Range.Sections, only support 1 section
|
||||
uno::Reference< beans::XPropertySet > xRangeProps( xTextRange, uno::UNO_QUERY_THROW );
|
||||
uno::Reference< style::XStyle > xStyle = word::getCurrentPageStyle( mxModel, xRangeProps );
|
||||
uno::Reference< beans::XPropertySet > xPageProps( xStyle, uno::UNO_QUERY_THROW );
|
||||
|
@ -175,7 +175,7 @@ public:
|
||||
bool IsSttOfPara() const { return IsSttPara(); }
|
||||
bool IsEndOfPara() const { return IsEndPara(); }
|
||||
|
||||
// select word / sentense
|
||||
// select word / sentence
|
||||
bool SelNearestWrd();
|
||||
bool SelWrd (const Point * = 0, bool bProp=false );
|
||||
// #i32329# Enhanced selection
|
||||
|
@ -323,7 +323,7 @@ namespace SwLangHelper
|
||||
EE_CHAR_LANGUAGE_CTL
|
||||
};
|
||||
|
||||
// Writewr IDs
|
||||
// Writer IDs
|
||||
const sal_uInt16 aLangWhichId_Writer[3] =
|
||||
{
|
||||
RES_CHRATR_LANGUAGE,
|
||||
|
@ -106,7 +106,7 @@ static void lcl_GetPos(SwView* pView,
|
||||
if ( !bHori && nTmp > lSize )
|
||||
lDelta -= nTmp - lSize;
|
||||
|
||||
// use a reference to access/moodify the correct coordinate
|
||||
// use a reference to access/modify the correct coordinate
|
||||
// returned by accessors to non-const object
|
||||
long & rCoord = bHori ? rPos.X() : rPos.Y();
|
||||
rCoord += lDelta;
|
||||
|
@ -2427,7 +2427,7 @@ void SwContentTree::ShowTree()
|
||||
SvTreeListBox::Show();
|
||||
}
|
||||
|
||||
// folded together will not be geidled
|
||||
// folded together will not be glidled
|
||||
|
||||
void SwContentTree::HideTree()
|
||||
{
|
||||
|
@ -878,7 +878,7 @@ int SwWrtShell::IntelligentCut(int nSelection, bool bCut)
|
||||
cNext = GetChar(true);
|
||||
|
||||
int cWord = NO_WORD;
|
||||
// is a word seleced?
|
||||
// is a word selected?
|
||||
if(!cWord && cPrev && cNext &&
|
||||
CH_TXTATR_BREAKWORD != cPrev && CH_TXTATR_INWORD != cPrev &&
|
||||
CH_TXTATR_BREAKWORD != cNext && CH_TXTATR_INWORD != cNext &&
|
||||
|
@ -569,7 +569,7 @@ void SwWrtShell::NavigatorPaste( const NaviContentBookmark& rBkmk,
|
||||
aSection.SetProtectFlag( false );
|
||||
|
||||
// the update of content from linked section at time delete
|
||||
// the undostack. Then the change of the section dont create
|
||||
// the undostack. Then the change of the section don't create
|
||||
// any undoobject. - BUG 69145
|
||||
bool bDoesUndo = DoesUndo();
|
||||
SwUndoId nLastUndoId(UNDO_EMPTY);
|
||||
|
@ -148,7 +148,7 @@ class TestCase( unittest.TestCase):
|
||||
uno.Enum( "com.sun.star.uno.TypeClass", "STRUCT" ), "typeclass of type test")
|
||||
self.failUnless( t1 == t2 , "equal type test" )
|
||||
self.failUnless( t1 == t2 , "equal type test" )
|
||||
self.failUnless( t1 == self.tobj.transportAny( t1 ), "type rountrip test" )
|
||||
self.failUnless( t1 == self.tobj.transportAny( t1 ), "type roundtrip test" )
|
||||
|
||||
def testBool( self ):
|
||||
self.failUnless( uno.Bool(1) , "uno.Bool true test" )
|
||||
|
@ -208,7 +208,7 @@ public class GridControl
|
||||
test.testUpdateRowHeading();
|
||||
test.cleanup();
|
||||
|
||||
// a somehwat less straight-forward test: the data model is expected to implicitly increase its column count
|
||||
// a somewhat less straight-forward test: the data model is expected to implicitly increase its column count
|
||||
// when you add a row which has more columns than currently known
|
||||
final XMutableGridDataModel dataModel = DefaultGridDataModel.create( m_context );
|
||||
dataModel.addRow( 0, new Object[] { 1 } );
|
||||
|
@ -1451,7 +1451,7 @@ void ControlContainerBase::ImplSetPosSize( Reference< XControl >& rxCtrl )
|
||||
}
|
||||
|
||||
sal_Int16 nH = aFM.Ascent + aFM.Descent;
|
||||
sal_Int16 nW = nH/2; // calculate avarege width?!
|
||||
sal_Int16 nW = nH/2; // calculate average width?!
|
||||
|
||||
nX *= nW;
|
||||
nX /= 4;
|
||||
|
@ -1338,7 +1338,7 @@ void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent ) thr
|
||||
maItemListeners.itemStateChanged( rEvent );
|
||||
}
|
||||
// note that speaking stricly, this is wrong: When in 1.0.x, the user would have de-selected
|
||||
// a radio button _without_ selecing another one, this would have caused a notification.
|
||||
// a radio button _without_ selecting another one, this would have caused a notification.
|
||||
// With the change done here, this today won't cause a notification anymore.
|
||||
|
||||
// Fortunately, it's not possible for the user to de-select a radio button without selecting another on,
|
||||
|
@ -203,7 +203,7 @@ const basegfx::B3DHomMatrix& B3dTransformationSet::GetProjection()
|
||||
|
||||
void B3dTransformationSet::PostSetProjection()
|
||||
{
|
||||
// Assign and comptue inverse
|
||||
// Assign and compute inverse
|
||||
maInvProjection = GetProjection();
|
||||
maInvProjection.invert();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user