Fix typos
Change-Id: I9d99aba8500ea31628e4b883974bb60181407647 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210562 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
a5fc9ac9ab
commit
6a1480506d
+1
-1
@@ -847,7 +847,7 @@ $(eval $(call gb_Helper_register_jars,NONE,\
|
|||||||
))
|
))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# 'test_unittest' is only package delivering to workdir.
|
# 'test_unittest' is the only package delivering to workdir.
|
||||||
# Other packages could be potentially autoinstalled.
|
# Other packages could be potentially autoinstalled.
|
||||||
$(eval $(call gb_Helper_register_packages, \
|
$(eval $(call gb_Helper_register_packages, \
|
||||||
test_unittest \
|
test_unittest \
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ private:
|
|||||||
|
|
||||||
::osl::Mutex& m_aSharedMutex;
|
::osl::Mutex& m_aSharedMutex;
|
||||||
css::uno::WeakReference< css::lang::XConnectionPointContainer > m_oContainerWeakReference; // Reference to container-class!. Don't use Reference<...>
|
css::uno::WeakReference< css::lang::XConnectionPointContainer > m_oContainerWeakReference; // Reference to container-class!. Don't use Reference<...>
|
||||||
// It is a ring-reference => and must be a wekreference!
|
// It is a ring-reference => and must be a weak-reference!
|
||||||
OConnectionPointContainerHelper* m_pContainerImplementation;
|
OConnectionPointContainerHelper* m_pContainerImplementation;
|
||||||
css::uno::Type m_aInterfaceType;
|
css::uno::Type m_aInterfaceType;
|
||||||
css::uno::Reference< css::uno::XInterface > m_xLock;
|
css::uno::Reference< css::uno::XInterface > m_xLock;
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ android/qa/desktop/Makefile (mmeeks's desktop demo, also works to some extent)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Assets that are unpacked at run-time into the app's data directory. These
|
// Assets that are unpacked at run-time into the app's data directory. These
|
||||||
// are files read by non-LO code, fontconfig and freetype for now, that doesn't
|
// are files read by non-LO code, fontconfig and freetype for now, that don't
|
||||||
// understand "/assets" paths.
|
// understand "/assets" paths.
|
||||||
tasks.register<Copy>("copyUnpackAssets") {
|
tasks.register<Copy>("copyUnpackAssets") {
|
||||||
description = "copies assets that need to be extracted on the device"
|
description = "copies assets that need to be extracted on the device"
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ IMPL_LINK_NOARG(ColorSchemeDialog, OptionHdl, weld::Toggleable&, void)
|
|||||||
IMPL_LINK_NOARG(ColorSchemeDialog, SelectHdl, weld::ItemView&, void)
|
IMPL_LINK_NOARG(ColorSchemeDialog, SelectHdl, weld::ItemView&, void)
|
||||||
{
|
{
|
||||||
// Apply the selected scheme only for the current ModulWinLayout for preview
|
// Apply the selected scheme only for the current ModulWinLayout for preview
|
||||||
// Only if the user presses OK the scheme will be applied to all ModulWinLayout(s)
|
// Only if the user presses OK will the scheme be applied to all ModulWinLayout(s)
|
||||||
m_sSelectedSchemeId = m_xSchemeList->get_selected_id();
|
m_sSelectedSchemeId = m_xSchemeList->get_selected_id();
|
||||||
m_pModulWinLayout->ApplyColorSchemeToCurrentWindow(m_sSelectedSchemeId);
|
m_pModulWinLayout->ApplyColorSchemeToCurrentWindow(m_sSelectedSchemeId);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ namespace basegfx::utils
|
|||||||
if (fFact >= 1.0)
|
if (fFact >= 1.0)
|
||||||
return BColor(rEndRGB.getRed(), rEndRGB.getGreen(), rEndRGB.getBlue());
|
return BColor(rEndRGB.getRed(), rEndRGB.getGreen(), rEndRGB.getBlue());
|
||||||
|
|
||||||
// The hue is undefined for Gray, the rgb2hsl conversion sets it to 0 degree. Thus Gray needs
|
// The hue is undefined for Gray, the rgb2hsl conversion sets it to 0 degrees. Thus Gray needs
|
||||||
// some special treatment in interpolating.
|
// some special treatment in interpolating.
|
||||||
const bool bIsStartGray = rStartRGB.getRed() == rStartRGB.getGreen()
|
const bool bIsStartGray = rStartRGB.getRed() == rStartRGB.getGreen()
|
||||||
&& rStartRGB.getGreen() == rStartRGB.getBlue();
|
&& rStartRGB.getGreen() == rStartRGB.getBlue();
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ namespace basegfx
|
|||||||
|
|
||||||
if(nMaxRecursionDepth)
|
if(nMaxRecursionDepth)
|
||||||
{
|
{
|
||||||
// divide at 0.5 ad test both edges for angle criteria
|
// divide at 0.5 and test both edges for angle criteria
|
||||||
const B2DPoint aS1L(average(rfPA, rfEA));
|
const B2DPoint aS1L(average(rfPA, rfEA));
|
||||||
const B2DPoint aS1C(average(rfEA, rfEB));
|
const B2DPoint aS1C(average(rfEA, rfEB));
|
||||||
const B2DPoint aS1R(average(rfEB, rfPB));
|
const B2DPoint aS1R(average(rfEB, rfPB));
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ public:
|
|||||||
B2DHomMatrix mat;
|
B2DHomMatrix mat;
|
||||||
mat.shearX(3.0);
|
mat.shearX(3.0);
|
||||||
mat.shearY(7.0);
|
mat.shearY(7.0);
|
||||||
CPPUNIT_ASSERT_EQUAL_MESSAGE("translate", maShear, mat);
|
CPPUNIT_ASSERT_EQUAL_MESSAGE("shear", maShear, mat);
|
||||||
}
|
}
|
||||||
|
|
||||||
void multiply()
|
void multiply()
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ public:
|
|||||||
// which gets exported now correctly as 'l' and also a point (#4, index 3)
|
// which gets exported now correctly as 'l' and also a point (#4, index 3)
|
||||||
// with C2 continuity which produces a 's' statement now.
|
// with C2 continuity which produces a 's' statement now.
|
||||||
|
|
||||||
// The old SVGexport identified nun-used ControlVectors erroneously as Bezier segments
|
// The old SVGexport identified non-used ControlVectors erroneously as Bezier segments
|
||||||
// because the 2nd vector at the start point was used, even when added
|
// because the 2nd vector at the start point was used, even when added
|
||||||
// with start point was identical to end point. Exactly for that reason
|
// with start point was identical to end point. Exactly for that reason
|
||||||
// i reworked the B2DPolygon to use prev, next control points.
|
// i reworked the B2DPolygon to use prev, next control points.
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dvector);
|
|||||||
} // namespace basegfx3d
|
} // namespace basegfx3d
|
||||||
|
|
||||||
// this macro creates an empty function, which will be called by the RegisterAllFunctions()
|
// this macro creates an empty function, which will be called by the RegisterAllFunctions()
|
||||||
// to allow the user the possibility to also register some functions by hand.
|
// to give the user the possibility to also register some functions by hand.
|
||||||
// NOADDITIONAL;
|
// NOADDITIONAL;
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
|||||||
@@ -66,12 +66,12 @@ public:
|
|||||||
CPPUNIT_ASSERT_MESSAGE("0.51", fTools::equal(fAlpha, 0.025));
|
CPPUNIT_ASSERT_MESSAGE("0.51", fTools::equal(fAlpha, 0.025));
|
||||||
|
|
||||||
std::tie(nIndex, fAlpha) = maKeyStops.lerp(0.9);
|
std::tie(nIndex, fAlpha) = maKeyStops.lerp(0.9);
|
||||||
CPPUNIT_ASSERT_EQUAL_MESSAGE("0.51", std::ptrdiff_t(1), nIndex);
|
CPPUNIT_ASSERT_EQUAL_MESSAGE("0.9", std::ptrdiff_t(1), nIndex);
|
||||||
CPPUNIT_ASSERT_MESSAGE("0.51", fTools::equal(fAlpha, 1.0));
|
CPPUNIT_ASSERT_MESSAGE("0.9", fTools::equal(fAlpha, 1.0));
|
||||||
|
|
||||||
std::tie(nIndex, fAlpha) = maKeyStops.lerp(1.0);
|
std::tie(nIndex, fAlpha) = maKeyStops.lerp(1.0);
|
||||||
CPPUNIT_ASSERT_EQUAL_MESSAGE("0.51", std::ptrdiff_t(1), nIndex);
|
CPPUNIT_ASSERT_EQUAL_MESSAGE("1.0", std::ptrdiff_t(1), nIndex);
|
||||||
CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("0.51", 1.0, fAlpha, 1E-12);
|
CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("1.0", 1.0, fAlpha, 1E-12);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Change the following lines only, if you add, remove or rename
|
// Change the following lines only, if you add, remove or rename
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ bool SbModule::Compile()
|
|||||||
|
|
||||||
GetSbData()->pCompMod = pOld;
|
GetSbData()->pCompMod = pOld;
|
||||||
|
|
||||||
// compiling a module, the module-global
|
// When compiling a module, the module-global
|
||||||
// variables of all modules become invalid
|
// variables of all modules become invalid
|
||||||
bool bRet = IsCompiled();
|
bool bRet = IsCompiled();
|
||||||
if( bRet )
|
if( bRet )
|
||||||
|
|||||||
@@ -282,7 +282,7 @@ ErrCode SbxValue::ScanNumIntnl( const OUString& rSrc, double& nVal, bool bSingle
|
|||||||
return nRetError;
|
return nRetError;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The number is prepared unformattedly with the given number of
|
// The number is prepared without formatting with the given number of
|
||||||
// NK-positions. A leading minus is added if applicable.
|
// NK-positions. A leading minus is added if applicable.
|
||||||
// This routine is public because it's also used by the Put-functions
|
// This routine is public because it's also used by the Put-functions
|
||||||
// in the class SbxImpSTRING.
|
// in the class SbxImpSTRING.
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ void ImpPutString( SbxValues* p, const OUString* n )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Convert string to an array of bytes, preserving unicode (2bytes per character)
|
// Convert string to an array of bytes, preserving unicode (2 bytes per character)
|
||||||
SbxArray* StringToByteArray(const OUString& rStr)
|
SbxArray* StringToByteArray(const OUString& rStr)
|
||||||
{
|
{
|
||||||
sal_Int32 nArraySize = rStr.getLength() * 2;
|
sal_Int32 nArraySize = rStr.getLength() * 2;
|
||||||
@@ -298,7 +298,7 @@ SbxArray* StringToByteArray(const OUString& rStr)
|
|||||||
return pArray;
|
return pArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert an array of bytes to string (2bytes per character)
|
// Convert an array of bytes to string (2 bytes per character)
|
||||||
OUString ByteArrayToString(SbxArray* pArr)
|
OUString ByteArrayToString(SbxArray* pArr)
|
||||||
{
|
{
|
||||||
sal_uInt32 nCount = pArr->Count();
|
sal_uInt32 nCount = pArr->Count();
|
||||||
|
|||||||
@@ -79,8 +79,8 @@ def get_current_version(libName):
|
|||||||
return Version("0.0.0")
|
return Version("0.0.0")
|
||||||
|
|
||||||
def get_library_list(fileName):
|
def get_library_list(fileName):
|
||||||
inputProces = "include " + fileName + "\nall:\n\t$(foreach v,$(sort $(filter %TARBALL,$(.VARIABLES))),$(info export $(v)=$($(v))))"
|
inputProcess = "include " + fileName + "\nall:\n\t$(foreach v,$(sort $(filter %TARBALL,$(.VARIABLES))),$(info export $(v)=$($(v))))"
|
||||||
process = subprocess.run(["make", "-q", "-f", "-"], input=bytes(inputProces, 'UTF-8'), stdout=subprocess.PIPE)
|
process = subprocess.run(["make", "-q", "-f", "-"], input=bytes(inputProcess, 'UTF-8'), stdout=subprocess.PIPE)
|
||||||
|
|
||||||
libraryList = []
|
libraryList = []
|
||||||
for lib in process.stdout.splitlines():
|
for lib in process.stdout.splitlines():
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ EOF
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#starting corpuses
|
#starting corpora
|
||||||
for zip_file in $SRC/*_seed_corpus.zip; do
|
for zip_file in $SRC/*_seed_corpus.zip; do
|
||||||
cp $zip_file $OUT
|
cp $zip_file $OUT
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -111,8 +111,8 @@ grep -h "rng:attribute name=" libreoffice/schema/odf1.3/OpenDocument-v1.3-schema
|
|||||||
echo "# attributes' values" >> odf.dict
|
echo "# attributes' values" >> odf.dict
|
||||||
grep -h "rng:value" libreoffice/schema/odf1.3/OpenDocument-v1.3-schema.rng libreoffice/schema/libreoffice/OpenDocument-v1.4+libreoffice-schema.rng | sed -n 's#.*<rng:value>\([^<]*\)</rng:value>.*#"\1"#p' | sort | uniq >> odf.dict
|
grep -h "rng:value" libreoffice/schema/odf1.3/OpenDocument-v1.3-schema.rng libreoffice/schema/libreoffice/OpenDocument-v1.4+libreoffice-schema.rng | sed -n 's#.*<rng:value>\([^<]*\)</rng:value>.*#"\1"#p' | sort | uniq >> odf.dict
|
||||||
|
|
||||||
#fuzzing corpuses
|
# fuzzing corpora
|
||||||
#afl jpeg, gif, bmp, png, webp
|
# afl jpeg, gif, bmp, png, webp
|
||||||
curl --no-progress-meter -S -C - -O https://lcamtuf.coredump.cx/afl/demo/afl_testcases.tgz
|
curl --no-progress-meter -S -C - -O https://lcamtuf.coredump.cx/afl/demo/afl_testcases.tgz
|
||||||
mkdir -p afl-testcases && cd afl-testcases/ && tar xf $SRC/afl_testcases.tgz && cd .. && \
|
mkdir -p afl-testcases && cd afl-testcases/ && tar xf $SRC/afl_testcases.tgz && cd .. && \
|
||||||
zip -q $SRC/jpgfuzzer_seed_corpus.zip afl-testcases/jpeg*/full/images/* && \
|
zip -q $SRC/jpgfuzzer_seed_corpus.zip afl-testcases/jpeg*/full/images/* && \
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ namespace basegfx
|
|||||||
class B2DHomMatrix;
|
class B2DHomMatrix;
|
||||||
class B2IRange;
|
class B2IRange;
|
||||||
class B2DPolyPolygon;
|
class B2DPolyPolygon;
|
||||||
};
|
}
|
||||||
|
|
||||||
namespace com::sun::star::geometry
|
namespace com::sun::star::geometry
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -146,7 +146,7 @@
|
|||||||
#define STR_HISTOGRAM_INVALID_OVERFLOW_UNDERFLOW NC_("STR_HISTOGRAM_INVALID_OVERFLOW_UNDERFLOW", "The underflow value must be lower than the overflow value. Check your input.")
|
#define STR_HISTOGRAM_INVALID_OVERFLOW_UNDERFLOW NC_("STR_HISTOGRAM_INVALID_OVERFLOW_UNDERFLOW", "The underflow value must be lower than the overflow value. Check your input.")
|
||||||
#define STR_TYPE_AREA NC_("STR_TYPE_AREA", "Area")
|
#define STR_TYPE_AREA NC_("STR_TYPE_AREA", "Area")
|
||||||
#define STR_TYPE_PIE NC_("STR_TYPE_PIE", "Pie")
|
#define STR_TYPE_PIE NC_("STR_TYPE_PIE", "Pie")
|
||||||
#define STR_TYPE_OFPIE NC_("STR_TYPE_PIE", "Of-Pie")
|
#define STR_TYPE_OFPIE NC_("STR_TYPE_OFPIE", "Of-Pie")
|
||||||
#define STR_PIE_EXPLODED NC_("STR_PIE_EXPLODED", "Exploded Pie Chart")
|
#define STR_PIE_EXPLODED NC_("STR_PIE_EXPLODED", "Exploded Pie Chart")
|
||||||
#define STR_BAR_OF_PIE NC_("STR_BAR_OF_PIE", "Bar-of-pie Chart")
|
#define STR_BAR_OF_PIE NC_("STR_BAR_OF_PIE", "Bar-of-pie Chart")
|
||||||
#define STR_PIE_OF_PIE NC_("STR_PIE_OF_PIE", "Pie-of-pie Chart")
|
#define STR_PIE_OF_PIE NC_("STR_PIE_OF_PIE", "Pie-of-pie Chart")
|
||||||
|
|||||||
Reference in New Issue
Block a user