summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2016-10-07 19:59:24 +0100
committerMichael Meeks <michael.meeks@collabora.com>2016-10-07 20:11:56 +0000
commit26219783bdf06d1fd0ddaf82f5a1c6fb08015aa0 (patch)
treefaa03ffaeeed2d5578959e54ea595024e9dea13a /sc/source
parente150e9c45c9ecf519fa76bd055adf8cc26ced91f (diff)
sc: Allow paste to overwrite existing data in tiled editin mode.
Change-Id: Ibb7a4697a509d011dd8a6a1793f41d4c73d1f253 Reviewed-on: https://gerrit.libreoffice.org/29598 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/unoobj/docuno.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index c5e131a8835c..7c3124930aca 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -984,6 +984,7 @@ void ScModelObj::initializeForTiledRendering(const css::uno::Sequence<css::beans
// show us the text exactly
ScInputOptions aInputOptions(SC_MOD()->GetInputOptions());
aInputOptions.SetTextWysiwyg(true);
+ aInputOptions.SetReplaceCellsWarn(false);
SC_MOD()->SetInputOptions(aInputOptions);
pDocShell->CalcOutputFactor();