Kaydet (Commit) e4000dbe authored tarafından ccsheller's avatar ccsheller Kaydeden (comit) Noel Grandin

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/41418Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 500be4d3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment