Kaydet (Commit) c947a25b authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:countusersofdefaultparams in basctl..basegfx

Change-Id: I515acfb9de1f6dff1de94a60055c5b600e5e5241
Reviewed-on: https://gerrit.libreoffice.org/45957Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst f7a57f3a
...@@ -70,7 +70,7 @@ namespace basctl { namespace docs { ...@@ -70,7 +70,7 @@ namespace basctl { namespace docs {
class DocumentEnumeration class DocumentEnumeration
{ {
public: public:
DocumentEnumeration( css::uno::Reference< css::uno::XComponentContext > const & _rContext, const IDocumentDescriptorFilter* _pFilter = nullptr ); DocumentEnumeration( css::uno::Reference< css::uno::XComponentContext > const & _rContext, const IDocumentDescriptorFilter* _pFilter );
~DocumentEnumeration(); ~DocumentEnumeration();
/** retrieves a list of all currently known documents in the application /** retrieves a list of all currently known documents in the application
......
...@@ -90,7 +90,7 @@ private: ...@@ -90,7 +90,7 @@ private:
void RestoreMacroDescription(); void RestoreMacroDescription();
public: public:
MacroChooser( vcl::Window* pParent, const ::css::uno::Reference< ::css::frame::XFrame >& xDocFrame, bool bCreateEntries = true ); MacroChooser( vcl::Window* pParent, const ::css::uno::Reference< ::css::frame::XFrame >& xDocFrame, bool bCreateEntries );
virtual ~MacroChooser() override; virtual ~MacroChooser() override;
virtual void dispose() override; virtual void dispose() override;
......
...@@ -31,7 +31,7 @@ class SIDEModel : public SfxBaseModel, ...@@ -31,7 +31,7 @@ class SIDEModel : public SfxBaseModel,
/// @throws css::io::IOException /// @throws css::io::IOException
static void notImplemented(); static void notImplemented();
public: public:
explicit SIDEModel(SfxObjectShell *pObjSh = nullptr); explicit SIDEModel(SfxObjectShell *pObjSh);
virtual ~SIDEModel() override; virtual ~SIDEModel() override;
//XInterface //XInterface
......
...@@ -46,7 +46,7 @@ namespace basegfx ...@@ -46,7 +46,7 @@ namespace basegfx
{ {
} }
explicit ImplMatLine(sal_uInt16 nRow, ImplMatLine< RowSize >* pToBeCopied = nullptr) explicit ImplMatLine(sal_uInt16 nRow, ImplMatLine< RowSize >* pToBeCopied)
{ {
if(pToBeCopied) if(pToBeCopied)
{ {
......
...@@ -98,7 +98,7 @@ namespace basegfx ...@@ -98,7 +98,7 @@ namespace basegfx
TrDeEdgeEntry( TrDeEdgeEntry(
const B2DPoint* pStart, const B2DPoint* pStart,
const B2DPoint* pEnd, const B2DPoint* pEnd,
sal_uInt32 nSortValue = 0) sal_uInt32 nSortValue)
: TrDeSimpleEdge(pStart, pEnd), : TrDeSimpleEdge(pStart, pEnd),
mnSortValue(nSortValue) mnSortValue(nSortValue)
{ {
......
...@@ -175,7 +175,7 @@ protected: ...@@ -175,7 +175,7 @@ protected:
public: public:
SbiExpression( SbiParser*, SbiExprType = SbSTDEXPR, SbiExpression( SbiParser*, SbiExprType = SbSTDEXPR,
SbiExprMode eMode = EXPRMODE_STANDARD, const KeywordSymbolInfo* pKeywordSymbolInfo = nullptr ); // parsing Ctor SbiExprMode eMode = EXPRMODE_STANDARD, const KeywordSymbolInfo* pKeywordSymbolInfo = nullptr ); // parsing Ctor
SbiExpression( SbiParser*, double, SbxDataType = SbxDOUBLE ); SbiExpression( SbiParser*, double, SbxDataType );
SbiExpression( SbiParser*, const SbiSymDef&, SbiExprListPtr = nullptr ); SbiExpression( SbiParser*, const SbiSymDef&, SbiExprListPtr = nullptr );
~SbiExpression(); ~SbiExpression();
OUString& GetName() { return aArgName; } OUString& GetName() { return aArgName; }
......
...@@ -45,7 +45,7 @@ class SvRTLInputBox : public ModalDialog ...@@ -45,7 +45,7 @@ class SvRTLInputBox : public ModalDialog
public: public:
SvRTLInputBox( vcl::Window* pParent, const OUString& rPrompt, const OUString& rTitle, SvRTLInputBox( vcl::Window* pParent, const OUString& rPrompt, const OUString& rTitle,
const OUString& rDefault, long nXTwips = -1, long nYTwips = -1 ); const OUString& rDefault, long nXTwips, long nYTwips );
virtual ~SvRTLInputBox() override { disposeOnce(); } virtual ~SvRTLInputBox() override { disposeOnce(); }
virtual void dispose() override; virtual void dispose() override;
OUString GetText() const override { return aText; } OUString GetText() const override { return aText; }
......
...@@ -75,7 +75,7 @@ namespace basegfx ...@@ -75,7 +75,7 @@ namespace basegfx
bool bStart, bool bStart,
double fWidth, double fWidth,
double fCandidateLength, // 0.0 -> calculate self double fCandidateLength, // 0.0 -> calculate self
double fDockingPosition = 0.5, // 0->top, 1->bottom double fDockingPosition, // 0->top, 1->bottom
double* pConsumedLength = nullptr, double* pConsumedLength = nullptr,
double fShift = 0.0); double fShift = 0.0);
...@@ -133,7 +133,7 @@ namespace basegfx ...@@ -133,7 +133,7 @@ namespace basegfx
const B2DPolygon& rCandidate, const B2DPolygon& rCandidate,
double fHalfLineWidth, double fHalfLineWidth,
B2DLineJoin eJoin, B2DLineJoin eJoin,
css::drawing::LineCap eCap = css::drawing::LineCap_BUTT, css::drawing::LineCap eCap,
double fMaxAllowedAngle = (12.5 * F_PI180), double fMaxAllowedAngle = (12.5 * F_PI180),
double fMaxPartOfEdge = 0.4, double fMaxPartOfEdge = 0.4,
double fMiterMinimumAngle = (15.0 * F_PI180)); double fMiterMinimumAngle = (15.0 * F_PI180));
......
...@@ -65,7 +65,7 @@ namespace basegfx ...@@ -65,7 +65,7 @@ namespace basegfx
const B3DPolygon& rCandidate, const B3DPolygon& rCandidate,
const ::std::vector<double>& rDotDashArray, const ::std::vector<double>& rDotDashArray,
B3DPolyPolygon* pLineTarget, B3DPolyPolygon* pLineTarget,
double fFullDashDotLen = 0.0); double fFullDashDotLen);
/** Create/replace normals for given 3d geometry with default normals from given center to outside. /** Create/replace normals for given 3d geometry with default normals from given center to outside.
rCandidate: the 3d geometry to change rCandidate: the 3d geometry to change
...@@ -82,14 +82,14 @@ namespace basegfx ...@@ -82,14 +82,14 @@ namespace basegfx
If bChangeX, x texture coordinate will be recalculated. If bChangeX, x texture coordinate will be recalculated.
If bChangeY, y texture coordinate will be recalculated. If bChangeY, y texture coordinate will be recalculated.
*/ */
BASEGFX_DLLPUBLIC B3DPolygon applyDefaultTextureCoordinatesParallel( const B3DPolygon& rCandidate, const B3DRange& rRange, bool bChangeX, bool bChangeY = true); BASEGFX_DLLPUBLIC B3DPolygon applyDefaultTextureCoordinatesParallel( const B3DPolygon& rCandidate, const B3DRange& rRange, bool bChangeX, bool bChangeY);
/** Create/replace texture coordinates for given 3d geometry with spherical one /** Create/replace texture coordinates for given 3d geometry with spherical one
rCenter: the centre of the used 3d geometry rCenter: the centre of the used 3d geometry
If bChangeX, x texture coordinate will be recalculated. If bChangeX, x texture coordinate will be recalculated.
If bChangeY, y texture coordinate will be recalculated. If bChangeY, y texture coordinate will be recalculated.
*/ */
BASEGFX_DLLPUBLIC B3DPolygon applyDefaultTextureCoordinatesSphere( const B3DPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX, bool bChangeY = true); BASEGFX_DLLPUBLIC B3DPolygon applyDefaultTextureCoordinatesSphere( const B3DPolygon& rCandidate, const B3DPoint& rCenter, bool bChangeX, bool bChangeY);
// isInside tests for B3DPoint. On border is not inside as long as not true is given in bWithBorder flag. // isInside tests for B3DPoint. On border is not inside as long as not true is given in bWithBorder flag.
BASEGFX_DLLPUBLIC bool isInside(const B3DPolygon& rCandidate, const B3DPoint& rPoint, bool bWithBorder); BASEGFX_DLLPUBLIC bool isInside(const B3DPolygon& rCandidate, const B3DPoint& rPoint, bool bWithBorder);
......
...@@ -64,7 +64,7 @@ namespace basegfx ...@@ -64,7 +64,7 @@ namespace basegfx
With VerStart, VerStop and hor range in cartesian may be specified to create a partial sphere only. With VerStart, VerStop and hor range in cartesian may be specified to create a partial sphere only.
*/ */
BASEGFX_DLLPUBLIC B3DPolyPolygon createUnitSpherePolyPolygon( BASEGFX_DLLPUBLIC B3DPolyPolygon createUnitSpherePolyPolygon(
sal_uInt32 nHorSeg, sal_uInt32 nVerSeg = 0, sal_uInt32 nHorSeg, sal_uInt32 nVerSeg,
double fVerStart = F_PI2, double fVerStop = -F_PI2, double fVerStart = F_PI2, double fVerStop = -F_PI2,
double fHorStart = 0.0, double fHorStop = F_2PI); double fHorStart = 0.0, double fHorStop = F_2PI);
...@@ -74,7 +74,7 @@ namespace basegfx ...@@ -74,7 +74,7 @@ namespace basegfx
*/ */
BASEGFX_DLLPUBLIC B3DPolyPolygon createSpherePolyPolygonFromB3DRange( BASEGFX_DLLPUBLIC B3DPolyPolygon createSpherePolyPolygonFromB3DRange(
const B3DRange& rRange, const B3DRange& rRange,
sal_uInt32 nHorSeg, sal_uInt32 nVerSeg = 0, sal_uInt32 nHorSeg, sal_uInt32 nVerSeg,
double fVerStart = F_PI2, double fVerStop = -F_PI2, double fVerStart = F_PI2, double fVerStop = -F_PI2,
double fHorStart = 0.0, double fHorStop = F_2PI); double fHorStart = 0.0, double fHorStop = F_2PI);
...@@ -82,7 +82,7 @@ namespace basegfx ...@@ -82,7 +82,7 @@ namespace basegfx
There is one extra, the bool bNormals defines if normals will be set, default is false There is one extra, the bool bNormals defines if normals will be set, default is false
*/ */
BASEGFX_DLLPUBLIC B3DPolyPolygon createUnitSphereFillPolyPolygon( BASEGFX_DLLPUBLIC B3DPolyPolygon createUnitSphereFillPolyPolygon(
sal_uInt32 nHorSeg, sal_uInt32 nVerSeg = 0, sal_uInt32 nHorSeg, sal_uInt32 nVerSeg,
bool bNormals = false, bool bNormals = false,
double fVerStart = F_PI2, double fVerStop = -F_PI2, double fVerStart = F_PI2, double fVerStop = -F_PI2,
double fHorStart = 0.0, double fHorStop = F_2PI); double fHorStart = 0.0, double fHorStop = F_2PI);
...@@ -92,7 +92,7 @@ namespace basegfx ...@@ -92,7 +92,7 @@ namespace basegfx
*/ */
BASEGFX_DLLPUBLIC B3DPolyPolygon createSphereFillPolyPolygonFromB3DRange( BASEGFX_DLLPUBLIC B3DPolyPolygon createSphereFillPolyPolygonFromB3DRange(
const B3DRange& rRange, const B3DRange& rRange,
sal_uInt32 nHorSeg, sal_uInt32 nVerSeg = 0, sal_uInt32 nHorSeg, sal_uInt32 nVerSeg,
bool bNormals = false, bool bNormals = false,
double fVerStart = F_PI2, double fVerStop = -F_PI2, double fVerStart = F_PI2, double fVerStop = -F_PI2,
double fHorStart = 0.0, double fHorStop = F_2PI); double fHorStart = 0.0, double fHorStop = F_2PI);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment