summaryrefslogtreecommitdiff
path: root/ucbhelper/source/client/commandenvironment.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper/source/client/commandenvironment.cxx')
-rw-r--r--ucbhelper/source/client/commandenvironment.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/ucbhelper/source/client/commandenvironment.cxx b/ucbhelper/source/client/commandenvironment.cxx
index d083f5a8595b..1210d301b1bb 100644
--- a/ucbhelper/source/client/commandenvironment.cxx
+++ b/ucbhelper/source/client/commandenvironment.cxx
@@ -55,15 +55,14 @@ struct CommandEnvironment_Impl
CommandEnvironment::CommandEnvironment(
const Reference< XInteractionHandler >& rxInteractionHandler,
const Reference< XProgressHandler >& rxProgressHandler )
+ : m_pImpl( new CommandEnvironment_Impl( rxInteractionHandler,
+ rxProgressHandler ) )
{
- m_pImpl = new CommandEnvironment_Impl( rxInteractionHandler,
- rxProgressHandler );
}
// virtual
CommandEnvironment::~CommandEnvironment()
{
- delete m_pImpl;
}
// XCommandEnvironemnt methods.