[Libreoffice-commits] core.git: svx/source
Takeshi Abe
tabe at fixedpoint.jp
Wed Mar 13 20:23:30 PDT 2013
svx/source/customshapes/EnhancedCustomShape2d.cxx | 2 +-
svx/source/customshapes/EnhancedCustomShape3d.cxx | 4 ++++
svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 5624e43fe9530eaa297b75cbcba1d776a4cb6615
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Tue Mar 12 18:25:44 2013 +0900
mark them as local
Change-Id: I4b0085238305ac454c4adcf0bf1ba000d385467e
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index 2b13ff3..e83a183 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -1412,7 +1412,7 @@ void EnhancedCustomShape2d::SwapStartAndEndArrow( SdrObject* pObj ) //#108274
pObj->SetMergedItem( aLineEndCenter );
}
-basegfx::B2DPolygon CreateArc( const Rectangle& rRect, const Point& rStart, const Point& rEnd, const sal_Bool bClockwise, sal_Bool bFullCircle = sal_False )
+static basegfx::B2DPolygon CreateArc( const Rectangle& rRect, const Point& rStart, const Point& rEnd, const sal_Bool bClockwise, sal_Bool bFullCircle = sal_False )
{
Rectangle aRect( rRect );
Point aStart( rStart );
diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx
index aaff743..ac847ff 100644
--- a/svx/source/customshapes/EnhancedCustomShape3d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx
@@ -57,6 +57,8 @@ using namespace com::sun::star::uno;
const char aExtrusion[] = "Extrusion";
+namespace {
+
void GetOrigin( SdrCustomShapeGeometryItem& rItem, double& rOriginX, double& rOriginY )
{
::com::sun::star::drawing::EnhancedCustomShapeParameterPair aOriginParaPair;
@@ -193,6 +195,8 @@ drawing::Direction3D GetDirection3D( SdrCustomShapeGeometryItem& rItem, const rt
return aRetValue;
}
+}
+
EnhancedCustomShape3d::Transformation2D::Transformation2D( const SdrObject* pCustomShape, const Rectangle& /*rBoundRect*/, const double *pM )
: aCenter( pCustomShape->GetSnapRect().Center() )
, eProjectionMode( drawing::ProjectionMode_PARALLEL )
diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
index b22c704..d6a829e 100644
--- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
@@ -84,7 +84,7 @@ struct FWData // representing the whole text
};
-sal_Bool InitializeFontWorkData( const SdrObject* pCustomShape, const sal_uInt16 nOutlinesCount2d, FWData& rFWData )
+static sal_Bool InitializeFontWorkData( const SdrObject* pCustomShape, const sal_uInt16 nOutlinesCount2d, FWData& rFWData )
{
sal_Bool bNoErr = sal_False;
sal_Bool bSingleLineMode = sal_False;
More information about the Libreoffice-commits
mailing list