1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0024085: Eliminate compiler warning C4706 in MSVC++ with warning level 4

Got rid from most cases which led to Warning c4706
Tiny code style corrections
This commit is contained in:
omy
2013-08-01 12:20:35 +04:00
parent 304c45c83f
commit 773f53f1ec
13 changed files with 82 additions and 121 deletions

View File

@@ -558,8 +558,8 @@ TCollection_AsciiString ViewerTest::ViewerInit (const Standard_Integer thePxLeft
#endif
TCollection_AsciiString anOverlappedViewId("");
Standard_Boolean isOverlapped = Standard_False;
while (isOverlapped = IsWindowOverlapped (aPxLeft, aPxTop, aPxLeft + aPxWidth, aPxTop + aPxHeight, anOverlappedViewId))
while (IsWindowOverlapped (aPxLeft, aPxTop, aPxLeft + aPxWidth, aPxTop + aPxHeight, anOverlappedViewId))
{
ViewerTest_myViews.Find1(anOverlappedViewId)->Window()->Position (aLeft, aTop, aRight, aBottom);