summaryrefslogtreecommitdiffstats
path: root/kdecore/kpalette.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-06 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-06 19:48:06 +0000
commit0761ef3c62e43ffed5a81854b7b45e579016f5b7 (patch)
tree5aa48590c295ad6d29aafe4782d7f762f2ee38d3 /kdecore/kpalette.cpp
parentcb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b (diff)
downloadtdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.tar.gz
tdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.zip
Locked down more ambiguous datatypes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1160010 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kpalette.cpp')
-rw-r--r--kdecore/kpalette.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kpalette.cpp b/kdecore/kpalette.cpp
index 49cacc79b..bc446367a 100644
--- a/kdecore/kpalette.cpp
+++ b/kdecore/kpalette.cpp
@@ -65,10 +65,10 @@ KPalette::KPalette(const TQString &name)
// Read first line
// Expected "GIMP Palette"
- if (paletteFile.readLine(line, maxLength) == -1) return;
+ if (paletteFile.readLine(line.ascii(), maxLength) == -1) return;
if (line.find(" Palette") == -1) return;
- while( paletteFile.readLine(line, maxLength) != -1)
+ while( paletteFile.readLine(line.ascii(), maxLength) != -1)
{
if (line[0] == '#')
{