summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/random.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/random.cxx b/comphelper/source/misc/random.cxx
index 50f3ce46a840..d8e81c5175a9 100644
--- a/comphelper/source/misc/random.cxx
+++ b/comphelper/source/misc/random.cxx
@@ -12,7 +12,7 @@
#include <comphelper/random.hxx>
#include <rtl/instance.hxx>
-#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <assert.h>
#include <time.h>
#include <random>
@@ -51,7 +51,7 @@ struct RandomNumberGenerator
}
catch (std::runtime_error& e)
{
- SAL_WARN("comphelper.random", OUString("Using std::random_device failed: ") << e.what());
+ SAL_WARN("comphelper.random", "Using std::random_device failed: " << e.what());
global_rng.seed(time(nullptr));
}
}