diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-04 12:06:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-04 12:06:39 +0100 |
commit | 752f69bad43c86cc18f45b418de25a0f770baa3e (patch) | |
tree | 1451b69d2953f7b624b636c5b135f6ee1733eec5 /unotools/source/config/accelcfg.cxx | |
parent | a11aa274dac55b06fba32e348a8386fa4fa9d146 (diff) |
Do not export whole class to avoid MS C++ implicitly exporting base template.
Diffstat (limited to 'unotools/source/config/accelcfg.cxx')
-rw-r--r-- | unotools/source/config/accelcfg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/unotools/source/config/accelcfg.cxx b/unotools/source/config/accelcfg.cxx index 61209f7ff22d..a93a58be29b5 100644 --- a/unotools/source/config/accelcfg.cxx +++ b/unotools/source/config/accelcfg.cxx @@ -187,8 +187,7 @@ SvtAcceleratorConfiguration::~SvtAcceleratorConfiguration() INetURLObject aObj( aUserConfig ); aObj.insertName( String::CreateFromAscii("GlobalKeyBindings.xml") ); SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( aObj.GetMainURL( INetURLObject::NO_DECODE ), STREAM_STD_READWRITE|STREAM_TRUNC ); - ::utl::OOutputStreamWrapper aHelper( *pStream ); - com::sun::star::uno::Reference < ::com::sun::star::io::XOutputStream > xOut( &aHelper ); + com::sun::star::uno::Reference < ::com::sun::star::io::XOutputStream > xOut( new utl::OOutputStreamWrapper( *pStream ) ); pImp->Commit( xOut ); delete pStream; } |