summaryrefslogtreecommitdiff
path: root/indra/newview/llcommunicationchannel.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-15 16:15:46 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-15 16:15:46 -0400
commit1b5f0590ce45ce6e540d266a8902af5839885cfb (patch)
treef923407fc28fb2f046ac451976a02490ab15787e /indra/newview/llcommunicationchannel.cpp
parentf822193974af363fa4bb0208dc02848be6c983a2 (diff)
parente7eced3c87310b15ac20cc3cd470d67686104a14 (diff)
Merge commit 'e7eced3' into nat/releaseos for whitespace fix.
Diffstat (limited to 'indra/newview/llcommunicationchannel.cpp')
-rw-r--r--indra/newview/llcommunicationchannel.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/indra/newview/llcommunicationchannel.cpp b/indra/newview/llcommunicationchannel.cpp
index cf98b56b4c..074d60d879 100644
--- a/indra/newview/llcommunicationchannel.cpp
+++ b/indra/newview/llcommunicationchannel.cpp
@@ -1,4 +1,4 @@
-/**
+/**
* @file llcommunicationchannel.cpp
* @brief Implementation of llcommunicationchannel
* @author Stinson@lindenlab.com
@@ -38,8 +38,8 @@
LLCommunicationChannel::LLCommunicationChannel(const std::string& pName, const std::string& pParentName)
- : LLNotificationChannel(pName, pParentName, filterByDoNotDisturbStatus)
- , mHistory()
+ : LLNotificationChannel(pName, pParentName, filterByDoNotDisturbStatus)
+ , mHistory()
{
}
@@ -49,7 +49,7 @@ LLCommunicationChannel::~LLCommunicationChannel()
bool LLCommunicationChannel::filterByDoNotDisturbStatus(LLNotificationPtr)
{
- return !gAgent.isDoNotDisturb();
+ return !gAgent.isDoNotDisturb();
}
S32 LLCommunicationChannel::getHistorySize() const
@@ -59,12 +59,12 @@ S32 LLCommunicationChannel::getHistorySize() const
LLCommunicationChannel::history_list_t::const_iterator LLCommunicationChannel::beginHistory() const
{
- return mHistory.begin();
+ return mHistory.begin();
}
LLCommunicationChannel::history_list_t::const_iterator LLCommunicationChannel::endHistory() const
{
- return mHistory.end();
+ return mHistory.end();
}
LLCommunicationChannel::history_list_t::iterator LLCommunicationChannel::beginHistory()
@@ -79,7 +79,7 @@ LLCommunicationChannel::history_list_t::iterator LLCommunicationChannel::endHist
void LLCommunicationChannel::clearHistory()
{
- mHistory.clear();
+ mHistory.clear();
}
void LLCommunicationChannel::removeItemFromHistory(LLNotificationPtr p)
@@ -95,19 +95,19 @@ void LLCommunicationChannel::removeItemFromHistory(LLNotificationPtr p)
}
}
-void LLCommunicationChannel::onDelete(LLNotificationPtr p)
+void LLCommunicationChannel::onDelete(LLNotificationPtr p)
{
removeItemFromHistory(p);
}
void LLCommunicationChannel::onFilterFail(LLNotificationPtr pNotificationPtr)
{
- std::string notificationType = pNotificationPtr->getType();
- if (((notificationType == "groupnotify")
- || (notificationType == "offer")
- || (notificationType == "notifytoast"))
+ std::string notificationType = pNotificationPtr->getType();
+ if (((notificationType == "groupnotify")
+ || (notificationType == "offer")
+ || (notificationType == "notifytoast"))
&& !pNotificationPtr->isCancelled())
- {
- mHistory.insert(history_list_t::value_type(pNotificationPtr->getDate(), pNotificationPtr));
- }
+ {
+ mHistory.insert(history_list_t::value_type(pNotificationPtr->getDate(), pNotificationPtr));
+ }
}