Index: /trunk/src/VBox/NetworkServices/DHCP/Config.cpp
===================================================================
--- /trunk/src/VBox/NetworkServices/DHCP/Config.cpp	(revision 50586)
+++ /trunk/src/VBox/NetworkServices/DHCP/Config.cpp	(revision 50587)
@@ -144,5 +144,5 @@
     std::string          m_domainName;
     VecClient            m_clients;
-    std::string          m_leaseStorageFilename;
+    com::Utf8Str         m_leaseStorageFilename;
     bool                 fFileExists;
 };
@@ -187,5 +187,5 @@
  * </Leases>
  */
-int ConfigurationManager::loadFromFile(const std::string& leaseStorageFileName)
+int ConfigurationManager::loadFromFile(const com::Utf8Str& leaseStorageFileName)
 {
     m->m_leaseStorageFilename = leaseStorageFileName;
@@ -250,5 +250,5 @@
 int ConfigurationManager::saveToFile()
 {
-    if (m->m_leaseStorageFilename.empty())
+    if (m->m_leaseStorageFilename.isEmpty())
         return VINF_SUCCESS;
 
Index: /trunk/src/VBox/NetworkServices/DHCP/Config.h
===================================================================
--- /trunk/src/VBox/NetworkServices/DHCP/Config.h	(revision 50586)
+++ /trunk/src/VBox/NetworkServices/DHCP/Config.h	(revision 50587)
@@ -21,4 +21,5 @@
 #include <iprt/asm-math.h>
 #include <iprt/cpp/utils.h>
+#include <VBox/com/string.h>
 
 #include "../NetLib/cpp/utils.h"
@@ -427,5 +428,5 @@
     static int extractRequestList(PCRTNETBOOTP pDhcpMsg, size_t cbDhcpMsg, RawOption& rawOpt);
 
-    int loadFromFile(const std::string&);
+    int loadFromFile(const com::Utf8Str&);
     int saveToFile();
     /**
Index: /trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp
===================================================================
--- /trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp	(revision 50586)
+++ /trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp	(revision 50587)
@@ -538,6 +538,6 @@
     com::Bstr bstr;
     hrc = virtualbox->COMGETTER(HomeFolder)(bstr.asOutParam());
-    std::string strXmlLeaseFile(com::Utf8StrFmt("%ls%c%s.leases",
-                                                bstr.raw(), RTPATH_DELIMITER, networkName.c_str()).c_str());
+    com::Utf8StrFmt strXmlLeaseFile("%ls%c%s.leases",
+                                    bstr.raw(), RTPATH_DELIMITER, networkName.c_str());
     confManager->loadFromFile(strXmlLeaseFile);
 
