sal/log.hxx is what was missing

Change-Id: I11aa264391aa4fcd90d171b9a6d93ed8e430b6cc
This commit is contained in:
Stephan Bergmann 2015-05-06 13:46:41 +02:00
parent b186e6f1ad
commit c47f7dfb30

View File

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