Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsSVGGenericStringValue.cpp File Reference
#include "nsSVGValue.h"

Go to the source code of this file.


class  nsSVGGenericStringValue


nsresult NS_CreateSVGGenericStringValue (const nsAString &aValue, nsISVGValue **aResult)

Function Documentation

nsresult NS_CreateSVGGenericStringValue ( const nsAString &  aValue,
nsISVGValue **  aResult 

Definition at line 66 of file nsSVGGenericStringValue.cpp.

  NS_PRECONDITION(aResult != nsnull, "null ptr");
  if (! aResult) return NS_ERROR_NULL_POINTER;
  *aResult = (nsISVGValue*) new nsSVGGenericStringValue(aValue);
  if(!*aResult) return NS_ERROR_OUT_OF_MEMORY;
  return NS_OK;

Here is the call graph for this function: