summaryrefslogtreecommitdiffstats
path: root/dcop/client/marshall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dcop/client/marshall.cpp')
-rw-r--r--dcop/client/marshall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dcop/client/marshall.cpp b/dcop/client/marshall.cpp
index 496880aad..27a73495b 100644
--- a/dcop/client/marshall.cpp
+++ b/dcop/client/marshall.cpp
@@ -177,7 +177,7 @@ TQCString demarshal( TQDataStream &stream, const TQString &type )
TQBuffer buf( ba );
buf.open( IO_WriteOnly );
i.save( &buf, "XPM" );
- result = ba;
+ result = buf.buffer();
} else if ( type == "TQPoint" )
{
TQPoint p;