From 04e403a7c5d27c62fe09b9490077b3778ce5d6ed Mon Sep 17 00:00:00 2001 From: Ansariel Date: Fri, 16 May 2014 10:20:02 +0200 Subject: [PATCH] Remove old, obsolete convenience method from FSCommon --- indra/newview/fscommon.cpp | 10 ---------- indra/newview/fscommon.h | 1 - 2 files changed, 11 deletions(-) diff --git a/indra/newview/fscommon.cpp b/indra/newview/fscommon.cpp index 6e003ced24..b927967678 100644 --- a/indra/newview/fscommon.cpp +++ b/indra/newview/fscommon.cpp @@ -142,16 +142,6 @@ std::string formatString(std::string text, const LLStringUtil::format_map_t& arg return text; } -LLPanelPeople* getPeoplePanel() -{ - LLPanel* panel_people = LLFloaterSidePanelContainer::getPanel("people", "panel_people"); - if (panel_people) - { - return dynamic_cast(panel_people); - } - return NULL; -} - S32 FSCommon::secondsSinceEpochFromString(const std::string& format, const std::string& str) { // LLDateUtil::secondsSinceEpochFromString does not handle time, only the date. diff --git a/indra/newview/fscommon.h b/indra/newview/fscommon.h index 29e8037fac..641de10007 100644 --- a/indra/newview/fscommon.h +++ b/indra/newview/fscommon.h @@ -42,7 +42,6 @@ void reportToNearbyChat(const std::string& message); std::string applyAutoCloseOoc(const std::string& message); std::string applyMuPose(const std::string& message); std::string formatString(std::string text, const LLStringUtil::format_map_t& args); -LLPanelPeople* getPeoplePanel(); namespace FSCommon {