diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-09-12 17:19:54 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-09-12 18:38:37 +0200 |
commit | 787d98f3ff9d8e6604f12b579ca203ea977151c0 (patch) | |
tree | 74da77bd36a06ce62d2623c5721c7331ee10fd92 /xmloff | |
parent | ef7b63ba359e222eecad03fd5f15b79af2f0ac02 (diff) |
xmloff: remove yet another SunStudio workaround
Change-Id: Ic9ec167d921c4c5f08914476bdbdd6a31a9391c1
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/ProgressBarHelper.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xmloff/source/core/ProgressBarHelper.cxx b/xmloff/source/core/ProgressBarHelper.cxx index e5b266689c36..a530970c1188 100644 --- a/xmloff/source/core/ProgressBarHelper.cxx +++ b/xmloff/source/core/ProgressBarHelper.cxx @@ -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 |