Fix typos
Change-Id: I3ea8a90f0ec917b4e26335fcd31a5f7e0888589e Reviewed-on: https://gerrit.libreoffice.org/18972 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
committed by
Samuel Mehrbrodt
parent
7de7eeff1c
commit
185f207ef1
@@ -527,7 +527,7 @@ void ScTabView::DoResize( const Point& rOffset, const Size& rSize, bool bInner )
|
||||
}
|
||||
}
|
||||
|
||||
// SetDragRectPixel also whithout Scrollbars etc., when already split
|
||||
// SetDragRectPixel also without Scrollbars etc., when already split
|
||||
if ( bHScroll || aViewData.GetHSplitMode() != SC_SPLIT_NONE )
|
||||
pHSplitter->SetDragRectPixel(
|
||||
Rectangle( nPosX, nPosY, nPosX+nSizeX, nPosY+nSizeY ), pFrameWin );
|
||||
@@ -1132,7 +1132,7 @@ IMPL_LINK_TYPED( ScTabView, ScrollHdl, ScrollBar*, pScroll, void )
|
||||
break;
|
||||
case SCROLL_DRAG:
|
||||
{
|
||||
// only scroll in the corret direction, do not jitter around hidden ranges
|
||||
// only scroll in the correct direction, do not jitter around hidden ranges
|
||||
long nScrollMin = 0; // simulate RangeMin
|
||||
if ( aViewData.GetHSplitMode()==SC_SPLIT_FIX && pScroll == aHScrollRight.get() )
|
||||
nScrollMin = aViewData.GetFixPosX();
|
||||
@@ -1352,8 +1352,8 @@ namespace
|
||||
SCROW lcl_LastVisible( ScViewData& rViewData )
|
||||
{
|
||||
// If many rows are hidden at end of the document (what kind of idiot does that?),
|
||||
// then there should not be a switch to wide row headers beacause of this
|
||||
//! as a member to the document ???
|
||||
// then there should not be a switch to wide row headers because of this
|
||||
//! as a member to the document???
|
||||
ScDocument* pDoc = rViewData.GetDocument();
|
||||
SCTAB nTab = rViewData.GetTabNo();
|
||||
|
||||
|
@@ -1883,7 +1883,7 @@ void ScTabView::KillEditView( bool bNoPaint )
|
||||
{
|
||||
// should be done like this, so that Sfx notice it, but it does not work:
|
||||
//! aViewData.GetViewShell()->GetViewFrame()->GetWindow().GrabFocus();
|
||||
// therfore first like this:
|
||||
// therefore first like this:
|
||||
GetActiveWin()->GrabFocus();
|
||||
}
|
||||
|
||||
|
@@ -472,7 +472,7 @@ void ScTabView::DrawEnableAnim(bool bSet)
|
||||
sal_uInt16 i;
|
||||
if ( pDrawView )
|
||||
{
|
||||
// dont start animations if display of graphics is disabled
|
||||
// don't start animations if display of graphics is disabled
|
||||
// graphics are controlled by VOBJ_TYPE_OLE
|
||||
if ( bSet && aViewData.GetOptions().GetObjMode(VOBJ_TYPE_OLE) == VOBJ_MODE_SHOW )
|
||||
{
|
||||
|
@@ -1628,7 +1628,7 @@ void ScTabViewShell::Construct( TriState nForceDesignMode )
|
||||
pDocSh->SetUpdateEnabled(false);
|
||||
|
||||
if ( GetViewFrame()->GetFrame().IsInPlace() )
|
||||
UpdateHeaderWidth(); // The implace activation requires headers to be calculated
|
||||
UpdateHeaderWidth(); // The inplace activation requires headers to be calculated
|
||||
|
||||
SvBorder aBorder;
|
||||
GetBorderSize( aBorder, Size() );
|
||||
|
@@ -265,7 +265,7 @@ void ScTabViewShell::ExecDrawIns(SfxRequest& rReq)
|
||||
UpdateInputHandler();
|
||||
}
|
||||
|
||||
// inertion of border for Chart is cancelled:
|
||||
// insertion of border for Chart is cancelled:
|
||||
FuPoor* pPoor = GetDrawFuncPtr();
|
||||
if ( pPoor && pPoor->GetSlotID() == SID_DRAW_CHART )
|
||||
GetViewData().GetDispatcher().Execute(SID_DRAW_CHART, SfxCallMode::SLOT | SfxCallMode::RECORD);
|
||||
|
@@ -369,7 +369,7 @@ sal_Int32 SAL_CALL ScTestAddIn::getColorValue( const ::com::sun::star::uno::Refe
|
||||
long nRet = -1;
|
||||
uno::Any aTrans = xProp->getPropertyValue( L"IsCellBackgroundTransparent" );
|
||||
sal_Bool bIsTrans;
|
||||
aTrans >>= bIsTrans; //! dont use >>= for BOOL
|
||||
aTrans >>= bIsTrans; //! don't use >>= for BOOL
|
||||
if (!bIsTrans)
|
||||
{
|
||||
uno::Any aCol = xProp->getPropertyValue( L"CellBackColor" );
|
||||
|
@@ -2675,7 +2675,7 @@ void EffectSequenceHelper::setAnimateForm( CustomAnimationTextGroupPtr pTextGrou
|
||||
}
|
||||
else
|
||||
{
|
||||
// readd the rest to the group again
|
||||
// read the rest to the group again
|
||||
while( aIter != aEnd )
|
||||
{
|
||||
CustomAnimationEffectPtr pEffect( (*aIter++) );
|
||||
|
@@ -68,7 +68,7 @@ Rectangle AccessibleViewForwarder::GetVisibleArea() const
|
||||
return aVisibleArea;
|
||||
}
|
||||
|
||||
/** Tansform the given point into pixel coordinates. After the pixel
|
||||
/** Transform the given point into pixel coordinates. After the pixel
|
||||
coordinates of the window origin are added to make the point coordinates
|
||||
absolute.
|
||||
*/
|
||||
|
@@ -57,7 +57,7 @@ BreakDlg::BreakDlg(
|
||||
mpProgress = new SfxProgress( pShell, SD_RESSTR(STR_BREAK_METAFILE), nSumActionCount*3 );
|
||||
|
||||
pProgrInfo = new SvdProgressInfo( LINK(this, BreakDlg, UpDate) );
|
||||
// every action is editedt 3 times in DoImport()
|
||||
// every action is edited 3 times in DoImport()
|
||||
pProgrInfo->Init( nSumActionCount*3, nObjCount );
|
||||
|
||||
pDrView = _pDrView;
|
||||
|
@@ -109,7 +109,7 @@ sal_Int32 StyleContainer::setProperties( sal_Int32 nStyleId, const PropertyMap&
|
||||
}
|
||||
else
|
||||
{
|
||||
// decrease refcound on old instance
|
||||
// decrease refcount on old instance
|
||||
it->second.RefCount--;
|
||||
// acquire new HashedStyle
|
||||
HashedStyle aSearchStyle;
|
||||
|
@@ -58,7 +58,7 @@
|
||||
/* SYNC STREAMS
|
||||
============
|
||||
|
||||
We stream human-readble tokens to stdout, and binary data (fonts,
|
||||
We stream human-readable tokens to stdout, and binary data (fonts,
|
||||
bitmaps) to g_binary_out. Another process reads from those pipes, and
|
||||
there lies the rub: things can deadlock, if the two involved
|
||||
processes access the pipes in different order. At any point in
|
||||
|
@@ -77,7 +77,7 @@ public:
|
||||
/** Typically called from setCurrentSlide() with the notes page that is
|
||||
associeted with the slide given to setCurrentSlide().
|
||||
|
||||
Iterates over all text shapes on the given notes page and diplays
|
||||
Iterates over all text shapes on the given notes page and displays
|
||||
the concatenated text of these.
|
||||
*/
|
||||
void SetSlide (
|
||||
|
@@ -68,7 +68,7 @@ public:
|
||||
const css::awt::Rectangle& rInnerBox,
|
||||
const css::drawing::framework::BorderType eBorderType) const;
|
||||
|
||||
/** Transorm the outer bounding box of a window to the bounding box of
|
||||
/** Transform the outer bounding box of a window to the bounding box of
|
||||
the inner content area.
|
||||
@param rsPaneURL
|
||||
Specifies the pane style that is used to determine the border sizes.
|
||||
|
@@ -43,9 +43,9 @@ namespace {
|
||||
> PresenterPaneFactoryInterfaceBase;
|
||||
}
|
||||
|
||||
/** The PresenerPaneFactory provides a fixed set of panes.
|
||||
/** The PresenterPaneFactory provides a fixed set of panes.
|
||||
|
||||
In order to make the presener screen more easily extendable in the
|
||||
In order to make the presenter screen more easily extendable in the
|
||||
future the set of supported panes could be made extendable on demand.
|
||||
*/
|
||||
class PresenterPaneFactory
|
||||
|
@@ -228,7 +228,7 @@ private:
|
||||
*/
|
||||
double mnPageAspectRatio;
|
||||
|
||||
/** This broadcast helper is used to notify listeners registed to a
|
||||
/** This broadcast helper is used to notify listeners registered to a
|
||||
SlideShowView object.
|
||||
*/
|
||||
::cppu::OBroadcastHelper maBroadcaster;
|
||||
|
Reference in New Issue
Block a user