From 846e7803db529d462a4f5a0480e1b502ca05c6c9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 24 Jan 2011 14:46:48 +0000 Subject: WaE: gcc 4.6.0 various warnings --- UnoControls/source/controls/progressmonitor.cxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'UnoControls') diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx index ca74167638aa..e039ff33925c 100644 --- a/UnoControls/source/controls/progressmonitor.cxx +++ b/UnoControls/source/controls/progressmonitor.cxx @@ -732,11 +732,6 @@ void ProgressMonitor::impl_recalcLayout () sal_Int32 nWidth_ProgressBar ; sal_Int32 nHeight_ProgressBar ; - sal_Int32 nX_3DLine ; - sal_Int32 nY_3DLine ; - sal_Int32 nWidth_3DLine ; - sal_Int32 nHeight_3DLine ; - sal_Int32 nX_Text_Top ; sal_Int32 nY_Text_Top ; sal_Int32 nWidth_Text_Top ; @@ -819,12 +814,6 @@ void ProgressMonitor::impl_recalcLayout () nWidth_Text_Bottom = nWidth_Text_Top ; nHeight_Text_Bottom = nHeight_Topic_Bottom ; - // Oriented by progressbar. - nX_3DLine = nX_Topic_Top ; - nY_3DLine = nY_Topic_Bottom+nHeight_Topic_Bottom+(PROGRESSMONITOR_FREEBORDER/2) ; - nWidth_3DLine = nWidth_ProgressBar ; - nHeight_3DLine = 1 ; // Height for ONE line ! (But we paint two lines!) - // Oriented by progressbar. nX_Button = nX_ProgressBar+nWidth_ProgressBar-nWidth_Button ; nY_Button = nY_Topic_Bottom+nHeight_Topic_Bottom+PROGRESSMONITOR_FREEBORDER ; -- cgit