diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-07-28 11:34:17 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-07-28 11:34:17 +0000 |
commit | ca1836609c6072b968fa1e1a3f73a4db09f58413 (patch) | |
tree | 1552b51b710e0fe4ceebae3c3927a40da4fcf637 /sfx2/source | |
parent | 72d007d86f74c1a2394d0f60d0e2d5a454b7024f (diff) |
INTEGRATION: CWS stampit1rc3 (1.32.92); FILE MERGED
2003/07/25 12:39:16 as 1.32.92.1: #111050# make SetActivateEvent_Impl public for Writer
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 32aad7c5b25b..d1feb3a0b532 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: objmisc.cxx,v $ * - * $Revision: 1.32 $ + * $Revision: 1.33 $ * - * last change: $Author: vg $ $Date: 2003-04-17 15:56:53 $ + * last change: $Author: vg $ $Date: 2003-07-28 12:34:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -890,6 +890,16 @@ void SfxObjectShell::PostActivateEvent_Impl() //-------------------------------------------------------------------- +/* Stampit #111050# allow writer to set this event id here hardly! + Please replace ith by a better solution! */ +void SfxObjectShell::Stamp_SetActivateEvent(sal_uInt16 nId ) +{ + if ( GetFactory().GetFlags() & SFXOBJECTSHELL_HASOPENDOC ) + pImp->nEventId = nId; +} + +//-------------------------------------------------------------------- + void SfxObjectShell::SetActivateEvent_Impl(sal_uInt16 nId ) { if ( GetFactory().GetFlags() & SFXOBJECTSHELL_HASOPENDOC ) |