diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-03-08 10:45:28 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-03-08 10:45:28 +0000 |
commit | 96ec2268b005eccca1a446ca9d85b3f8460a278f (patch) | |
tree | 65f4cac78f833e945d3846153e9f5f3b2332b1cb /sc/source/core/inc/ddelink.hxx | |
parent | 11f7145d2f0764d093fe7afde06cc50ce5520998 (diff) |
INTEGRATION: CWS cac (1.5.210); FILE MERGED
2003/11/03 14:33:00 dr 1.5.210.2: #i4070# use ScMatrix class directly
2003/10/29 17:28:29 er 1.5.210.1: #4070# get rid of ScInterpreter's maddening GetNewMat/ResetNewMat handling (TLOT); introduce refcounting for ScMatrix
Diffstat (limited to 'sc/source/core/inc/ddelink.hxx')
-rw-r--r-- | sc/source/core/inc/ddelink.hxx | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/sc/source/core/inc/ddelink.hxx b/sc/source/core/inc/ddelink.hxx index 0001a8372711..01024107064f 100644 --- a/sc/source/core/inc/ddelink.hxx +++ b/sc/source/core/inc/ddelink.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ddelink.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jp $ $Date: 2001-03-08 20:46:53 $ + * last change: $Author: hr $ $Date: 2004-03-08 11:45:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,9 +68,11 @@ #ifndef _SFXBRDCST_HXX //autogen #include <svtools/brdcst.hxx> #endif +#ifndef SC_MATRIX_HXX +#include "scmatrix.hxx" +#endif class ScDocument; -class ScMatrix; class ScMultipleReadHeader; class ScMultipleWriteHeader; @@ -88,7 +90,7 @@ static BOOL bIsInUpdate; BOOL bNeedUpdate; // wird gesetzt, wenn Update nicht moeglich war - ScMatrix* pResult; // Ergebnis + ScMatrixRef pResult; // Ergebnis public: TYPEINFO(); @@ -112,8 +114,11 @@ public: // fuer Interpreter: - const ScMatrix* GetResult() const { return pResult; } - ScMatrix* GetResult() {return pResult; } + const ScMatrix* GetResult() const { return pResult; } + void SetResult( ScMatrix* pRes ) { pResult = pRes; } + + // XML and Excel import after NewData() + ScMatrixRef GetModifiableResult() { return pResult; } const String& GetAppl() const { return aAppl; } const String& GetTopic() const { return aTopic; } |