Bug 1184695 - Fix some indentation in nsHashPropertyBag. r=poiru
This commit is contained in:
@@ -160,7 +160,7 @@ IMPL_GETSETPROPERTY_AS(Bool, bool)
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHashPropertyBagBase::GetPropertyAsAString(const nsAString& aProp,
|
nsHashPropertyBagBase::GetPropertyAsAString(const nsAString& aProp,
|
||||||
nsAString& aResult)
|
nsAString& aResult)
|
||||||
{
|
{
|
||||||
nsIVariant* v = mPropertyHash.GetWeak(aProp);
|
nsIVariant* v = mPropertyHash.GetWeak(aProp);
|
||||||
if (!v) {
|
if (!v) {
|
||||||
@@ -171,7 +171,7 @@ nsHashPropertyBagBase::GetPropertyAsAString(const nsAString& aProp,
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHashPropertyBagBase::GetPropertyAsACString(const nsAString& aProp,
|
nsHashPropertyBagBase::GetPropertyAsACString(const nsAString& aProp,
|
||||||
nsACString& aResult)
|
nsACString& aResult)
|
||||||
{
|
{
|
||||||
nsIVariant* v = mPropertyHash.GetWeak(aProp);
|
nsIVariant* v = mPropertyHash.GetWeak(aProp);
|
||||||
if (!v) {
|
if (!v) {
|
||||||
@@ -182,7 +182,7 @@ nsHashPropertyBagBase::GetPropertyAsACString(const nsAString& aProp,
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHashPropertyBagBase::GetPropertyAsAUTF8String(const nsAString& aProp,
|
nsHashPropertyBagBase::GetPropertyAsAUTF8String(const nsAString& aProp,
|
||||||
nsACString& aResult)
|
nsACString& aResult)
|
||||||
{
|
{
|
||||||
nsIVariant* v = mPropertyHash.GetWeak(aProp);
|
nsIVariant* v = mPropertyHash.GetWeak(aProp);
|
||||||
if (!v) {
|
if (!v) {
|
||||||
@@ -193,8 +193,8 @@ nsHashPropertyBagBase::GetPropertyAsAUTF8String(const nsAString& aProp,
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHashPropertyBagBase::GetPropertyAsInterface(const nsAString& aProp,
|
nsHashPropertyBagBase::GetPropertyAsInterface(const nsAString& aProp,
|
||||||
const nsIID& aIID,
|
const nsIID& aIID,
|
||||||
void** aResult)
|
void** aResult)
|
||||||
{
|
{
|
||||||
nsIVariant* v = mPropertyHash.GetWeak(aProp);
|
nsIVariant* v = mPropertyHash.GetWeak(aProp);
|
||||||
if (!v) {
|
if (!v) {
|
||||||
@@ -215,7 +215,7 @@ nsHashPropertyBagBase::GetPropertyAsInterface(const nsAString& aProp,
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHashPropertyBagBase::SetPropertyAsAString(const nsAString& aProp,
|
nsHashPropertyBagBase::SetPropertyAsAString(const nsAString& aProp,
|
||||||
const nsAString& aValue)
|
const nsAString& aValue)
|
||||||
{
|
{
|
||||||
nsCOMPtr<nsIWritableVariant> var = new nsVariant();
|
nsCOMPtr<nsIWritableVariant> var = new nsVariant();
|
||||||
var->SetAsAString(aValue);
|
var->SetAsAString(aValue);
|
||||||
@@ -224,7 +224,7 @@ nsHashPropertyBagBase::SetPropertyAsAString(const nsAString& aProp,
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHashPropertyBagBase::SetPropertyAsACString(const nsAString& aProp,
|
nsHashPropertyBagBase::SetPropertyAsACString(const nsAString& aProp,
|
||||||
const nsACString& aValue)
|
const nsACString& aValue)
|
||||||
{
|
{
|
||||||
nsCOMPtr<nsIWritableVariant> var = new nsVariant();
|
nsCOMPtr<nsIWritableVariant> var = new nsVariant();
|
||||||
var->SetAsACString(aValue);
|
var->SetAsACString(aValue);
|
||||||
@@ -233,7 +233,7 @@ nsHashPropertyBagBase::SetPropertyAsACString(const nsAString& aProp,
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHashPropertyBagBase::SetPropertyAsAUTF8String(const nsAString& aProp,
|
nsHashPropertyBagBase::SetPropertyAsAUTF8String(const nsAString& aProp,
|
||||||
const nsACString& aValue)
|
const nsACString& aValue)
|
||||||
{
|
{
|
||||||
nsCOMPtr<nsIWritableVariant> var = new nsVariant();
|
nsCOMPtr<nsIWritableVariant> var = new nsVariant();
|
||||||
var->SetAsAUTF8String(aValue);
|
var->SetAsAUTF8String(aValue);
|
||||||
@@ -242,7 +242,7 @@ nsHashPropertyBagBase::SetPropertyAsAUTF8String(const nsAString& aProp,
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHashPropertyBagBase::SetPropertyAsInterface(const nsAString& aProp,
|
nsHashPropertyBagBase::SetPropertyAsInterface(const nsAString& aProp,
|
||||||
nsISupports* aValue)
|
nsISupports* aValue)
|
||||||
{
|
{
|
||||||
nsCOMPtr<nsIWritableVariant> var = new nsVariant();
|
nsCOMPtr<nsIWritableVariant> var = new nsVariant();
|
||||||
var->SetAsISupports(aValue);
|
var->SetAsISupports(aValue);
|
||||||
|
|||||||
Reference in New Issue
Block a user