diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-12-11 11:28:14 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-12-11 11:28:14 +0100 |
commit | 1f3b28fe29a7e59d23f9f0cee9eff8e16370df4b (patch) | |
tree | dda4e524b97f627a7877715e9af0161383584c3b /dbaccess/source | |
parent | f82ce508322002e0af815fdbfa1d102b48b2d1c0 (diff) |
autorecovery: made JumpMark a argument of the to-be-created view.
For this purpose, the loader moves this argument from the loader args to the args which are later
passed to XModel2.createViewController, and the Controller implementation retrieves it from there.
(In this course, XController2.getCreationArguments has been introduced, and implemented in the two
known XController2 implementations in the code base.)
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/browser/genericcontroller.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx index a24c2d4e30dc..41ea2d9a1f7f 100644 --- a/dbaccess/source/ui/browser/genericcontroller.cxx +++ b/dbaccess/source/ui/browser/genericcontroller.cxx @@ -478,6 +478,14 @@ Reference< XWindow > SAL_CALL OGenericUnoController::getComponentWindow() throw } // ----------------------------------------------------------------------- +Sequence< PropertyValue > SAL_CALL OGenericUnoController::getCreationArguments() throw (RuntimeException) +{ + // currently we do not support any creation args, so anything passed to XModel2::createViewController would be + // lost, so we can equally return an empty sequence here + return Sequence< PropertyValue >(); +} + +// ----------------------------------------------------------------------- void OGenericUnoController::attachFrame( const Reference< XFrame >& _rxFrame ) throw( RuntimeException ) { vos::OGuard aSolarGuard( Application::GetSolarMutex() ); |