summaryrefslogtreecommitdiff
path: root/svx/source/form/fmpgeimp.cxx
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@oracle.com>2011-01-12 14:27:13 +0100
committerOcke Janssen [oj] <Ocke.Janssen@oracle.com>2011-01-12 14:27:13 +0100
commitea51944d952612269d8a5ceb3dad9e019e81e4a5 (patch)
treee9d4083268eb3fcffad38f37854128fbbc92e896 /svx/source/form/fmpgeimp.cxx
parent1fb18041e274a49222b37bdf34a1659890c29264 (diff)
dba34c: unused var when not in debug
Diffstat (limited to 'svx/source/form/fmpgeimp.cxx')
-rw-r--r--svx/source/form/fmpgeimp.cxx4
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
}
}