diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-06 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-06 19:48:06 +0000 |
commit | 0761ef3c62e43ffed5a81854b7b45e579016f5b7 (patch) | |
tree | 5aa48590c295ad6d29aafe4782d7f762f2ee38d3 /kdecore/kpalette.cpp | |
parent | cb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b (diff) | |
download | tdelibs-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.cpp | 4 |
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] == '#') { |