summaryrefslogtreecommitdiff
path: root/vcl/source/filter
diff options
context:
space:
mode:
authorccsheller <ccsheller@gmail.com>2017-08-22 18:35:48 +0800
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-22 14:49:12 +0200
commite4000dbe27ba65146854f02c9affb45e22f6639f (patch)
tree13f8e04cec313bd59184936cf97699038f0021ca /vcl/source/filter
parent500be4d302d2e663cbce64c2f0c274530d742cbe (diff)
unnecessary condition
truth table pContext bDummyContext !pContext || bDummyContext pContext && !bDummyContext T T T F T F F T F T T F F F T F Change-Id: I52e4647cb081eae265b3cc31e60a1ac6b0a5337d Reviewed-on: https://gerrit.libreoffice.org/41418 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/filter')
-rw-r--r--vcl/source/filter/graphicfilter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 4747301d4510..50bb556fba98 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -1554,8 +1554,7 @@ ErrCode GraphicFilter::ImportGraphic( Graphic& rGraphic, const OUString& rPath,
}
else
{
- if( pContext && !bDummyContext )
- aFilterName = pContext->GetUpperFilterName();
+ aFilterName = pContext->GetUpperFilterName();
nStreamBegin = 0;
nStatus = ERRCODE_NONE;