Fix typos
Change-Id: I8374d6d08f4eb4ae2821e213371c615b92d7e9ab Reviewed-on: https://gerrit.libreoffice.org/29432 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
committed by
Noel Grandin
parent
f15eb068fd
commit
943919692e
@@ -294,7 +294,7 @@ bool SalBool::VisitCStyleCastExpr(CStyleCastExpr * expr) {
|
|||||||
SourceLocation argLoc;
|
SourceLocation argLoc;
|
||||||
if (compat::isMacroArgExpansion(
|
if (compat::isMacroArgExpansion(
|
||||||
compiler, expr->getLocStart(), &argLoc)
|
compiler, expr->getLocStart(), &argLoc)
|
||||||
//TODO: check its the complete (first) arg to the macro
|
//TODO: check it's the complete (first) arg to the macro
|
||||||
&& (Lexer::getImmediateMacroName(
|
&& (Lexer::getImmediateMacroName(
|
||||||
argLoc, compiler.getSourceManager(),
|
argLoc, compiler.getSourceManager(),
|
||||||
compiler.getLangOpts())
|
compiler.getLangOpts())
|
||||||
|
@@ -139,7 +139,7 @@ public class DataSource
|
|||||||
/** returns the name of the data source
|
/** returns the name of the data source
|
||||||
*
|
*
|
||||||
* If a data source is registered at the database context, the name is the registration
|
* If a data source is registered at the database context, the name is the registration
|
||||||
* name. Otherwise, its the URL which the respective database document is based on.
|
* name. Otherwise, it's the URL which the respective database document is based on.
|
||||||
*
|
*
|
||||||
* Note that the above definition is from the UNO API, not from this wrapper here.
|
* Note that the above definition is from the UNO API, not from this wrapper here.
|
||||||
*/
|
*/
|
||||||
|
@@ -33,7 +33,7 @@ java_sql_Array::~java_sql_Array()
|
|||||||
|
|
||||||
jclass java_sql_Array::getMyClass() const
|
jclass java_sql_Array::getMyClass() const
|
||||||
{
|
{
|
||||||
// the class must be fetched once, therefore its static
|
// the class must be fetched once, therefore it's static
|
||||||
if( !theClass )
|
if( !theClass )
|
||||||
theClass = findMyClass("java/sql/Array");
|
theClass = findMyClass("java/sql/Array");
|
||||||
|
|
||||||
|
@@ -166,7 +166,7 @@ void SfxStylesInfo_Impl::getLabel4Style(SfxStyleInfo_Impl& aStyle)
|
|||||||
|
|
||||||
::std::vector< SfxStyleInfo_Impl > SfxStylesInfo_Impl::getStyleFamilies()
|
::std::vector< SfxStyleInfo_Impl > SfxStylesInfo_Impl::getStyleFamilies()
|
||||||
{
|
{
|
||||||
// Its an optional interface!
|
// It's an optional interface!
|
||||||
css::uno::Reference< css::style::XStyleFamiliesSupplier > xModel(m_xDoc, css::uno::UNO_QUERY);
|
css::uno::Reference< css::style::XStyleFamiliesSupplier > xModel(m_xDoc, css::uno::UNO_QUERY);
|
||||||
if (!xModel.is())
|
if (!xModel.is())
|
||||||
return ::std::vector< SfxStyleInfo_Impl >();
|
return ::std::vector< SfxStyleInfo_Impl >();
|
||||||
|
@@ -161,7 +161,7 @@ void Desktop::CheckOpenCLCompute(const Reference< XDesktop2 > &xDesktop)
|
|||||||
// OpenCL device changed - sanity check it and disable if bad.
|
// OpenCL device changed - sanity check it and disable if bad.
|
||||||
|
|
||||||
boost::optional<sal_Int32> nOrigMinimumSize = officecfg::Office::Calc::Formula::Calculation::OpenCLMinimumDataSize::get();
|
boost::optional<sal_Int32> nOrigMinimumSize = officecfg::Office::Calc::Formula::Calculation::OpenCLMinimumDataSize::get();
|
||||||
{ // set the minumum group size to something small for quick testing.
|
{ // set the minimum group size to something small for quick testing.
|
||||||
std::shared_ptr<comphelper::ConfigurationChanges> xBatch(comphelper::ConfigurationChanges::create());
|
std::shared_ptr<comphelper::ConfigurationChanges> xBatch(comphelper::ConfigurationChanges::create());
|
||||||
officecfg::Office::Calc::Formula::Calculation::OpenCLMinimumDataSize::set(3 /* small */, xBatch);
|
officecfg::Office::Calc::Formula::Calculation::OpenCLMinimumDataSize::set(3 /* small */, xBatch);
|
||||||
xBatch->commit();
|
xBatch->commit();
|
||||||
|
@@ -602,12 +602,12 @@ void CallbackFlushHandler::queue(const int type, const char* data)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Supress invalid payloads.
|
// Suppress invalid payloads.
|
||||||
if (type == LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR &&
|
if (type == LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR &&
|
||||||
payload.find(", 0, 0, ") != std::string::npos)
|
payload.find(", 0, 0, ") != std::string::npos)
|
||||||
{
|
{
|
||||||
// The cursor position is often the relative coordinates of the widget
|
// The cursor position is often the relative coordinates of the widget
|
||||||
// issueing it, instead of the absolute one that we expect.
|
// issuing it, instead of the absolute one that we expect.
|
||||||
// This is temporary however, and, once the control is created and initialized
|
// This is temporary however, and, once the control is created and initialized
|
||||||
// correctly, it eventually emits the correct absolute coordinates.
|
// correctly, it eventually emits the correct absolute coordinates.
|
||||||
SAL_WARN("lok", "Skipping invalid event [" + std::to_string(type) + "]: [" + payload + "].");
|
SAL_WARN("lok", "Skipping invalid event [" + std::to_string(type) + "]: [" + payload + "].");
|
||||||
|
@@ -94,7 +94,7 @@ namespace drawinglayer
|
|||||||
// (see above).
|
// (see above).
|
||||||
// This could even be done when vector graphic, but we explicitly want to have the
|
// This could even be done when vector graphic, but we explicitly want to have the
|
||||||
// pure primitive solution for this; this will allow vector graphics to stay vector
|
// pure primitive solution for this; this will allow vector graphics to stay vector
|
||||||
// geraphics, independent from the color filtering stuff. This will enhance e.g.
|
// graphics, independent from the color filtering stuff. This will enhance e.g.
|
||||||
// SVG and print quality while reducing data size at the same time.
|
// SVG and print quality while reducing data size at the same time.
|
||||||
// The other way around the old modifications when only used on already bitmap objects
|
// The other way around the old modifications when only used on already bitmap objects
|
||||||
// will not lose any quality.
|
// will not lose any quality.
|
||||||
|
@@ -51,7 +51,7 @@ namespace drawinglayer
|
|||||||
/** the Graphic with all its content possibilities, here only
|
/** the Graphic with all its content possibilities, here only
|
||||||
animated is allowed and gets checked by isValidData().
|
animated is allowed and gets checked by isValidData().
|
||||||
an instance of Graphic is used here since it's ref-counted
|
an instance of Graphic is used here since it's ref-counted
|
||||||
and thus a safe cpoy for now
|
and thus a safe copy for now
|
||||||
*/
|
*/
|
||||||
const Graphic maGraphic;
|
const Graphic maGraphic;
|
||||||
|
|
||||||
|
@@ -334,7 +334,7 @@ void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet )
|
|||||||
|
|
||||||
if( ( DFLT_ESC_AUTO_SUPER != nEsc ) && ( DFLT_ESC_AUTO_SUB != nEsc ) )
|
if( ( DFLT_ESC_AUTO_SUPER != nEsc ) && ( DFLT_ESC_AUTO_SUB != nEsc ) )
|
||||||
{
|
{
|
||||||
nEsc *= 10; //HalPoints => Twips was embezzled in RTFITEM.CXX!
|
nEsc *= 10; //HalfPoints => Twips was embezzled in RTFITEM.CXX!
|
||||||
SvxFont aFont;
|
SvxFont aFont;
|
||||||
mpEditEngine->SeekCursor(aStartPaM.GetNode(), aStartPaM.GetIndex()+1, aFont);
|
mpEditEngine->SeekCursor(aStartPaM.GetNode(), aStartPaM.GetIndex()+1, aFont);
|
||||||
nEsc = nEsc * 100 / aFont.GetFontSize().Height();
|
nEsc = nEsc * 100 / aFont.GetFontSize().Height();
|
||||||
|
@@ -1080,7 +1080,7 @@ SfxPoolItem* SvxTabStopItem::Create( SvStream& rStrm, sal_uInt16 ) const
|
|||||||
SvStream& SvxTabStopItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const
|
SvStream& SvxTabStopItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const
|
||||||
{
|
{
|
||||||
// Default-Tabs are only expanded for the default Attribute. For complete
|
// Default-Tabs are only expanded for the default Attribute. For complete
|
||||||
// backward compability (<=304) all tabs have to be expanded, this makes
|
// backward compatibility (<=304) all tabs have to be expanded, this makes
|
||||||
// the files grow large in size. All only SWG!
|
// the files grow large in size. All only SWG!
|
||||||
|
|
||||||
const SfxItemPool *pPool = SfxItemPool::GetStoringPool();
|
const SfxItemPool *pPool = SfxItemPool::GetStoringPool();
|
||||||
|
Reference in New Issue
Block a user