[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/plugins/painterlyframework
From: Emanuele Tamponi <emanuele () valinor ! it>
Date: 2008-01-01 1:56:27
Message-ID: 1199152587.473563.7128.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 755311 by tamponi:
constify
M +2 -2 channel_converter.h
--- trunk/koffice/krita/plugins/painterlyframework/channel_converter.h #755310:755311
@@ -124,8 +124,8 @@
template< typename _TYPE_ >
inline void ChannelConverter<_TYPE_>::KSToReflectance(const _TYPE_ &K, const _TYPE_ &S, double &R) const
{
- double k = KoColorSpaceMaths<_TYPE_,double>::scaleToA(K);
- double s = KoColorSpaceMaths<_TYPE_,double>::scaleToA(S);
+ const double k = KoColorSpaceMaths<_TYPE_,double>::scaleToA(K);
+ const double s = KoColorSpaceMaths<_TYPE_,double>::scaleToA(S);
if (s == 0.0) {
R = 0.0;
return;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic