Kaydet (Commit) ab71569a authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

fix build failures because of diff against master

Change-Id: Iefe4683f456750b53c96e1634d7930f4b042e573
üst fe4da4c2
......@@ -132,6 +132,12 @@ public:
{
return mLruList.size();
}
void clear()
{
mLruMap.clear();
mLruList.clear();
}
};
}
......
......@@ -41,6 +41,7 @@
#include "ControlCacheKey.hxx"
#include "schedulerimpl.hxx"
#include <basegfx/DrawCommands.hxx>
#include <o3tl/lru_map.hxx>
struct ImplPostEventData;
struct ImplTimerData;
......
......@@ -211,7 +211,7 @@ void drawFromDrawCommands(gfx::DrawRoot const& rDrawRoot, SalGraphics& rGraphics
{
for (size_t i = 0; i < rPolygon.count(); ++i)
{
auto& rPoint = rPolygon.getB2DPoint(i);
auto const& rPoint = rPolygon.getB2DPoint(i);
double x = rPoint.getX();
double y = rPoint.getY();
......
......@@ -184,7 +184,7 @@ void WidgetDefinitionState::addDrawImage(OUString const& sSource)
void WidgetDefinitionState::addDrawExternal(OUString const& sSource)
{
auto pCommand(std::make_unique<ExternalSourceDrawCommand>());
auto pCommand(std::make_shared<ExternalSourceDrawCommand>());
pCommand->msSource = sSource;
mpDrawCommands.push_back(std::move(pCommand));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment