summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/DocumentTimerManager.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-24 10:38:59 +0200
committerNoel Grandin <noel@peralex.com>2014-11-25 10:09:50 +0200
commit1be3bfed0a76c7e43f0376fb375abcfb5d954eb8 (patch)
treed4a99322685de0a29ec671cc9670b01441e9fddc /sw/source/core/doc/DocumentTimerManager.cxx
parenta8a8cb216fd2b25a1ed8b9c217685dccacaa428e (diff)
loplugin: cstylecast
Change-Id: I5f260c59e9db918c4daad938981b874d89106b11
Diffstat (limited to 'sw/source/core/doc/DocumentTimerManager.cxx')
-rw-r--r--sw/source/core/doc/DocumentTimerManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentTimerManager.cxx b/sw/source/core/doc/DocumentTimerManager.cxx
index c9f6c16e52f1..0c8bff2dcfb9 100644
--- a/sw/source/core/doc/DocumentTimerManager.cxx
+++ b/sw/source/core/doc/DocumentTimerManager.cxx
@@ -163,7 +163,7 @@ IMPL_LINK( DocumentTimerManager, DoIdleJobs, Timer *, pTimer )
}
#ifdef TIMELOG
if( pModLogFile && 1 != (long)pModLogFile )
- delete pModLogFile, ((long&)pModLogFile) = 1;
+ delete pModLogFile, static_cast<long&>(pModLogFile) = 1;
#endif
return 0;
}