[Podofo-svn] SF.net SVN: podofo:[1617] podofo/trunk/src/doc/PdfPainter.cpp
A PDF parsing, modification and creation library.
Brought to you by:
domseichter
|
From: <aj...@us...> - 2014-06-15 11:50:18
|
Revision: 1617
http://sourceforge.net/p/podofo/code/1617
Author: aja_
Date: 2014-06-15 11:50:11 +0000 (Sun, 15 Jun 2014)
Log Message:
-----------
Make ePdfColorSpace_Indexed illegal in PdfPainter::SetStrokingColor, PdfPainter::SetColor
Which also silents a gcc warning
(r1539 from branches/_dev/zyx_integration branch)
Revision Links:
--------------
http://sourceforge.net/p/podofo/code/1539
Modified Paths:
--------------
podofo/trunk/src/doc/PdfPainter.cpp
Modified: podofo/trunk/src/doc/PdfPainter.cpp
===================================================================
--- podofo/trunk/src/doc/PdfPainter.cpp 2014-06-15 11:48:13 UTC (rev 1616)
+++ podofo/trunk/src/doc/PdfPainter.cpp 2014-06-15 11:50:11 UTC (rev 1617)
@@ -355,6 +355,7 @@
" SCN" << std::endl;
break;
case ePdfColorSpace_Unknown:
+ case ePdfColorSpace_Indexed:
{
PODOFO_RAISE_ERROR( ePdfError_CannotConvertColor );
}
@@ -402,6 +403,7 @@
" scn" << std::endl;
break;
case ePdfColorSpace_Unknown:
+ case ePdfColorSpace_Indexed:
{
PODOFO_RAISE_ERROR( ePdfError_CannotConvertColor );
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|