summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_painter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_painter.cpp')
-rw-r--r--src/modules/objects/class_painter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/class_painter.cpp b/src/modules/objects/class_painter.cpp
index 9c510044..83b44974 100644
--- a/src/modules/objects/class_painter.cpp
+++ b/src/modules/objects/class_painter.cpp
@@ -408,7 +408,7 @@ if(__pXOrArray->isArray())\
if(c->params()->count() < 4)\
{\
TQString error=function+" requires either an array as first parameter or four integers";\
- c->error(__tr2qs(error));\
+ c->error(__tr2qs(error.local8Bit().data()));\
return false;\
}\
if(!__pXOrArray->asInteger(iX))\
@@ -442,7 +442,7 @@ if(__pXOrArray->isArray())\
if(c->params()->count() < 2)\
{\
TQString error=function+" requires either an array as first parameter or two integers";\
- c->error(__tr2qs(error));\
+ c->error(__tr2qs(error.local8Bit().data()));\
return false;\
}\
if(!__pXOrArray->asInteger(iX))\
@@ -477,7 +477,7 @@ if(__pCol1OrArray->isArray())\
if(c->params()->count() < 3)\
{\
TQString error=function+" requires either an array as first parameter or 3 integers";\
- c->error(__tr2qs(error));\
+ c->error(__tr2qs(error.local8Bit().data()));\
return false;\
}\
if(!__pCol1OrArray->asInteger(iCol1))\