summaryrefslogtreecommitdiffstats
path: root/filter/source/svg/parserfragments.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/svg/parserfragments.cxx')
-rw-r--r--filter/source/svg/parserfragments.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/svg/parserfragments.cxx b/filter/source/svg/parserfragments.cxx
index e02fe3feeed4..94ccdab42b49 100644
--- a/filter/source/svg/parserfragments.cxx
+++ b/filter/source/svg/parserfragments.cxx
@@ -41,7 +41,7 @@ void setFourBitColor( double& rChannel, char nChar )
rChannel = (nVal*16+nVal)/255.0;
}
-void setEightBitColor( double& rChannel, const char* pStart, const char* )
+void setEightBitColor( double& rChannel, const char* pStart )
{
const sal_uInt8 nVal0(hex2int(pStart[0]));
const sal_uInt8 nVal1(hex2int(pStart[1]));
@@ -124,9 +124,9 @@ namespace
{
using namespace ::boost::spirit::classic;
- auto lambdaSetEightBitColorR = [&self](const char* pStart, const char* nChar){ setEightBitColor(self.m_rColor.r, pStart, nChar); };
- auto lambdaSetEightBitColorG = [&self](const char* pStart, const char* nChar){ setEightBitColor(self.m_rColor.g, pStart, nChar); };
- auto lambdaSetEightBitColorB = [&self](const char* pStart, const char* nChar){ setEightBitColor(self.m_rColor.b, pStart, nChar); };
+ auto lambdaSetEightBitColorR = [&self](const char* pStart, const char* /*nChar*/){ setEightBitColor(self.m_rColor.r, pStart); };
+ auto lambdaSetEightBitColorG = [&self](const char* pStart, const char* /*nChar*/){ setEightBitColor(self.m_rColor.g, pStart); };
+ auto lambdaSetEightBitColorB = [&self](const char* pStart, const char* /*nChar*/){ setEightBitColor(self.m_rColor.b, pStart); };
auto lambdaSetFourBitColorR = [&self](char nChar){ setFourBitColor(self.m_rColor.r, nChar); };
auto lambdaSetFourBitColorG = [&self](char nChar){ setFourBitColor(self.m_rColor.g, nChar); };
auto lambdaSetFourBitColorB = [&self](char nChar){ setFourBitColor(self.m_rColor.b, nChar); };