sfx2/source/appl/appcfg.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 200434b1419afe375e104da76c68f81253374645
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Wed Jan 13 08:36:46 2016 +0100

    -Werror=unused-but-set-variable
    
    Change-Id: I142e95b9736545c7771274e315419cec12d9cf49

diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index 50f7fad..0f8b319 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -483,10 +483,7 @@ void SfxApplication::GetOptions( SfxItemSet& rSet )
                     SAL_INFO( "sfx", "W1:Wrong ID while getting Options!" );
                     break;
             }
-#ifdef DBG_UTIL
-            if ( !bRet )
-                OSL_FAIL( "Putting options failed!" );
-#endif
+            SAL_WARN_IF(!bRet, "sfx.appl", "Putting options failed!");
         }
         pRanges++;
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to