summaryrefslogtreecommitdiff
path: root/src/VBox/Main/src-server/VRDEServerImpl.cpp
diff options
context:
space:
mode:
authorFelix Geyer <debfx-pkg@fobos.de>2011-07-29 17:55:18 +0200
committerFelix Geyer <debfx-pkg@fobos.de>2011-07-29 17:55:18 +0200
commitcba113ca2826bc4814be2f69a7704c865a37d4ea (patch)
tree511123b10dd1e58e56958520534f5c50e6f570fc /src/VBox/Main/src-server/VRDEServerImpl.cpp
parent6a16f6900dd884e07125b51c9625f6be0a1f9b70 (diff)
downloadvirtualbox-cba113ca2826bc4814be2f69a7704c865a37d4ea.tar.gz
Imported Upstream version 4.1.0-dfsgupstream/4.1.0-dfsg
Diffstat (limited to 'src/VBox/Main/src-server/VRDEServerImpl.cpp')
-rw-r--r--src/VBox/Main/src-server/VRDEServerImpl.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/VBox/Main/src-server/VRDEServerImpl.cpp b/src/VBox/Main/src-server/VRDEServerImpl.cpp
index f9645e788..a8c64be2b 100644
--- a/src/VBox/Main/src-server/VRDEServerImpl.cpp
+++ b/src/VBox/Main/src-server/VRDEServerImpl.cpp
@@ -55,12 +55,13 @@ VRDEServer::~VRDEServer()
HRESULT VRDEServer::FinalConstruct()
{
- return S_OK;
+ return BaseFinalConstruct();
}
void VRDEServer::FinalRelease()
{
uninit();
+ BaseFinalRelease();
}
// public initializer/uninitializer for internal purposes only
@@ -474,10 +475,8 @@ STDMETHODIMP VRDEServer::GetVRDEProperty (IN_BSTR aKey, BSTR *aValue)
Utf8Str strKey(key);
settings::StringsMap::const_iterator it = mData->mProperties.find(strKey);
if (it != mData->mProperties.end())
- {
value = it->second; // source is a Utf8Str
- value.cloneTo(aValue);
- }
+ value.cloneTo(aValue);
return S_OK;
}