Mercurial > hg > orthanc-stone
diff Framework/Scene2DViewport/MeasureToolsToolbox.cpp @ 818:e42b491f1fb2
Removed typedefs to shared_ptr by making them explicit. Removed using namespace
directives to make usage more explicit, too.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 29 May 2019 10:51:28 +0200 |
parents | 66ac7a2d1e3a |
children | a29c13497557 |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/MeasureToolsToolbox.cpp Wed May 29 08:36:13 2019 +0200 +++ b/Framework/Scene2DViewport/MeasureToolsToolbox.cpp Wed May 29 10:51:28 2019 +0200 @@ -19,7 +19,7 @@ **/ #include "MeasureToolsToolbox.h" -#include "PointerTypes.h" +#include "PredeclaredTypes.h" #include "LayerHolder.h" #include "ViewportController.h" @@ -60,7 +60,7 @@ } void AddSquare(PolylineSceneLayer::Chain& chain, - Scene2DConstPtr scene, + boost::shared_ptr<const Scene2D> scene, const ScenePoint2D& centerS, const double& sideLengthS) { @@ -288,7 +288,7 @@ for the actual text */ void SetTextLayerOutlineProperties( - Scene2DPtr scene, LayerHolderPtr layerHolder, + boost::shared_ptr<Scene2D> scene, boost::shared_ptr<LayerHolder> layerHolder, const char* text, ScenePoint2D p) { double xoffsets[5] = { 2, 0, -2, 0, 0 };