summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-19 12:35:36 +0200
committerNoel Grandin <noel@peralex.com>2014-02-20 09:31:11 +0200
commita46e4518e5c3bfd2fc425de928672f4e3df36fd3 (patch)
treebb80771e33872029a753f42ac45103c85622318e
parent64ed1e1c077e0023ad0b62a9d1c2e23ee5fb6618 (diff)
cid#983378 Dereference before null check
Change-Id: Iff8cd285d1b6443937f8ff725846b7d0fc4f39c3
-rw-r--r--sc/source/ui/view/output2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index ede02cc0e365..5fc4d502df79 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -5206,7 +5206,7 @@ void ScOutputData::DrawRotated(bool bPixelToLogic)
long nAvailWidth = aCellSize.Width();
if (eType==OUTTYPE_WINDOW &&
eOrient!=SVX_ORIENTATION_STACKED &&
- pInfo && pInfo->bAutoFilter)
+ pInfo->bAutoFilter)
{
// filter drop-down width is now independent from row height
if (bPixelToLogic)