diff options
author | Eike Rathke <er@openoffice.org> | 2002-11-27 20:07:51 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2002-11-27 20:07:51 +0000 |
commit | 1349a568fe2ad11f2d3b26b6d457ebe4edc4db88 (patch) | |
tree | c325ffa3a6b155cdfcbe20b49ea7bd071588218e /sc/inc/brdcst.hxx | |
parent | 75ce824f3f711963b74e88f7f40edad6f846c74a (diff) |
#90279# performance: methods to modify hint instead of creating new hints every time
Diffstat (limited to 'sc/inc/brdcst.hxx')
-rw-r--r-- | sc/inc/brdcst.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/brdcst.hxx b/sc/inc/brdcst.hxx index 240b760fe7e7..8f71967f0ee3 100644 --- a/sc/inc/brdcst.hxx +++ b/sc/inc/brdcst.hxx @@ -2,9 +2,9 @@ * * $RCSfile: brdcst.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: er $ $Date: 2001-02-13 18:51:12 $ + * last change: $Author: er $ $Date: 2002-11-27 21:07:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -91,7 +91,10 @@ public: ScHint( ULONG n, const ScAddress& a, ScBaseCell* p ) : SfxSimpleHint( n ), aAddress( a ), pCell( p ) {} ScBaseCell* GetCell() const { return pCell; } + void SetCell( ScBaseCell* p ) { pCell = p; } const ScAddress& GetAddress() const { return aAddress; } + ScAddress& GetAddress() { return aAddress; } + void SetAddress( const ScAddress& rAdr ) { aAddress = rAdr; } }; class ScAreaChangedHint : public SfxHint |