Kaydet (Commit) 5124b6d8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

warning C4309: '=' : truncation of constant value

Change-Id: I18bc0505870181fe2c667e3281ed5a90abeac476
üst 4ab63a3a
...@@ -850,7 +850,7 @@ namespace canvas ...@@ -850,7 +850,7 @@ namespace canvas
*pColors++ = vcl::unotools::toByteColor(pIn->Red); *pColors++ = vcl::unotools::toByteColor(pIn->Red);
*pColors++ = vcl::unotools::toByteColor(pIn->Green); *pColors++ = vcl::unotools::toByteColor(pIn->Green);
*pColors++ = vcl::unotools::toByteColor(pIn->Blue); *pColors++ = vcl::unotools::toByteColor(pIn->Blue);
*pColors++ = 255; *pColors++ = -1;
++pIn; ++pIn;
} }
return aRes; return aRes;
...@@ -868,7 +868,7 @@ namespace canvas ...@@ -868,7 +868,7 @@ namespace canvas
*pColors++ = vcl::unotools::toByteColor(pIn->Red/pIn->Alpha); *pColors++ = vcl::unotools::toByteColor(pIn->Red/pIn->Alpha);
*pColors++ = vcl::unotools::toByteColor(pIn->Green/pIn->Alpha); *pColors++ = vcl::unotools::toByteColor(pIn->Green/pIn->Alpha);
*pColors++ = vcl::unotools::toByteColor(pIn->Blue/pIn->Alpha); *pColors++ = vcl::unotools::toByteColor(pIn->Blue/pIn->Alpha);
*pColors++ = 255; *pColors++ = -1;
++pIn; ++pIn;
} }
return aRes; return aRes;
......
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