diff options
author | Ocke Janssen [oj] <Ocke.Janssen@oracle.com> | 2011-01-12 14:27:13 +0100 |
---|---|---|
committer | Ocke Janssen [oj] <Ocke.Janssen@oracle.com> | 2011-01-12 14:27:13 +0100 |
commit | ea51944d952612269d8a5ceb3dad9e019e81e4a5 (patch) | |
tree | e9d4083268eb3fcffad38f37854128fbbc92e896 /svx/source/form | |
parent | Automated merge with ssh://hg.services.openoffice.org/cws/dba34c (diff) | |
download | core-ea51944d952612269d8a5ceb3dad9e019e81e4a5.tar.gz core-ea51944d952612269d8a5ceb3dad9e019e81e4a5.zip |
dba34c: unused var when not in debug
Diffstat (limited to 'svx/source/form')
-rw-r--r-- | svx/source/form/fmpgeimp.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx index 90f12f411447..9aeae3856ff6 100644 --- a/svx/source/form/fmpgeimp.cxx +++ b/svx/source/form/fmpgeimp.cxx @@ -276,11 +276,15 @@ namespace Any aOldAssignment = #endif _map->remove( makeAny( xControlModel ) ); + #if OSL_DEBUG_LEVEL > 0 (void)aOldAssignment; + #endif OSL_ENSURE( !i_ignoreNonExistence || ( aOldAssignment == makeAny( Reference< XControlShape >( const_cast< FmFormObj& >( _object ).getUnoShape(), UNO_QUERY ) ) ), "lcl_removeFormObject: map was inconsistent!" ); + #if OSL_DEBUG_LEVEL > 0 (void)i_ignoreNonExistence; + #endif } } |