summaryrefslogtreecommitdiff
path: root/sc/source/core/data/global.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/global.cxx')
-rw-r--r--sc/source/core/data/global.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index d3b2bd173f23..5e081a00e12d 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -49,6 +49,7 @@
#include <i18nlangtag/mslangid.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <comphelper/processfactory.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/string.hxx>
#include <unotools/calendarwrapper.hxx>
#include <unotools/collatorwrapper.hxx>
@@ -77,7 +78,6 @@
#include "sc.hrc"
#include "scmod.hxx"
#include "appoptio.hxx"
-#include "random.hxx"
#include "editutil.hxx"
@@ -529,7 +529,7 @@ void ScGlobal::Init()
// names from the compiler.
ScParameterClassification::Init();
srand( (unsigned) time( NULL ) ); // Random Seed Init fuer Interpreter
- sc::rng::seed( time( NULL ) ); // seed for libc rand() replacement
+ ::comphelper::rng::seed( time( NULL ) ); // seed for libc rand() replacement
InitAddIns();