Spelling
Change-Id: I7e55e51f63c3d8b1c778593a08ece7bc122b2765
This commit is contained in:
@@ -340,7 +340,7 @@ void ImplRegionBand::ScaleX( double fHorzScale )
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// combine overlaping sparations
|
// combine overlapping sparations
|
||||||
|
|
||||||
bool ImplRegionBand::OptimizeBand()
|
bool ImplRegionBand::OptimizeBand()
|
||||||
{
|
{
|
||||||
@@ -361,7 +361,7 @@ bool ImplRegionBand::OptimizeBand()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// overlaping separations? -> combine!
|
// overlapping separations? -> combine!
|
||||||
if ( pSep->mpNextSep )
|
if ( pSep->mpNextSep )
|
||||||
{
|
{
|
||||||
if ( (pSep->mnXRight+1) >= pSep->mpNextSep->mnXLeft )
|
if ( (pSep->mnXRight+1) >= pSep->mpNextSep->mnXLeft )
|
||||||
@@ -426,11 +426,11 @@ void ImplRegionBand::Union( long nXLeft, long nXRight )
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// new separation overlaping from left? -> extend boundary
|
// new separation overlapping from left? -> extend boundary
|
||||||
if ( (nXRight >= pSep->mnXLeft) && (nXLeft <= pSep->mnXLeft) )
|
if ( (nXRight >= pSep->mnXLeft) && (nXLeft <= pSep->mnXLeft) )
|
||||||
pSep->mnXLeft = nXLeft;
|
pSep->mnXLeft = nXLeft;
|
||||||
|
|
||||||
// new separation overlaping from right? -> extend boundary
|
// new separation overlapping from right? -> extend boundary
|
||||||
if ( (nXLeft <= pSep->mnXRight) && (nXRight > pSep->mnXRight) )
|
if ( (nXLeft <= pSep->mnXRight) && (nXRight > pSep->mnXRight) )
|
||||||
{
|
{
|
||||||
pSep->mnXRight = nXRight;
|
pSep->mnXRight = nXRight;
|
||||||
@@ -479,13 +479,13 @@ void ImplRegionBand::Intersect( long nXLeft, long nXRight )
|
|||||||
// will be removed from the optimizer
|
// will be removed from the optimizer
|
||||||
pSep->mbRemoved = true;
|
pSep->mbRemoved = true;
|
||||||
|
|
||||||
// new separation overlaping from left? -> reduce right boundary
|
// new separation overlapping from left? -> reduce right boundary
|
||||||
if ( (nXLeft <= pSep->mnXLeft) &&
|
if ( (nXLeft <= pSep->mnXLeft) &&
|
||||||
(nXRight <= pSep->mnXRight) &&
|
(nXRight <= pSep->mnXRight) &&
|
||||||
(nXRight >= pSep->mnXLeft) )
|
(nXRight >= pSep->mnXLeft) )
|
||||||
pSep->mnXRight = nXRight;
|
pSep->mnXRight = nXRight;
|
||||||
|
|
||||||
// new separation overlaping from right? -> reduce right boundary
|
// new separation overlapping from right? -> reduce right boundary
|
||||||
if ( (nXLeft >= pSep->mnXLeft) &&
|
if ( (nXLeft >= pSep->mnXLeft) &&
|
||||||
(nXLeft <= pSep->mnXRight) &&
|
(nXLeft <= pSep->mnXRight) &&
|
||||||
(nXRight >= pSep->mnXRight) )
|
(nXRight >= pSep->mnXRight) )
|
||||||
@@ -533,7 +533,7 @@ void ImplRegionBand::Exclude( long nXLeft, long nXRight )
|
|||||||
bSepProcessed = true;
|
bSepProcessed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// new separation overlaping from left? -> reduce boundary
|
// new separation overlapping from left? -> reduce boundary
|
||||||
if ( !bSepProcessed )
|
if ( !bSepProcessed )
|
||||||
{
|
{
|
||||||
if ( (nXRight >= pSep->mnXLeft) && (nXLeft <= pSep->mnXLeft) )
|
if ( (nXRight >= pSep->mnXLeft) && (nXLeft <= pSep->mnXLeft) )
|
||||||
@@ -543,7 +543,7 @@ void ImplRegionBand::Exclude( long nXLeft, long nXRight )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// new separation overlaping from right? -> reduce boundary
|
// new separation overlapping from right? -> reduce boundary
|
||||||
if ( !bSepProcessed )
|
if ( !bSepProcessed )
|
||||||
{
|
{
|
||||||
if ( (nXLeft <= pSep->mnXRight) && (nXRight > pSep->mnXRight) )
|
if ( (nXLeft <= pSep->mnXRight) && (nXRight > pSep->mnXRight) )
|
||||||
|
@@ -235,8 +235,8 @@ WindowImpl::WindowImpl( WindowType nType )
|
|||||||
mbNoParentUpdate = false; // true: SetParentUpdateMode( sal_False ) called
|
mbNoParentUpdate = false; // true: SetParentUpdateMode( sal_False ) called
|
||||||
mbActive = false; // true: Window Active
|
mbActive = false; // true: Window Active
|
||||||
mbParentActive = false; // true: OverlapActive from Parent
|
mbParentActive = false; // true: OverlapActive from Parent
|
||||||
mbReallyVisible = false; // true: this and all parents to an overlaped window are visible
|
mbReallyVisible = false; // true: this and all parents to an overlapped window are visible
|
||||||
mbReallyShown = false; // true: this and all parents to an overlaped window are shown
|
mbReallyShown = false; // true: this and all parents to an overlapped window are shown
|
||||||
mbInInitShow = false; // true: we are in InitShow
|
mbInInitShow = false; // true: we are in InitShow
|
||||||
mbChildNotify = false; // true: ChildNotify
|
mbChildNotify = false; // true: ChildNotify
|
||||||
mbChildPtrOverwrite = false; // true: PointerStyle overwrites Child-Pointer
|
mbChildPtrOverwrite = false; // true: PointerStyle overwrites Child-Pointer
|
||||||
|
Reference in New Issue
Block a user