summaryrefslogtreecommitdiff
path: root/starmath/source/document.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-01 17:15:36 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-01 17:15:36 +0000
commitad87397d0a422a773f3753e35a3a68c8a0e07c3c (patch)
treebb0802d3bfddd72186434536a905d75f627fa11d /starmath/source/document.cxx
parentbb8bb46ad722bb5732e70f00ffda688bab447cd8 (diff)
INTEGRATION: CWS inplaceobjects (1.83.32); FILE MERGED
2006/09/28 17:56:58 mba 1.83.32.3: RESYNC: (1.84-1.85); FILE MERGED 2006/08/21 17:45:24 mba 1.83.32.2: RESYNC: (1.83-1.84); FILE MERGED 2006/07/11 13:32:43 mba 1.83.32.1: #i66239#: superfluous method removed
Diffstat (limited to 'starmath/source/document.cxx')
-rw-r--r--starmath/source/document.cxx35
1 files changed, 2 insertions, 33 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 14331d649cce..6b198471483f 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: document.cxx,v $
*
- * $Revision: 1.85 $
+ * $Revision: 1.86 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 07:52:24 $
+ * last change: $Author: vg $ $Date: 2006-11-01 18:15:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1431,37 +1431,6 @@ void SmDocShell::SetVisArea(const Rectangle & rVisArea)
}
-void SmDocShell::UIActivate (BOOL bActivate)
-{
- RTL_LOGFILE_CONTEXT( aLog, "starmath: SmDocShell::UIActivate" );
-
- SmViewShell *pViewSh = SmGetActiveView();
- if (bActivate)
- {
- SfxObjectShell::UIActivate (bActivate);
- SmCmdBoxWrapper *pWrapper = NULL;
- if (pViewSh)
- pWrapper = (SmCmdBoxWrapper *)pViewSh->GetViewFrame()->
- GetChildWindow( SmCmdBoxWrapper::GetChildWindowId() );
-
- SmEditWindow *pEditWin = pWrapper ? pWrapper->GetEditWindow() : 0;
- if (pEditWin)
- pEditWin->GrabFocus();
- }
- else
- {
- if (pViewSh)
- {
- pViewSh->GetViewFrame()->GetDispatcher()->Execute(
- SID_GETEDITTEXT, SFX_CALLMODE_STANDARD,
- new SfxVoidItem (SID_GETEDITTEXT), 0L);
- Repaint();
- }
-
- SfxObjectShell::UIActivate (bActivate);
- }
-}
-
void SmDocShell::FillClass(SvGlobalName* pClassName,
sal_uInt32* pFormat,
String* pAppName,