diff --git a/modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp index bacb94334d..0651551610 100644 --- a/modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp @@ -3171,14 +3171,6 @@ private: float getEffectiveScale() const { return nativeScaleFactor * userScaleFactor; } - float getTopLevelDesktopScale() const - { - if (auto* comp = getTopLevelComponent()) - return comp->getDesktopScaleFactor(); - - return 1.0f; - } - // If possible, try to keep platform-specific handing restricted to the implementation of // ViewComponent. Keep the interface of ViewComponent consistent on all platforms. #if JUCE_LINUX || JUCE_BSD