summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-05 11:59:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-05 11:50:45 +0000
commitf12476f0f61824f6bf5120d3176731b17a43b817 (patch)
treed94238485804d4937f1aaf9e68beebd52cb490e4 /oox
parent99cb0d3e68921c52311b4dce032d8d2bf39a969f (diff)
loplugin:countusersofdefaultparams in oox..sd
Change-Id: I4504939a3957606979c6ac36af6611e1fe072d01 Reviewed-on: https://gerrit.libreoffice.org/27902 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/inc/drawingml/chart/converterbase.hxx2
-rw-r--r--oox/inc/drawingml/chart/objectformatter.hxx2
-rw-r--r--oox/inc/drawingml/shape3dproperties.hxx2
-rw-r--r--oox/inc/drawingml/textparagraph.hxx4
-rw-r--r--oox/source/helper/propertymap.cxx2
5 files changed, 6 insertions, 6 deletions
diff --git a/oox/inc/drawingml/chart/converterbase.hxx b/oox/inc/drawingml/chart/converterbase.hxx
index 6b53e5a32bfa..77238914b517 100644
--- a/oox/inc/drawingml/chart/converterbase.hxx
+++ b/oox/inc/drawingml/chart/converterbase.hxx
@@ -88,7 +88,7 @@ protected:
void registerTitleLayout(
const css::uno::Reference< css::chart2::XTitle >& rxTitle,
const ModelRef< LayoutModel >& rxLayout, ObjectType eObjType,
- sal_Int32 nMainIdx = -1, sal_Int32 nSubIdx = -1 );
+ sal_Int32 nMainIdx, sal_Int32 nSubIdx );
/** Converts the positions of the main title and all axis titles. */
void convertTitlePositions();
diff --git a/oox/inc/drawingml/chart/objectformatter.hxx b/oox/inc/drawingml/chart/objectformatter.hxx
index 3b632eff2626..446c3d899293 100644
--- a/oox/inc/drawingml/chart/objectformatter.hxx
+++ b/oox/inc/drawingml/chart/objectformatter.hxx
@@ -139,7 +139,7 @@ public:
void convertAutomaticFill(
PropertySet& rPropSet,
ObjectType eObjType,
- sal_Int32 nSeriesIdx = -1 );
+ sal_Int32 nSeriesIdx );
/** Returns true, if the passed shape properties have automatic fill mode. */
static bool isAutomaticFill( const ModelRef< Shape >& rxShapeProp );
diff --git a/oox/inc/drawingml/shape3dproperties.hxx b/oox/inc/drawingml/shape3dproperties.hxx
index 8c195090cdc8..e0fe9a9f0ac5 100644
--- a/oox/inc/drawingml/shape3dproperties.hxx
+++ b/oox/inc/drawingml/shape3dproperties.hxx
@@ -78,7 +78,7 @@ struct Shape3DProperties
css::uno::Sequence< css::beans::PropertyValue > getCameraAttributes();
css::uno::Sequence< css::beans::PropertyValue > getLightRigAttributes();
css::uno::Sequence< css::beans::PropertyValue > getShape3DAttributes(
- const GraphicHelper& rGraphicHelper, sal_Int32 rPhClr = API_RGB_TRANSPARENT );
+ const GraphicHelper& rGraphicHelper, sal_Int32 rPhClr );
static css::uno::Sequence< css::beans::PropertyValue > getBevelAttributes( BevelProperties rProps );
static css::uno::Sequence< css::beans::PropertyValue > getColorAttributes(
const Color& rColor, const GraphicHelper& rGraphicHelper, sal_Int32 rPhClr );
diff --git a/oox/inc/drawingml/textparagraph.hxx b/oox/inc/drawingml/textparagraph.hxx
index 43bf51a363fa..8a02a671a5b0 100644
--- a/oox/inc/drawingml/textparagraph.hxx
+++ b/oox/inc/drawingml/textparagraph.hxx
@@ -59,8 +59,8 @@ public:
const css::uno::Reference < css::text::XTextCursor > &xAt,
const TextCharacterProperties& rTextStyleProperties,
const TextListStyle& rTextListStyle,
- bool bFirst = false,
- float nDefaultCharHeight = 0) const;
+ bool bFirst,
+ float nDefaultCharHeight) const;
bool HasMathXml() const
{
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index 819e83afc4c5..4ff14e5f98f3 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -553,7 +553,7 @@ static void printParameterPairData(int level, EnhancedCustomShapeParameterPair &
fprintf (stderr, "}");
}
-static const char* lclDumpAnyValueCode( const Any& value, int level = 0)
+static const char* lclDumpAnyValueCode( const Any& value, int level)
{
OUString strValue;
Sequence< OUString > strArray;