diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-07-20 12:31:57 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-07-20 21:32:26 +0200 |
commit | 8e8d3f4db94e0069a1d84378d295268f5037b016 (patch) | |
tree | c06b2ec6e696531799bd709be18a7d4d5a4aec26 /sc | |
parent | a11a06d38e145139a2a1c7d51510b4fc2222c3e1 (diff) |
EditTextObject: use virtual interface instead of pimpl
Makes it simpler, and avoids extra allocations
Change-Id: I301f628a2898f6421242808cbf8ce36c5acf9b0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119241
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/column.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 8cdbf7e9386c..5c8ed516deca 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -2617,7 +2617,7 @@ public: mbModified = true; } - void operator() (size_t nRow, const EditTextObject* pCell) + void operator() (size_t nRow, EditTextObject* pCell) { editeng::FieldUpdater aUpdater = pCell->GetFieldUpdater(); aUpdater.updateTableFields(mnTab); @@ -2649,7 +2649,7 @@ public: mbModified = true; } - void operator() (size_t nRow, const EditTextObject* pCell) + void operator() (size_t nRow, EditTextObject* pCell) { editeng::FieldUpdater aUpdater = pCell->GetFieldUpdater(); aUpdater.updateTableFields(mnTab); @@ -2681,7 +2681,7 @@ public: mbModified = true; } - void operator() (size_t nRow, const EditTextObject* pCell) + void operator() (size_t nRow, EditTextObject* pCell) { editeng::FieldUpdater aUpdater = pCell->GetFieldUpdater(); aUpdater.updateTableFields(mnTab); @@ -2713,7 +2713,7 @@ public: mbModified = true; } - void operator() (size_t nRow, const EditTextObject* pCell) + void operator() (size_t nRow, EditTextObject* pCell) { editeng::FieldUpdater aUpdater = pCell->GetFieldUpdater(); aUpdater.updateTableFields(mnTab); |