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 #include -#include +#include #include #include #include @@ -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)); } }