]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_dimaligned.cpp
Adding missing implementation.
[architektonas] / src / base / rs_dimaligned.cpp
index 67acabbcecfd89607cda87bd166153264a5faf05..7a6554a464cd460e7e2dc38515610e253390d414 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
@@ -14,7 +16,7 @@
 
 #include "rs_dimaligned.h"
 
-#include "rs_graphic.h"
+#include "drawing.h"
 #include "rs_units.h"
 #include "rs_constructionline.h"
 
@@ -83,7 +85,7 @@ VectorSolutions RS_DimAligned::getRefPoints()
 QString RS_DimAligned::getMeasuredLabel()
 {
        double dist = edata.extensionPoint1.distanceTo(edata.extensionPoint2);
-       RS_Graphic * graphic = getGraphic();
+       Drawing * graphic = getGraphic();
        QString ret;
 
        if (graphic != NULL)