summaryrefslogtreecommitdiff
path: root/cpp/src/IceXML/StreamI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceXML/StreamI.cpp')
-rw-r--r--cpp/src/IceXML/StreamI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceXML/StreamI.cpp b/cpp/src/IceXML/StreamI.cpp
index 4bfcb272159..01fe52510fd 100644
--- a/cpp/src/IceXML/StreamI.cpp
+++ b/cpp/src/IceXML/StreamI.cpp
@@ -1373,7 +1373,7 @@ IceXML::StreamI::writeObjectData(const string& name, const string& id, const Ice
// Convert the type-id to the equivalent schema type
// definition name.
//
- typeId = obj->__getClassIds()[0];
+ typeId = obj->ice_id();
static const string xsdPrefix = "_internal.";
static const string xsdSuffix = "Type";