From: Charles Yin Date: Tue, 29 May 2012 00:38:41 +0000 (+1000) Subject: Remove unreachable code from qquickcontext2d.cpp X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=8897317ad9478dab06b6cdb3b88ba5357881888b;p=konrad%2Fqtdeclarative.git Remove unreachable code from qquickcontext2d.cpp Change-Id: Ia084c34ec8f897bdc4a4e4f89f74e6c3dca6c026 Reviewed-by: Michael Brasser --- diff --git a/src/quick/items/context2d/qquickcontext2d.cpp b/src/quick/items/context2d/qquickcontext2d.cpp index 11a4f95..abc644f 100644 --- a/src/quick/items/context2d/qquickcontext2d.cpp +++ b/src/quick/items/context2d/qquickcontext2d.cpp @@ -1980,19 +1980,16 @@ static v8::Handle ctx2d_isPointInPath(const v8::Arguments &args) static v8::Handle ctx2d_drawFocusRing(const v8::Arguments &args) { V8THROW_DOM(DOMEXCEPTION_NOT_SUPPORTED_ERR, "Context2D::drawFocusRing is not supported"); - return args.This(); } static v8::Handle ctx2d_setCaretSelectionRect(const v8::Arguments &args) { V8THROW_DOM(DOMEXCEPTION_NOT_SUPPORTED_ERR, "Context2D::setCaretSelectionRect is not supported"); - return args.This(); } static v8::Handle ctx2d_caretBlinkRate(const v8::Arguments &args) { V8THROW_DOM(DOMEXCEPTION_NOT_SUPPORTED_ERR, "Context2D::caretBlinkRate is not supported"); - return args.This(); } // text /*!