diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-21 16:11:55 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-21 16:11:55 +0000 |
commit | ab30e10a5bd20e4f823124780dd75816e7c6d706 (patch) | |
tree | f7e7b7101490351a368e79462557d9e6213c9af7 /desktop | |
parent | 52c1f76a09f464fa0e483cd3d84bd64b8cbb5e13 (diff) |
INTEGRATION: CWS impress23 (1.2.40); FILE MERGED
2004/12/29 14:39:36 dbo 1.2.40.1: #i38957# removed extract_throw<>(), using Any::get<>() now
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/migration/dp_migration.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/desktop/source/deployment/migration/dp_migration.cxx b/desktop/source/deployment/migration/dp_migration.cxx index bd3e8a55577e..ffa213a42c2c 100644 --- a/desktop/source/deployment/migration/dp_migration.cxx +++ b/desktop/source/deployment/migration/dp_migration.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dp_migration.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2004-11-09 14:08:14 $ + * last change: $Author: kz $ $Date: 2005-01-21 17:11:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -138,10 +138,9 @@ MigrationImpl::MigrationImpl( { for ( sal_Int32 pos = args.getLength(); pos--; ) { - const beans::NamedValue nv( - extract_throw<beans::NamedValue>( args[pos] ) ); + const beans::NamedValue nv( args[pos].get<beans::NamedValue>() ); if (nv.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("OldUserDir") )) - extract_throw( &m_oldUserDir, nv.Value ); + m_oldUserDir = nv.Value.get<OUString>(); } if (m_oldUserDir.getLength() == 0) throw lang::IllegalArgumentException( OUSTR("missing OldUserDir!"), 0, |