Kaydet (Commit) 787d98f3 authored tarafından Michael Stahl's avatar Michael Stahl

xmloff: remove yet another SunStudio workaround

Change-Id: Ic9ec167d921c4c5f08914476bdbdd6a31a9391c1
üst ef7b63ba
......@@ -20,8 +20,6 @@
#include <xmloff/ProgressBarHelper.hxx>
#include <xmloff/xmltoken.hxx>
#include <stdlib.h>
using namespace ::com::sun::star;
static const sal_Int32 nDefaultProgressBarRange = 1000000;
......@@ -52,12 +50,7 @@ sal_Int32 ProgressBarHelper::ChangeReference(sal_Int32 nNewReference)
{
double fPercent(nNewReference / nReference);
double fValue(nValue * fPercent);
#if OSL_DEBUG_LEVEL > 0
// workaround for toolchain bug on solaris/x86 Sun C++ 5.5
// just call some function here
(void) abs(nValue);
#endif
nValue = static_cast< sal_Int32 >(fValue);
nValue = static_cast<sal_Int32>(fValue);
nReference = nNewReference;
}
else
......
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