forked from qt-creator/qt-creator
QmlJsEditor: Remove dead code
Change-Id: If925c48623a969e984536b5bb4d65c938fa8df41 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -55,13 +55,6 @@ using namespace QmlEditorWidgets;
|
|||||||
|
|
||||||
namespace QmlJSEditor {
|
namespace QmlJSEditor {
|
||||||
|
|
||||||
static inline QString textAt(const Document* doc,
|
|
||||||
const SourceLocation &from,
|
|
||||||
const SourceLocation &to)
|
|
||||||
{
|
|
||||||
return doc->source().mid(from.offset, to.end() - from.begin());
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline const ObjectValue * getPropertyChangesTarget(Node *node, const ScopeChain &scopeChain)
|
static inline const ObjectValue * getPropertyChangesTarget(Node *node, const ScopeChain &scopeChain)
|
||||||
{
|
{
|
||||||
UiObjectInitializer *initializer = initializerOfObject(node);
|
UiObjectInitializer *initializer = initializerOfObject(node);
|
||||||
|
|||||||
Reference in New Issue
Block a user