[Libreoffice-commits] core.git: comphelper/source
Stephan Bergmann
sbergman at redhat.com
Wed May 6 04:47:26 PDT 2015
comphelper/source/misc/random.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c47f7dfb3045b7b029859ea1fac80143b996945b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 6 13:46:41 2015 +0200
sal/log.hxx is what was missing
Change-Id: I11aa264391aa4fcd90d171b9a6d93ed8e430b6cc
diff --git a/comphelper/source/misc/random.cxx b/comphelper/source/misc/random.cxx
index 50f3ce4..d8e81c5 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));
}
}
More information about the Libreoffice-commits
mailing list