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

Julien Nabet serval2412 at yahoo.fr
Mon Mar 25 14:20:13 PDT 2013


 svx/source/form/fmPropBrw.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 3e8273100bbcb7d312cecc0f5f85f6f61c9f5079
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Mar 25 22:17:43 2013 +0100

    coverity#704320 Logically dead code
    
    Change-Id: I12a49d9bdc5503facd6a9a00708b22034b173a7e

diff --git a/svx/source/form/fmPropBrw.cxx b/svx/source/form/fmPropBrw.cxx
index 87f653a..2832b40 100644
--- a/svx/source/form/fmPropBrw.cxx
+++ b/svx/source/form/fmPropBrw.cxx
@@ -182,9 +182,6 @@ using namespace ::svxform;
             nClassNameResourceId = RID_STR_CONTROL; break;
     }
 
-    if ( !nClassNameResourceId )
-        return ::rtl::OUString();
-
     return ::rtl::OUString( String( SVX_RES( nClassNameResourceId ) ) );
 }
 


More information about the Libreoffice-commits mailing list