summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objstor.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2002-07-18 08:58:00 +0000
committerMathias Bauer <mba@openoffice.org>2002-07-18 08:58:00 +0000
commitd5aa6832b569bfc6186345319954f3429cbf546e (patch)
treeffac439e84d681558aeab4a053d764f9b7067c9f /sfx2/source/doc/objstor.cxx
parentf263e96bd61ce09a1242a0a4e6a6029132d97612 (diff)
#101461#: don't show frame window too early
Diffstat (limited to 'sfx2/source/doc/objstor.cxx')
-rw-r--r--sfx2/source/doc/objstor.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 5a5bf864a3ea..e762a44e6176 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: objstor.cxx,v $
*
- * $Revision: 1.100 $
+ * $Revision: 1.101 $
*
- * last change: $Author: mba $ $Date: 2002-07-10 16:27:51 $
+ * last change: $Author: mba $ $Date: 2002-07-18 09:58:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -209,7 +209,7 @@
#define S2BS(s) ByteString( s, RTL_TEXTENCODING_MS_1252 )
-extern sal_uInt32 CheckPasswd_Impl( Window*, SfxItemPool&, SfxMedium* );
+extern sal_uInt32 CheckPasswd_Impl( SfxObjectShell*, SfxItemPool&, SfxMedium* );
using namespace ::com::sun::star::container;
@@ -2147,7 +2147,7 @@ sal_Bool SfxObjectShell::LoadOwnFormat( SfxMedium& rMedium )
// Password
SFX_ITEMSET_ARG( rMedium.GetItemSet(), pPasswdItem, SfxStringItem, SID_PASSWORD, sal_False );
- if ( pPasswdItem || ERRCODE_IO_ABORT != CheckPasswd_Impl( GetDialogParent( &rMedium ), SFX_APP()->GetPool(), pMedium ) )
+ if ( pPasswdItem || ERRCODE_IO_ABORT != CheckPasswd_Impl( this, SFX_APP()->GetPool(), pMedium ) )
{
String aPasswd;
if ( GetPasswd_Impl(pMedium->GetItemSet(), aPasswd) )