~ubuntu-branches/ubuntu/utopic/kdevelop-php/utopic

« back to all changes in this revision

Viewing changes to duchain/declarations/variabledeclaration.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-12-20 14:59:02 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101220145902-a6cmovse1qmue52p
Tags: 1.1.80-0ubuntu1
* New upstream release
* Build-dep on kdevplatform >= 1.1.80
* Get rid of l10n packages, not relevant in Ubuntu, put locale files into main package

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
{
33
33
}
34
34
 
35
 
VariableDeclaration::VariableDeclaration(VariableDeclarationData& data, const KDevelop::SimpleRange& range)
 
35
VariableDeclaration::VariableDeclaration(VariableDeclarationData& data, const KDevelop::RangeInRevision& range)
36
36
        : KDevelop::Declaration(data, range)
37
37
{
38
38
}
40
40
VariableDeclaration::VariableDeclaration(const VariableDeclaration& rhs)
41
41
        : KDevelop::Declaration(*new VariableDeclarationData(*rhs.d_func()))
42
42
{
43
 
    setSmartRange(rhs.smartRange(), DocumentRangeObject::DontOwn);
44
43
}
45
44
 
46
 
VariableDeclaration::VariableDeclaration(const KDevelop::SimpleRange& range, KDevelop::DUContext* context)
 
45
VariableDeclaration::VariableDeclaration(const KDevelop::RangeInRevision& range, KDevelop::DUContext* context)
47
46
        : KDevelop::Declaration(*new VariableDeclarationData, range)
48
47
{
49
48
    d_func_dynamic()->setClassId(this);