[Libreoffice-commits] core.git: sfx2/source

Caolán McNamara caolanm at redhat.com
Fri Feb 7 12:46:50 PST 2014


 sfx2/source/view/viewprn.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit d32883b641724f7e9efa205a55068bc664660bbf
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Feb 7 20:43:38 2014 +0000

    coverity#735493 Logically dead code
    
    Change-Id: Iddf09c1acb7d2e812b86c6f14f5394a6a266d258

diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index 2a82e00..c7bb3fc 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -871,8 +871,6 @@ void SfxViewShell::ExecPrint_Impl( SfxRequest &rReq )
                     // so it will only be deleted here if dialog was cancelled
                     DELETEZ( pDlgPrinter );
                     rReq.Ignore();
-                    if ( SID_PRINTDOC == nId )
-                        rReq.SetReturnValue(SfxBoolItem(0,false));
                 }
             }
         }


More information about the Libreoffice-commits mailing list