summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdundo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index 2383688eb367..1c45387b2516 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -430,7 +430,7 @@ void SdrUndoAttrObj::Undo()
void SdrUndoAttrObj::Redo()
{
E3DModifySceneSnapRectUpdater aUpdater(pObj);
- bool bIs3DScene(pObj && dynamic_cast< E3dScene* >(pObj) != nullptr);
+ bool bIs3DScene(dynamic_cast< E3dScene* >(pObj) != nullptr);
if(!pUndoGroup || bIs3DScene)
{