diff --git a/extras/Projucer/Source/ComponentEditor/components/jucer_ComponentTypeHandler.cpp b/extras/Projucer/Source/ComponentEditor/components/jucer_ComponentTypeHandler.cpp index 6a34aac501..755d9846bd 100644 --- a/extras/Projucer/Source/ComponentEditor/components/jucer_ComponentTypeHandler.cpp +++ b/extras/Projucer/Source/ComponentEditor/components/jucer_ComponentTypeHandler.cpp @@ -356,12 +356,12 @@ public: void setPosition (const RelativePositionedRectangle& newPos) { - auto* layout = document.getComponentLayout(); + auto* l = document.getComponentLayout(); - if (layout->getSelectedSet().getNumSelected() > 1) + if (l->getSelectedSet().getNumSelected() > 1) positionOtherSelectedComponents (ComponentTypeHandler::getComponentPosition (component), newPos); - layout->setComponentPosition (component, newPos, true); + l->setComponentPosition (component, newPos, true); } RelativePositionedRectangle getPosition() const diff --git a/extras/Projucer/Source/ComponentEditor/jucer_UtilityFunctions.h b/extras/Projucer/Source/ComponentEditor/jucer_UtilityFunctions.h index 324ea1598d..e3c4429e99 100644 --- a/extras/Projucer/Source/ComponentEditor/jucer_UtilityFunctions.h +++ b/extras/Projucer/Source/ComponentEditor/jucer_UtilityFunctions.h @@ -88,6 +88,7 @@ inline void drawResizableBorder (Graphics& g, int w, int h, const bool isMouseOver, Colour borderColour) { + ignoreUnused (isMouseOver); g.setColour (borderColour); g.fillRect (0, 0, w, borderSize.getTop());