diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-06 13:46:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-06 13:46:41 +0200 |
commit | c47f7dfb3045b7b029859ea1fac80143b996945b (patch) | |
tree | c8e35bb12067c6d3efac70fe5453bf780aa7cd88 /comphelper | |
parent | b186e6f1ad9dfd1c6534f047bdd3e22ee993a7c8 (diff) |
sal/log.hxx is what was missing
Change-Id: I11aa264391aa4fcd90d171b9a6d93ed8e430b6cc
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/random.cxx | 4 |
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)); } } |