Fix typos
Change-Id: I6db05fd19c5c299b07a46154908c077523a0d76f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209792 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
1d66cb9a06
commit
3dbae3b722
@@ -34,7 +34,7 @@ using namespace ::ooo::vba;
|
||||
/** Standard EGA colors, bright. */
|
||||
#define EXC_PALETTE_EGA_COLORS_LIGHT \
|
||||
Color(0x000000), Color(0xFFFFFF), Color(0xFF0000), Color(0x00FF00), Color(0x0000FF), Color(0xFFFF00), Color(0xFF00FF), Color(0x00FFFF)
|
||||
/** Standard EGA colors), dark. */
|
||||
/** Standard EGA colors (dark). */
|
||||
#define EXC_PALETTE_EGA_COLORS_DARK \
|
||||
Color(0x800000), Color(0x008000), Color(0x000080), Color(0x808000), Color(0x800080), Color(0x008080), Color(0xC0C0C0), Color(0x808080)
|
||||
|
||||
|
||||
@@ -2345,7 +2345,7 @@ void ScDBFunc::RepeatDB( bool bRecord )
|
||||
else
|
||||
Query( aQueryParam, nullptr, false );
|
||||
|
||||
// if not inplace the sheet may have changed
|
||||
// if not in-place the sheet may have changed
|
||||
if ( !aQueryParam.bInplace && aQueryParam.nDestTab != nTab )
|
||||
SetTabNo( nTab );
|
||||
}
|
||||
@@ -2391,7 +2391,7 @@ void ScDBFunc::RepeatDB( bool bRecord )
|
||||
ScRange(0, 0, nTab, rDoc.MaxCol(), rDoc.MaxRow(), nTab),
|
||||
PaintPartFlags::Grid | PaintPartFlags::Left | PaintPartFlags::Top | PaintPartFlags::Size);
|
||||
}
|
||||
else // "no not execute any operations"
|
||||
else // "do not execute any operations"
|
||||
ErrorMessage(STR_MSSG_REPEATDB_0);
|
||||
}
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ void ScTabSplitter::Paint( vcl::RenderContext& rRenderContext, const tools::Rect
|
||||
const tools::Long xc = rRect.Right() + rRect.Left();
|
||||
const tools::Long h4 = rRect.GetHeight() / 4;
|
||||
// First xc fraction is truncated, second one is rounded. This will draw a centered line
|
||||
// in handlers with odd width and a centered rectangle in those with even width.
|
||||
// in handles with odd width and a centered rectangle in those with even width.
|
||||
rRenderContext.DrawRect(tools::Rectangle(Point(xc / 2, rRect.Top() + h4),
|
||||
Point((xc + 1) / 2, rRect.Bottom() - h4)));
|
||||
break;
|
||||
@@ -106,7 +106,7 @@ void ScTabSplitter::Paint( vcl::RenderContext& rRenderContext, const tools::Rect
|
||||
const tools::Long yc = rRect.Top() + rRect.Bottom();
|
||||
const tools::Long w4 = rRect.GetWidth() / 4;
|
||||
// First yc fraction is truncated, second one is rounded. This will draw a centered line
|
||||
// in handlers with odd height and a centered rectangle in those with even height.
|
||||
// in handles with odd height and a centered rectangle in those with even height.
|
||||
GetOutDev()->DrawRect(tools::Rectangle(Point(rRect.Left() + w4, yc / 2),
|
||||
Point(rRect.Right() - w4, (yc + 1) / 2)));
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user