Fix typos
Change-Id: I82405059d900b6605075bf5756f3f0fb99e9002e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129451 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
618084819b
commit
ff1544883f
@@ -118,7 +118,7 @@ private:
|
|||||||
std::stack<sal_uInt32> mnStartTokenStack;
|
std::stack<sal_uInt32> mnStartTokenStack;
|
||||||
|
|
||||||
css::awt::Point maPosition;
|
css::awt::Point maPosition;
|
||||||
bool m_bFullWPGSUpport; // Is this DrawingML shape supposed to be proccessed as WPG?
|
bool m_bFullWPGSUpport; // Is this DrawingML shape supposed to be processed as WPG?
|
||||||
|
|
||||||
drawingml::ShapePtr mpShape;
|
drawingml::ShapePtr mpShape;
|
||||||
std::shared_ptr< vml::Drawing > mpDrawing;
|
std::shared_ptr< vml::Drawing > mpDrawing;
|
||||||
|
@@ -151,7 +151,7 @@ public class ResourceManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get trasfering Operation.
|
* Get transferring Operation.
|
||||||
*
|
*
|
||||||
*@return String That contains the trasfering Operation
|
*@return String That contains the trasfering Operation
|
||||||
*/
|
*/
|
||||||
|
@@ -26,7 +26,7 @@ import com.sun.star.datatransfer.*;
|
|||||||
public class SysUtils {
|
public class SysUtils {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tries to obtain text data from cliboard if such one exists.
|
* Tries to obtain text data from clipboard if such one exists.
|
||||||
* The method iterates through all 'text/plain' supported data
|
* The method iterates through all 'text/plain' supported data
|
||||||
* flavors and returns the first non-null String value.
|
* flavors and returns the first non-null String value.
|
||||||
*
|
*
|
||||||
|
@@ -185,12 +185,12 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testChineseAutoFirstLineIndent)
|
|||||||
|
|
||||||
xmlDocUniquePtr pXmlDoc = parseLayoutDump();
|
xmlDocUniquePtr pXmlDoc = parseLayoutDump();
|
||||||
|
|
||||||
// Get the line width of the first line for the 1st paragrapsh.
|
// Get the line width of the first line for the 1st paragraph.
|
||||||
sal_Int32 nFirstLineWidth
|
sal_Int32 nFirstLineWidth
|
||||||
= getXPath(pXmlDoc, "//body/txt[1]/SwParaPortion[1]/SwLineLayout[1]/SwLinePortion[1]",
|
= getXPath(pXmlDoc, "//body/txt[1]/SwParaPortion[1]/SwLineLayout[1]/SwLinePortion[1]",
|
||||||
"width")
|
"width")
|
||||||
.toInt32();
|
.toInt32();
|
||||||
// Get the line width of the first line for the 2nd paragrapsh.
|
// Get the line width of the first line for the 2nd paragraph.
|
||||||
sal_Int32 nSecondLineWidth
|
sal_Int32 nSecondLineWidth
|
||||||
= getXPath(pXmlDoc, "//body/txt[2]/SwParaPortion[1]/SwLineLayout[1]/SwLinePortion[1]",
|
= getXPath(pXmlDoc, "//body/txt[2]/SwParaPortion[1]/SwLineLayout[1]/SwLinePortion[1]",
|
||||||
"width")
|
"width")
|
||||||
|
@@ -925,7 +925,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf126426)
|
|||||||
CPPUNIT_ASSERT_EQUAL(OUString("Some text "), xRun->getString());
|
CPPUNIT_ASSERT_EQUAL(OUString("Some text "), xRun->getString());
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// Link and this content was completely missong before
|
// Link and this content was completely missing before
|
||||||
uno::Reference<text::XTextRange> xRun(xRunEnum->nextElement(), uno::UNO_QUERY_THROW);
|
uno::Reference<text::XTextRange> xRun(xRunEnum->nextElement(), uno::UNO_QUERY_THROW);
|
||||||
CPPUNIT_ASSERT_EQUAL(OUString("Link"), xRun->getString());
|
CPPUNIT_ASSERT_EQUAL(OUString("Link"), xRun->getString());
|
||||||
auto aURL = getProperty<OUString>(xRun, "HyperLinkURL");
|
auto aURL = getProperty<OUString>(xRun, "HyperLinkURL");
|
||||||
|
@@ -336,7 +336,7 @@ void CDOTransferable::initFlavorListFromFormatList(const std::vector<sal_uInt32>
|
|||||||
for (sal_uInt32 cfFormat : rFormats)
|
for (sal_uInt32 cfFormat : rFormats)
|
||||||
{
|
{
|
||||||
// we use locales only to determine the
|
// we use locales only to determine the
|
||||||
// charset if there is text on the cliboard
|
// charset if there is text on the clipboard
|
||||||
// we don't offer this format
|
// we don't offer this format
|
||||||
if (CF_LOCALE == cfFormat)
|
if (CF_LOCALE == cfFormat)
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user