diff options
Diffstat (limited to 'chalk/chalkcolor/kis_profile.cc')
-rw-r--r-- | chalk/chalkcolor/kis_profile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/chalkcolor/kis_profile.cc b/chalk/chalkcolor/kis_profile.cc index ae4c07cb..2d0ad98f 100644 --- a/chalk/chalkcolor/kis_profile.cc +++ b/chalk/chalkcolor/kis_profile.cc @@ -25,7 +25,7 @@ #include LCMS_HEADER #include <tqimage.h> -#include <textstream.h> +#include <tqtextstream.h> #include <tqfile.h> #include <kdebug.h> @@ -65,7 +65,7 @@ KisProfile::KisProfile(const cmsHPROFILE profile) // Make a raw data image ready for saving _cmsSaveProfileToMem(m_profile, 0, &bytesNeeded); // calc size - if(m_rawData.resize(bytesNeeded)) + if(m_rawData.tqresize(bytesNeeded)) { _cmsSaveProfileToMem(m_profile, m_rawData.data(), &bytesNeeded); // fill buffer cmsHPROFILE newprofile = cmsOpenProfileFromMem(m_rawData.data(), (DWORD) bytesNeeded); |