cppcheck clean rtengine/dcp.h
This commit is contained in:
@@ -1768,7 +1768,7 @@ inline void DCPProfile::hsdApply(const HsdTableInfo& table_info, const std::vect
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DCPProfile::isValid()
|
bool DCPProfile::isValid() const
|
||||||
{
|
{
|
||||||
return valid;
|
return valid;
|
||||||
}
|
}
|
||||||
@@ -1850,7 +1850,7 @@ void DCPStore::init(const Glib::ustring& rt_profile_dir, bool loadAll)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DCPStore::isValidDCPFileName(const Glib::ustring& filename) const
|
bool DCPStore::isValidDCPFileName(const Glib::ustring& filename)
|
||||||
{
|
{
|
||||||
if (!Glib::file_test(filename, Glib::FILE_TEST_EXISTS) || Glib::file_test(filename, Glib::FILE_TEST_IS_DIR)) {
|
if (!Glib::file_test(filename, Glib::FILE_TEST_EXISTS) || Glib::file_test(filename, Glib::FILE_TEST_IS_DIR)) {
|
||||||
return false;
|
return false;
|
||||||
|
@@ -63,7 +63,7 @@ public:
|
|||||||
bool getHasBaselineExposureOffset() const;
|
bool getHasBaselineExposureOffset() const;
|
||||||
|
|
||||||
Illuminants getIlluminants() const;
|
Illuminants getIlluminants() const;
|
||||||
bool isValid();
|
bool isValid() const;
|
||||||
|
|
||||||
void apply(
|
void apply(
|
||||||
Imagefloat* img,
|
Imagefloat* img,
|
||||||
@@ -159,7 +159,7 @@ public:
|
|||||||
|
|
||||||
void init(const Glib::ustring& rt_profile_dir, bool loadAll = true);
|
void init(const Glib::ustring& rt_profile_dir, bool loadAll = true);
|
||||||
|
|
||||||
bool isValidDCPFileName(const Glib::ustring& filename) const;
|
static bool isValidDCPFileName(const Glib::ustring& filename);
|
||||||
|
|
||||||
DCPProfile* getProfile(const Glib::ustring& filename) const;
|
DCPProfile* getProfile(const Glib::ustring& filename) const;
|
||||||
DCPProfile* getStdProfile(const Glib::ustring& camShortName) const;
|
DCPProfile* getStdProfile(const Glib::ustring& camShortName) const;
|
||||||
|
Reference in New Issue
Block a user