diff options
author | Matteo Casalin <matteo.casalin@gmx.com> | 2012-02-05 23:41:17 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@gmx.com> | 2012-02-17 18:57:42 +0100 |
commit | 22cc5670bb9dd0889079c4e5e1b45669e1ca050f (patch) | |
tree | 61a112e8bc022e4924311836a1e14bf120816933 /svtools/source/control/valueimp.hxx | |
parent | mark parameter as unused (diff) | |
download | core-22cc5670bb9dd0889079c4e5e1b45669e1ca050f.tar.gz core-22cc5670bb9dd0889079c4e5e1b45669e1ca050f.zip |
Avoid unnecessary auto_ptr
Diffstat (limited to 'svtools/source/control/valueimp.hxx')
-rw-r--r-- | svtools/source/control/valueimp.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/svtools/source/control/valueimp.hxx b/svtools/source/control/valueimp.hxx index e393208ac199..d4523ff897de 100644 --- a/svtools/source/control/valueimp.hxx +++ b/svtools/source/control/valueimp.hxx @@ -41,7 +41,6 @@ #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp> #include <com/sun/star/lang/DisposedException.hpp> -#include <memory> #include <vector> // ----------- @@ -101,12 +100,11 @@ typedef ::std::vector< ValueSetItem* > ValueItemList; struct ValueSet_Impl { - ::std::auto_ptr< ValueItemList > mpItemList; - bool mbIsTransientChildrenDisabled; - Link maHighlightHdl; + ValueItemList mItemList; + bool mbIsTransientChildrenDisabled; + Link maHighlightHdl; - ValueSet_Impl() : mpItemList( ::std::auto_ptr< ValueItemList >( new ValueItemList() ) ), - mbIsTransientChildrenDisabled( false ) + ValueSet_Impl() : mbIsTransientChildrenDisabled( false ) { } }; |