summaryrefslogtreecommitdiff
path: root/svx/source/engine3d
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 18:16:42 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 08:18:05 +0000
commita238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch)
tree083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /svx/source/engine3d
parent538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff)
Remove excess newlines
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r--svx/source/engine3d/e3dsceneupdater.cxx1
-rw-r--r--svx/source/engine3d/extrud3d.cxx3
-rw-r--r--svx/source/engine3d/float3d.cxx4
-rw-r--r--svx/source/engine3d/helperhittest3d.cxx6
-rw-r--r--svx/source/engine3d/helperminimaldepth3d.cxx1
-rw-r--r--svx/source/engine3d/helperminimaldepth3d.hxx1
-rw-r--r--svx/source/engine3d/lathe3d.cxx3
-rw-r--r--svx/source/engine3d/obj3d.cxx6
-rw-r--r--svx/source/engine3d/polygn3d.cxx1
-rw-r--r--svx/source/engine3d/scene3d.cxx3
-rw-r--r--svx/source/engine3d/sphere3d.cxx4
-rw-r--r--svx/source/engine3d/svx3ditems.cxx3
-rw-r--r--svx/source/engine3d/view3d.cxx1
13 files changed, 0 insertions, 37 deletions
diff --git a/svx/source/engine3d/e3dsceneupdater.cxx b/svx/source/engine3d/e3dsceneupdater.cxx
index e37e7a17b48d..0db7d98613ba 100644
--- a/svx/source/engine3d/e3dsceneupdater.cxx
+++ b/svx/source/engine3d/e3dsceneupdater.cxx
@@ -24,7 +24,6 @@
#include <svx/sdr/contact/viewcontactofe3dscene.hxx>
-
E3DModifySceneSnapRectUpdater::E3DModifySceneSnapRectUpdater(const SdrObject* pObject)
: mpScene(nullptr),
mpViewInformation3D(nullptr)
diff --git a/svx/source/engine3d/extrud3d.cxx b/svx/source/engine3d/extrud3d.cxx
index 84f71a4d4105..26f371ea174f 100644
--- a/svx/source/engine3d/extrud3d.cxx
+++ b/svx/source/engine3d/extrud3d.cxx
@@ -46,15 +46,12 @@ sdr::contact::ViewContact* E3dExtrudeObj::CreateObjectSpecificViewContact()
}
-
sdr::properties::BaseProperties* E3dExtrudeObj::CreateObjectSpecificProperties()
{
return new sdr::properties::E3dExtrudeProperties(*this);
}
-
-
// Constructor creates a two cover surface tools::PolyPolygon and (point-count 1) side
// surfaces rectangles from the passed PolyPolygon
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx
index 10c780b61bfe..edaec94b8ab1 100644
--- a/svx/source/engine3d/float3d.cxx
+++ b/svx/source/engine3d/float3d.cxx
@@ -2174,7 +2174,6 @@ IMPL_LINK_NOARG_TYPED(Svx3DWin, ClickAssignHdl, Button*, void)
}
-
IMPL_LINK_TYPED( Svx3DWin, ClickViewTypeHdl, Button*, pBtn, void )
{
@@ -2441,7 +2440,6 @@ IMPL_LINK_TYPED( Svx3DWin, ClickHdl, Button *, pButton, void )
}
-
IMPL_LINK_TYPED( Svx3DWin, ClickColorHdl, Button *, pBtn, void)
{
SvColorDialog aColorDlg( this );
@@ -2594,7 +2592,6 @@ IMPL_LINK_TYPED( Svx3DWin, ModifyHdl, Edit&, rField, void )
}
-
void Svx3DWin::ClickLight(PushButton& rBtn)
{
sal_uInt16 nLightSource = GetLightSource( &rBtn );
@@ -2622,7 +2619,6 @@ void Svx3DWin::ClickLight(PushButton& rBtn)
}
-
IMPL_LINK_NOARG_TYPED(Svx3DWin, ChangeSelectionCallbackHdl, SvxLightCtl3D*, void)
{
const sal_uInt32 nLight(m_pCtlLightPreview->GetSvx3DLightControl().GetSelectedLight());
diff --git a/svx/source/engine3d/helperhittest3d.cxx b/svx/source/engine3d/helperhittest3d.cxx
index 1362642e7b83..cf9b9127682e 100644
--- a/svx/source/engine3d/helperhittest3d.cxx
+++ b/svx/source/engine3d/helperhittest3d.cxx
@@ -29,11 +29,9 @@
#include <com/sun/star/uno/Sequence.h>
-
using namespace com::sun::star;
-
class ImplPairDephAndObject
{
private:
@@ -57,7 +55,6 @@ public:
};
-
void getAllHit3DObjectWithRelativePoint(
const basegfx::B3DPoint& rFront,
const basegfx::B3DPoint& rBack,
@@ -96,7 +93,6 @@ void getAllHit3DObjectWithRelativePoint(
}
-
E3dScene* fillViewInformation3DForCompoundObject(drawinglayer::geometry::ViewInformation3D& o_rViewInformation3D, const E3dCompoundObject& rCandidate)
{
// Search for root scene (outmost scene) of the 3d object since e.g. in chart, multiple scenes may
@@ -158,7 +154,6 @@ E3dScene* fillViewInformation3DForCompoundObject(drawinglayer::geometry::ViewInf
}
-
void getAllHit3DObjectsSortedFrontToBack(
const basegfx::B2DPoint& rPoint,
const E3dScene& rScene,
@@ -235,7 +230,6 @@ void getAllHit3DObjectsSortedFrontToBack(
}
-
bool checkHitSingle3DObject(
const basegfx::B2DPoint& rPoint,
const E3dCompoundObject& rCandidate)
diff --git a/svx/source/engine3d/helperminimaldepth3d.cxx b/svx/source/engine3d/helperminimaldepth3d.cxx
index 7e7aedbe372f..19db8ee885f4 100644
--- a/svx/source/engine3d/helperminimaldepth3d.cxx
+++ b/svx/source/engine3d/helperminimaldepth3d.cxx
@@ -30,7 +30,6 @@
#include <svx/scene3d.hxx>
-
namespace drawinglayer
{
namespace processor3d
diff --git a/svx/source/engine3d/helperminimaldepth3d.hxx b/svx/source/engine3d/helperminimaldepth3d.hxx
index 698af3d4e6f2..559f49714c4c 100644
--- a/svx/source/engine3d/helperminimaldepth3d.hxx
+++ b/svx/source/engine3d/helperminimaldepth3d.hxx
@@ -45,7 +45,6 @@ class E3dCompoundObject;
double getMinimalDepthInViewCoordinates(const E3dCompoundObject& rObject);
-
#endif // INCLUDED_SVX_SOURCE_ENGINE3D_HELPERMINIMALDEPTH3D_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/engine3d/lathe3d.cxx b/svx/source/engine3d/lathe3d.cxx
index bc4e87f0970a..186e922e7177 100644
--- a/svx/source/engine3d/lathe3d.cxx
+++ b/svx/source/engine3d/lathe3d.cxx
@@ -44,15 +44,12 @@ sdr::contact::ViewContact* E3dLatheObj::CreateObjectSpecificViewContact()
}
-
sdr::properties::BaseProperties* E3dLatheObj::CreateObjectSpecificProperties()
{
return new sdr::properties::E3dLatheProperties(*this);
}
-
-
// Constructor from 3D polygon, scale is the conversion factor for the coordinates
E3dLatheObj::E3dLatheObj(E3dDefaultAttributes& rDefault, const basegfx::B2DPolyPolygon& rPoly2D)
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index 66ef3b7d1bf6..91fa02ca747a 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -78,7 +78,6 @@
#include <svx/e3dsceneupdater.hxx>
-
using namespace com::sun::star;
@@ -172,15 +171,12 @@ SdrObject* E3dObjList::RemoveObject(size_t nObjNum)
}
-
sdr::properties::BaseProperties* E3dObject::CreateObjectSpecificProperties()
{
return new sdr::properties::E3dProperties(*this);
}
-
-
E3dObject::E3dObject()
: maSubList(),
maLocalBoundVol(),
@@ -772,8 +768,6 @@ sdr::properties::BaseProperties* E3dCompoundObject::CreateObjectSpecificProperti
}
-
-
E3dCompoundObject::E3dCompoundObject()
: E3dObject(),
aMaterialAmbientColor(),
diff --git a/svx/source/engine3d/polygn3d.cxx b/svx/source/engine3d/polygn3d.cxx
index df5d6a45bea1..1a39932674bc 100644
--- a/svx/source/engine3d/polygn3d.cxx
+++ b/svx/source/engine3d/polygn3d.cxx
@@ -26,7 +26,6 @@
#include <basegfx/polygon/b3dpolygontools.hxx>
-
// DrawContact section
sdr::contact::ViewContact* E3dPolygonObj::CreateObjectSpecificViewContact()
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index e0224f462bd7..f34bbe8ff16a 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -48,7 +48,6 @@
#include <svx/svdmodel.hxx>
-
class ImpRemap3DDepth
{
sal_uInt32 mnOrdNum;
@@ -181,8 +180,6 @@ sdr::contact::ViewContact* E3dScene::CreateObjectSpecificViewContact()
}
-
-
E3dScene::E3dScene()
: E3dObject(),
aCamera(basegfx::B3DPoint(0.0, 0.0, 4.0), basegfx::B3DPoint()),
diff --git a/svx/source/engine3d/sphere3d.cxx b/svx/source/engine3d/sphere3d.cxx
index b7d6cc935245..17a776e91172 100644
--- a/svx/source/engine3d/sphere3d.cxx
+++ b/svx/source/engine3d/sphere3d.cxx
@@ -42,16 +42,12 @@ sdr::contact::ViewContact* E3dSphereObj::CreateObjectSpecificViewContact()
}
-
sdr::properties::BaseProperties* E3dSphereObj::CreateObjectSpecificProperties()
{
return new sdr::properties::E3dSphereProperties(*this);
}
-
-
-
// Build Sphere from polygon facets in latitude and longitude
E3dSphereObj::E3dSphereObj(E3dDefaultAttributes& rDefault, const basegfx::B3DPoint& rCenter, const basegfx::B3DVector& r3DSize)
diff --git a/svx/source/engine3d/svx3ditems.cxx b/svx/source/engine3d/svx3ditems.cxx
index 6345748396a2..a17f4ccb7b82 100644
--- a/svx/source/engine3d/svx3ditems.cxx
+++ b/svx/source/engine3d/svx3ditems.cxx
@@ -26,8 +26,6 @@
#include <com/sun/star/drawing/ShadeMode.hpp>
-
-
using namespace ::com::sun::star;
// #i28528#
@@ -89,7 +87,6 @@ Svx3DShadeModeItem::Svx3DShadeModeItem(sal_uInt16 nVal)
{}
-
Svx3DSmoothNormalsItem::Svx3DSmoothNormalsItem(bool bVal)
: SfxBoolItem(SDRATTR_3DOBJ_SMOOTH_NORMALS, bVal)
{}
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx
index 206284248cb9..f6a54f41f491 100644
--- a/svx/source/engine3d/view3d.cxx
+++ b/svx/source/engine3d/view3d.cxx
@@ -71,7 +71,6 @@ using namespace com::sun::star;
#define ITEMVALUE(ItemSet,Id,Cast) (static_cast<const Cast&>((ItemSet).Get(Id))).GetValue()
-
// Migrate Marking
class Impl3DMirrorConstructOverlay