diff options
Diffstat (limited to 'Build/source/libs/graphite2/graphite2-src/src/gr_features.cpp')
-rw-r--r-- | Build/source/libs/graphite2/graphite2-src/src/gr_features.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/libs/graphite2/graphite2-src/src/gr_features.cpp b/Build/source/libs/graphite2/graphite2-src/src/gr_features.cpp index 30c5c1099b6..a560e053f2e 100644 --- a/Build/source/libs/graphite2/graphite2-src/src/gr_features.cpp +++ b/Build/source/libs/graphite2/graphite2-src/src/gr_features.cpp @@ -15,8 +15,8 @@ You should also have received a copy of the GNU Lesser General Public License along with this library in the file named "LICENSE". - If not, write to the Free Software Foundation, 51 Franklin Street, - Suite 500, Boston, MA 02110-1335, USA or visit their web page on the + If not, write to the Free Software Foundation, 51 Franklin Street, + Suite 500, Boston, MA 02110-1335, USA or visit their web page on the internet at http://www.fsf.org/licenses/lgpl.html. Alternatively, the contents of this file may be used under the terms of the @@ -46,7 +46,7 @@ gr_uint16 gr_fref_feature_value(const gr_feature_ref* pfeatureref, const gr_feat int gr_fref_set_feature_value(const gr_feature_ref* pfeatureref, gr_uint16 val, gr_feature_val* pDest) { if (!pfeatureref || !pDest) return 0; - + return pfeatureref->applyValToFeature(val, *pDest); } @@ -55,7 +55,7 @@ gr_uint32 gr_fref_id(const gr_feature_ref* pfeatureref) //returns 0 if pointe { if (!pfeatureref) return 0; - + return pfeatureref->getId(); } @@ -125,10 +125,10 @@ void gr_label_destroy(void * label) } gr_feature_val* gr_featureval_clone(const gr_feature_val* pfeatures/*may be NULL*/) -{ //When finished with the Features, call features_destroy +{ //When finished with the Features, call features_destroy return static_cast<gr_feature_val*>(pfeatures ? new Features(*pfeatures) : new Features); } - + void gr_featureval_destroy(gr_feature_val *p) { delete static_cast<Features*>(p); |