Index: /trunk/src/VBox/Main/MachineImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/MachineImpl.cpp	(revision 23910)
+++ /trunk/src/VBox/Main/MachineImpl.cpp	(revision 23911)
@@ -2743,5 +2743,5 @@
 
     /* start with nothing found */
-    Utf8Str strResult;
+    Bstr bstrResult("");
 
     AutoReadLock alock (this);
@@ -2750,8 +2750,8 @@
     if (it != mData->m_pMachineConfigFile->mapExtraDataItems.end())
         // found:
-        strResult = it->second;
+        bstrResult = it->second; // source is a Utf8Str
 
     /* return the result to caller (may be empty) */
-    strResult.cloneTo(aValue);
+    bstrResult.cloneTo(aValue);
 
     return S_OK;
Index: /trunk/src/VBox/Main/VirtualBoxImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/VirtualBoxImpl.cpp	(revision 23910)
+++ /trunk/src/VBox/Main/VirtualBoxImpl.cpp	(revision 23911)
@@ -1607,13 +1607,13 @@
 
     /* start with nothing found */
-    Utf8Str strResult;
+    Bstr bstrResult("");
 
     settings::ExtraDataItemsMap::const_iterator it = m->pMainConfigFile->mapExtraDataItems.find(Utf8Str(aKey));
     if (it != m->pMainConfigFile->mapExtraDataItems.end())
         // found:
-        strResult = it->second;
+        bstrResult = it->second; // source is a Utf8Str
 
     /* return the result to caller (may be empty) */
-    strResult.cloneTo(aValue);
+    bstrResult.cloneTo(aValue);
 
     return S_OK;
