summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-19 02:36:57 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-19 20:04:25 +0200
commit60b21e85a0c86aefdacd3b73665fda4ebd429b22 (patch)
tree103998f2f9fb9ffbb6f71994fd910a44c8737e60
parent64d65c397bf3d9f55126efe39ff54865cb7da172 (diff)
WaE: -Wunused-variable
Change-Id: I821560e86a45ac53f4886bedd957e5d2dd30e3cd
-rw-r--r--sw/source/core/undo/undraw.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/undo/undraw.cxx b/sw/source/core/undo/undraw.cxx
index f58ef57457c7..50120ca553b1 100644
--- a/sw/source/core/undo/undraw.cxx
+++ b/sw/source/core/undo/undraw.cxx
@@ -57,9 +57,7 @@ struct SwUndoGroupObjImpl
IMPL_LINK( SwDoc, AddDrawUndo, SdrUndoAction *, pUndo )
{
#if OSL_DEBUG_LEVEL > 1
- sal_uInt16 nId = pUndo->GetId();
- (void)nId;
- OUString sComment( pUndo->GetComment() );
+ SAL_INFO("sw.core", "Id: " << pUndo->GetId() << "Comment: " << pUndo->GetComment());
#endif
if (GetIDocumentUndoRedo().DoesUndo() &&