Fix typos
Change-Id: I3fb0e9e9d2b16195bf9445d01da8b5936c148544 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211770 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
f6b0e1736e
commit
3bc01f0c99
@@ -2875,7 +2875,7 @@ bool SfxObjectShell::DoSave_Impl( const SfxItemSet* pArgs )
|
||||
pSet->ClearItem( SID_VERSION );
|
||||
pSet->ClearItem( SID_DOC_BASEURL );
|
||||
|
||||
// copy the version comment and major items for the checkin only
|
||||
// copy the version comment and major items for the check-in only
|
||||
if ( pRetrMedium->IsInCheckIn( ) )
|
||||
{
|
||||
const SfxPoolItem* pMajor = pArgs->GetItem( SID_DOCINFO_MAJOR );
|
||||
|
||||
@@ -463,10 +463,10 @@ private:
|
||||
};
|
||||
|
||||
|
||||
/** Abstract baseclass for all composite node
|
||||
/** Abstract base class for all composite nodes
|
||||
*
|
||||
* Subclasses of this class can have subnodes. Nodes that doesn't derivate from
|
||||
* this class does not have subnodes.
|
||||
* Subclasses of this class can have subnodes. Nodes that don't derive from
|
||||
* this class do not have subnodes.
|
||||
*/
|
||||
class SmStructureNode : public SmNode
|
||||
{
|
||||
@@ -589,9 +589,9 @@ private:
|
||||
};
|
||||
|
||||
|
||||
/** Abstract base class for all visible node
|
||||
/** Abstract base class for all visible nodes
|
||||
*
|
||||
* Nodes that doesn't derivate from this class doesn't draw anything, but their
|
||||
* Nodes that don't derive from this class don't draw anything, but their
|
||||
* children.
|
||||
*/
|
||||
class SmVisibleNode : public SmNode
|
||||
|
||||
@@ -85,7 +85,7 @@ void SmOoxmlExport::ConvertFromStarMath( const ::sax_fastparser::FSHelperPtr& se
|
||||
// part of the ooxml math stuff.
|
||||
|
||||
// The w prefix is bound in a DOCX and nowhere else. A formula in a presentation or a
|
||||
// spreadsheet goes out inside a slide or a sheet, which never declare it, so run
|
||||
// spreadsheet goes out inside a slide or a sheet, which never declares it, so run
|
||||
// properties there would leave the prefix unbound.
|
||||
bool SmOoxmlExport::WritesRunProperties() const
|
||||
{
|
||||
|
||||
@@ -117,7 +117,7 @@ IMPL_LINK_NOARG(LineWidthPopup, VSSelectHdl, ValueSet*, void)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_xVSWidth->SetNoSelection(); //add , set no selection and keep the last select item
|
||||
m_xVSWidth->SetNoSelection(); // add: set no selection and keep the last selected item
|
||||
m_xVSWidth->SetFormat();
|
||||
m_xVSWidth->Invalidate();
|
||||
}
|
||||
|
||||
+1
-1
@@ -1595,7 +1595,7 @@ public:
|
||||
const SfxItemSet* pSet );
|
||||
void SetFormatItemByAutoFormat( const SwPaM& rPam, const SfxItemSet& );
|
||||
|
||||
// Only for SW-textbloxks! Does not pay any attention to layout!
|
||||
// Only for SW text blocks! Does not pay any attention to layout!
|
||||
void ClearDoc(); // Deletes all content!
|
||||
|
||||
// Query /set data for PagePreview.
|
||||
|
||||
+1
-1
@@ -299,7 +299,7 @@ public:
|
||||
/// Same as IsObjSelectable(), but return the object as well.
|
||||
SdrObject* GetObjAt(const Point& rPt);
|
||||
bool IsInsideSelectedObj( const Point& rPt ); ///< returns enum values
|
||||
/** Returns true if it is background object, and is covered by text at the given point. */
|
||||
/** Returns true if it is a background object, and is covered by text at the given point. */
|
||||
bool IsTextOverBgObjectAt(const Point& rPt, const SdrObject* pObj);
|
||||
/** Test if there is a draw object at that position and if it should be selected.
|
||||
The 'should' is aimed at Writer text fly frames which may be in front of
|
||||
|
||||
@@ -264,7 +264,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreDocTest, testShapeZOrderOverTextBox)
|
||||
// Without the accompanying fix in place, this test would have failed with:
|
||||
// - Expected: 1
|
||||
// - Actual : 2
|
||||
// The shape over the text box was put one place too high and ended up over the shape that5
|
||||
// The shape over the text box was put one place too high and ended up over the shape that
|
||||
// should have covered it: the import added a place for the text frame of the text box,
|
||||
// which the z-order it read back does not count.
|
||||
CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(0), nBottom);
|
||||
|
||||
Reference in New Issue
Block a user