summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-13 15:51:43 +0100
committerMichael Stahl <mstahl@redhat.com>2015-04-14 20:39:45 +0000
commit488d09771dfbdae0b94898dd675bc39b8550b85e (patch)
treeda0a010be7dc91e164bffd3407c20b04609a8c43
parenta1e252733e3ddbab7b4854799acb05edc25dd07a (diff)
Resolves: tdf#90583 3D pie-chart missing guide handles
partial revert of commit db1d2af02861b49e4f53d726d59cd71c20cee9b1 Author: Armin Le Grand <alg@apache.org> Date: Tue Feb 18 21:18:13 2014 +0000 Resolves: #i123539# some optimizations for 3D chart... geometry creation using UNO API (cherry picked from commit bbe35be767d76d08891c4f3d3600d80e0e6805f2) Change-Id: If35f05fb62230e90cfc43a0beac053e8a87820d4 (cherry picked from commit bca8d8985666d3fd22b91eb280f9baaeb933c2d0) Reviewed-on: https://gerrit.libreoffice.org/15284 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--svx/source/engine3d/scene3d.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index 40e606a2738c..d9c02c5611e6 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -380,14 +380,7 @@ void E3dScene::NewObjectInserted(const E3dObject* p3DObj)
void E3dScene::StructureChanged()
{
E3dObject::StructureChanged();
-
- if(!GetModel() || !GetModel()->isLocked())
- {
- // #i123539# optimization for 3D chart object generation: do not reset
- // already calculated scene projection data every time an object gets
- // initialized
- SetRectsDirty();
- }
+ SetRectsDirty();
ImpCleanup3DDepthMapper();
}