summaryrefslogtreecommitdiffstats
path: root/sc/inc/brdcst.hxx
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2002-11-27 20:07:51 +0000
committerEike Rathke <er@openoffice.org>2002-11-27 20:07:51 +0000
commit1349a568fe2ad11f2d3b26b6d457ebe4edc4db88 (patch)
treec325ffa3a6b155cdfcbe20b49ea7bd071588218e /sc/inc/brdcst.hxx
parent#105585# implement XText methods to handle ScCellFieldObj (diff)
downloadcore-1349a568fe2ad11f2d3b26b6d457ebe4edc4db88.tar.gz
core-1349a568fe2ad11f2d3b26b6d457ebe4edc4db88.zip
#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.hxx7
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