diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-28 00:13:29 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-28 07:55:59 +0100 |
commit | 5f0ddb2d2068a4388a7df12cd0e11f628b91e4c0 (patch) | |
tree | 2007c4a1f6c21a9f0d5a11aab60a10cd178d1d8b /sc/source/ui/app | |
parent | 8522572cdd27f62a031bb07c9cf7f6f85e8453ad (diff) |
tdf#120703 PVS: V547 Expression is always true/false
Change-Id: Ic92cc594979cac2edac04a085957398672a5dfcc
Reviewed-on: https://gerrit.libreoffice.org/62450
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r-- | sc/source/ui/app/client.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/ui/app/client.cxx b/sc/source/ui/app/client.cxx index 06b13352aeba..316e31bf875f 100644 --- a/sc/source/ui/app/client.cxx +++ b/sc/source/ui/app/client.cxx @@ -171,11 +171,7 @@ void ScClient::ObjectAreaChanged() pDrawObj->setSuppressSetVisAreaSize(false); // set document modified (SdrModel::SetChanged is not used) - // TODO/LATER: is there a reason that this code is not executed in Draw? -// SfxViewShell* pSfxViewSh = GetViewShell(); -// ScTabViewShell* pViewSh = dynamic_cast<ScTabViewShell*>( pSfxViewSh ); - if (pViewSh) - pViewSh->GetViewData().GetDocShell()->SetDrawModified(); + pViewSh->GetViewData().GetDocShell()->SetDrawModified(); } if (pDrawObj) |