diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-01-22 15:58:17 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-01-22 15:58:17 +0100 |
commit | 6112d0d7b1bb831cc8003ce23e892bdcb08d1887 (patch) | |
tree | dd2c0a88e48b0644a937871fd3a33081d6199121 /sfx2 | |
parent | d0e9f1f751ecd16597d6a06276a40dfb4ae00fb8 (diff) |
recoverFromFile is allowed (required, strictly) in the initialization phase
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 62d18142ccf6..19af0866a1fc 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -1671,7 +1671,7 @@ void SAL_CALL SfxBaseModel::saveToRecoveryFile( const ::rtl::OUString& i_TargetL void SAL_CALL SfxBaseModel::recoverFromFile( const ::rtl::OUString& i_SourceLocation, const ::rtl::OUString& i_SalvagedFile, const Sequence< PropertyValue >& i_MediaDescriptor ) throw ( RuntimeException, IOException, WrappedTargetException ) { - SfxModelGuard aGuard( *this ); + SfxModelGuard aGuard( *this, SfxModelGuard::E_INITIALIZING ); // delegate to our "load" method ::comphelper::NamedValueCollection aMediaDescriptor( i_MediaDescriptor ); |