summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-17 13:06:51 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-18 08:31:56 -0500
commit550f0797e64e38a4ef5721857f5057f692680118 (patch)
treed7acb75b32b7847d93926bc3fa3c238c08122926 /sc/inc
parent34c8c0bb878be82a25cdaf1d7e623843f00fed6c (diff)
Avoid area listeners and such during formula cell paste replication.
All formula cells get marked dirty and start area-listening at the very end of CopyFromClip. No need to do it in CloneFormulaCells. Change-Id: I9faf48fd722c2ebcf4b74d5e523317b5d9c71a22
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/column.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 57f42df4d4d6..2f29441dc440 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -314,7 +314,8 @@ public:
bool HasFormulaCell( SCROW nRow1, SCROW nRow2 ) const;
- void CloneFormulaCell( const ScFormulaCell& rSrc, const std::vector<sc::RowSpan>& rRanges );
+ void CloneFormulaCell(
+ const ScFormulaCell& rSrc, const std::vector<sc::RowSpan>& rRanges, sc::StartListeningContext* pCxt );
svl::SharedString GetSharedString( SCROW nRow ) const;