Kaydet (Commit) 1533952b authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: declaration shadows a member of 'this'

Change-Id: I1f5b3ffccb89a5b9111e60c0a1943e1642c3499b
üst 5040ad52
...@@ -297,12 +297,14 @@ void SwSelPaintRects::Show() ...@@ -297,12 +297,14 @@ void SwSelPaintRects::Show()
for (size_t i = 0; i < size(); ++i) for (size_t i = 0; i < size(); ++i)
{ {
Point origin = pOut->LogicToPixel((*this)[i].Pos()); Point origin = pOut->LogicToPixel((*this)[i].Pos());
Size size = pOut->LogicToPixel((*this)[i].SSize()); Size ssize = pOut->LogicToPixel((*this)[i].SSize());
#ifdef IOS #ifdef IOS
rects[i] = CGRectMake(origin.X(), origin.Y(), rects[i] = CGRectMake(origin.X(), origin.Y(),
size.Width(), size.Height()); ssize.Width(), ssize.Height());
#else #else
// Not yet implemented // Not yet implemented
(void) origin;
(void) ssize;
#endif #endif
} }
// GetShell returns a SwCrsrShell which actually is a SwWrtShell // GetShell returns a SwCrsrShell which actually is a SwWrtShell
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment