Cleanup: Get rid of CRLF line endings.
[pdfium.git] / core / src / fpdfapi / fpdf_page / fpdf_page_colors.cpp
index 6704656..86db177 100644 (file)
@@ -519,8 +519,8 @@ void CPDF_LabCS::TranslateImageLine(FX_LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int
     }
 }
 CPDF_IccProfile::CPDF_IccProfile(FX_LPCBYTE pData, FX_DWORD dwSize):
-    m_bsRGB(FALSE),\r
-    m_pTransform(NULL),\r
+    m_bsRGB(FALSE),
+    m_pTransform(NULL),
     m_nSrcComponents(0)
 {
     if (dwSize == 3144 && FXSYS_memcmp32(pData + 0x190, "sRGB IEC61966-2.1", 17) == 0) {
@@ -1376,13 +1376,13 @@ void CPDF_Color::SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comps, int ncomps)
     if (ncomps) {
         FXSYS_memcpy32(pvalue->m_Comps, comps, ncomps * sizeof(FX_FLOAT));
     }
-    pvalue->m_pCountedPattern = NULL;\r
-    if (pPattern && pPattern->m_pDocument)\r
-    {\r
-        if (!pDocPageData) {\r
-            pDocPageData = pPattern->m_pDocument->GetPageData();\r
-        }\r
-        pvalue->m_pCountedPattern = pDocPageData->FindPatternPtr(pPattern->m_pPatternObj);\r
+    pvalue->m_pCountedPattern = NULL;
+    if (pPattern && pPattern->m_pDocument)
+    {
+        if (!pDocPageData) {
+            pDocPageData = pPattern->m_pDocument->GetPageData();
+        }
+        pvalue->m_pCountedPattern = pDocPageData->FindPatternPtr(pPattern->m_pPatternObj);
     }
 }
 void CPDF_Color::Copy(const CPDF_Color* pSrc)