diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-08-28 21:16:56 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-08-28 21:16:56 -0400 |
commit | 03d7f2b84daf9ab991de6cad7d6149abda1ef716 (patch) | |
tree | 15a4eaaf4bb81dd10c6cb92065b0d7f7d5a23006 /indra/newview/lluilistener.cpp | |
parent | baa7255687f265b2996754490083e7c26c646d72 (diff) |
Ditch trailing spaces.
Diffstat (limited to 'indra/newview/lluilistener.cpp')
-rw-r--r-- | indra/newview/lluilistener.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/lluilistener.cpp b/indra/newview/lluilistener.cpp index 0280836075..6f567e67f8 100644 --- a/indra/newview/lluilistener.cpp +++ b/indra/newview/lluilistener.cpp @@ -3,25 +3,25 @@ * @author Nat Goodspeed * @date 2009-08-18 * @brief Implementation for lluilistener. - * + * * $LicenseInfo:firstyear=2009&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License only. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * + * * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA * $/LicenseInfo$ */ @@ -93,7 +93,7 @@ LLUIListener::LLUIListener(): "to the [\"parent_menu\"] within the Top menu.", &LLUIListener::addMenuItem, required_args.with("func", LLSD())); - + add("addMenuSeparator", "Add menu separator to the [\"parent_menu\"] within the Top menu.", &LLUIListener::addMenuSeparator, @@ -147,7 +147,7 @@ void LLUIListener::call(const LLSD& event) { return response.error(stringize("Function ", std::quoted(event["function"].asString()), " was not found")); } - if (info->handle_untrusted == cb_info::UNTRUSTED_BLOCK) + if (info->handle_untrusted == cb_info::UNTRUSTED_BLOCK) { return response.error(stringize("Function ", std::quoted(event["function"].asString()), " may not be called from the script")); } @@ -226,7 +226,7 @@ void LLUIListener::getValue(const LLSD& event) const const LLView* view = LLUI::getInstance()->resolvePath(root, event["path"].asString()); const LLUICtrl* ctrl(dynamic_cast<const LLUICtrl*>(view)); - if (ctrl) + if (ctrl) { response["value"] = ctrl->getValue(); } |