Kaydet (Commit) f5beefb2 authored tarafından Julien Nabet's avatar Julien Nabet

Fix some "Variables reassigned a value before the old one has been used"

Change-Id: I38d62d2c095b87f08d37acfc26df07a4920be4d2
üst 25ebe01c
......@@ -508,13 +508,10 @@ Size SAL_CALL ProgressMonitor::getPreferredSize () throw( RuntimeException )
aGuard.clear () ;
// calc preferred size of progressmonitor
sal_Int32 nWidth = 0 ;
sal_Int32 nHeight = 0 ;
nWidth = 3 * PROGRESSMONITOR_FREEBORDER ;
sal_Int32 nWidth = 3 * PROGRESSMONITOR_FREEBORDER ;
nWidth += aProgressBarSize.Width ;
nHeight = 6 * PROGRESSMONITOR_FREEBORDER ;
sal_Int32 nHeight = 6 * PROGRESSMONITOR_FREEBORDER ;
nHeight += aTopicSize_Top.Height ;
nHeight += aProgressBarSize.Height ;
nHeight += aTopicSize_Bottom.Height;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment