diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-13 08:36:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-13 08:36:46 +0100 |
commit | 200434b1419afe375e104da76c68f81253374645 (patch) | |
tree | 997c37aa90d91398db535b6f0c5d804da03e7b9c /sfx2/source/appl/appcfg.cxx | |
parent | c70bc04224e5ad909d2c907ad2b489739837dd43 (diff) |
-Werror=unused-but-set-variable
Change-Id: I142e95b9736545c7771274e315419cec12d9cf49
Diffstat (limited to 'sfx2/source/appl/appcfg.cxx')
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index 50f7fad3afb9..0f8b31993c1f 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++; } |