LCOV - code coverage report
Current view: top level - sc/source/core/tool - refhint.cxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 10 10 100.0 %
Date: 2014-04-11 Functions: 7 9 77.8 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  */
       9             : 
      10             : #include <refhint.hxx>
      11             : 
      12             : namespace sc {
      13             : 
      14           3 : RefHint::RefHint( Type eType ) : SfxSimpleHint(SC_HINT_REFERENCE), meType(eType) {}
      15           3 : RefHint::~RefHint() {}
      16             : 
      17           8 : RefHint::Type RefHint::getType() const { return meType; }
      18             : 
      19           3 : RefMovedHint::RefMovedHint( const ScRange& rRange, const ScAddress& rMove ) :
      20           3 :     RefHint(Moved), maRange(rRange), maMoveDelta(rMove) {}
      21             : 
      22           3 : RefMovedHint::~RefMovedHint() {}
      23             : 
      24          17 : const ScRange& RefMovedHint::getRange() const
      25             : {
      26          17 :     return maRange;
      27             : }
      28             : 
      29          11 : const ScAddress& RefMovedHint::getDelta() const
      30             : {
      31          11 :     return maMoveDelta;
      32             : }
      33             : 
      34             : }
      35             : 
      36             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10