summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-12 13:10:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-14 06:40:30 +0000
commit1e49e33c26950b606714c0dafb26cbcb2aeb3877 (patch)
treee510fd3a5babf1712d136b866120bea4dd5b8f1a /include
parente1822c809b137859382139aace0c08be4547c157 (diff)
loplugin:constantparam in chart2..connectivity
Change-Id: Ic9e1bd36a11c7148fa7595a2b6c6de9bd7a8653d Reviewed-on: https://gerrit.libreoffice.org/28834 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/canvas/base/cachedprimitivebase.hxx11
-rw-r--r--include/comphelper/servicedecl.hxx6
-rw-r--r--include/connectivity/sdbcx/VIndexColumn.hxx3
-rw-r--r--include/connectivity/sdbcx/VKeyColumn.hxx3
-rw-r--r--include/connectivity/sdbcx/VView.hxx1
5 files changed, 3 insertions, 21 deletions
diff --git a/include/canvas/base/cachedprimitivebase.hxx b/include/canvas/base/cachedprimitivebase.hxx
index 23d98a3845b0..6b25a1564c2d 100644
--- a/include/canvas/base/cachedprimitivebase.hxx
+++ b/include/canvas/base/cachedprimitivebase.hxx
@@ -52,17 +52,9 @@ namespace canvas
@param rTarget
The target canvas the repaint should happen on.
-
- @param bFailForChangedViewTransform
- When true, derived classes will never receive doRedraw()
- calls with dissimilar view transformations and
- bSameViewTransform set to false. This is useful for cached
- objects where re-transforming the generated output is not
- desirable, e.g. for hinted font output.
*/
CachedPrimitiveBase( const css::rendering::ViewState& rUsedViewState,
- const css::uno::Reference< css::rendering::XCanvas >& rTarget,
- bool bFailForChangedViewTransform );
+ const css::uno::Reference< css::rendering::XCanvas >& rTarget );
/// Dispose all internal references
virtual void SAL_CALL disposing() override;
@@ -106,7 +98,6 @@ namespace canvas
css::rendering::ViewState maUsedViewState;
css::uno::Reference< css::rendering::XCanvas > mxTarget;
- const bool mbFailForChangedViewTransform;
};
}
diff --git a/include/comphelper/servicedecl.hxx b/include/comphelper/servicedecl.hxx
index 5fece98d9e25..c5dd87ff9d57 100644
--- a/include/comphelper/servicedecl.hxx
+++ b/include/comphelper/servicedecl.hxx
@@ -109,11 +109,10 @@ public:
template <typename ImplClassT>
ServiceDecl( ImplClassT const& implClass,
char const* pImplName,
- char const* pSupportedServiceNames, char cDelim = ';' )
+ char const* pSupportedServiceNames )
: m_createFunc(implClass.m_createFunc),
m_pImplName(pImplName),
- m_pServiceNames(pSupportedServiceNames),
- m_cDelim(cDelim) {}
+ m_pServiceNames(pSupportedServiceNames) {}
/// @internal gets called by component_getFactoryHelper()
void * getFactory( sal_Char const* pImplName ) const;
@@ -134,7 +133,6 @@ private:
detail::CreateFuncF const m_createFunc;
char const* const m_pImplName;
char const* const m_pServiceNames;
- char const m_cDelim;
};
/** To specify whether the implementation class expects arguments
diff --git a/include/connectivity/sdbcx/VIndexColumn.hxx b/include/connectivity/sdbcx/VIndexColumn.hxx
index 601bcc39f2ae..0611e7ccc54d 100644
--- a/include/connectivity/sdbcx/VIndexColumn.hxx
+++ b/include/connectivity/sdbcx/VIndexColumn.hxx
@@ -47,9 +47,6 @@ namespace connectivity
sal_Int32 Precision,
sal_Int32 Scale,
sal_Int32 Type,
- bool IsAutoIncrement,
- bool IsRowVersion,
- bool IsCurrency,
bool _bCase,
const OUString& CatalogName,
const OUString& SchemaName,
diff --git a/include/connectivity/sdbcx/VKeyColumn.hxx b/include/connectivity/sdbcx/VKeyColumn.hxx
index b01076093ead..20d326e40666 100644
--- a/include/connectivity/sdbcx/VKeyColumn.hxx
+++ b/include/connectivity/sdbcx/VKeyColumn.hxx
@@ -47,9 +47,6 @@ namespace connectivity
sal_Int32 Precision,
sal_Int32 Scale,
sal_Int32 Type,
- bool IsAutoIncrement,
- bool IsRowVersion,
- bool IsCurrency,
bool _bCase,
const OUString& CatalogName,
const OUString& SchemaName,
diff --git a/include/connectivity/sdbcx/VView.hxx b/include/connectivity/sdbcx/VView.hxx
index 2cb6e25f8ca2..1f08aee8e66c 100644
--- a/include/connectivity/sdbcx/VView.hxx
+++ b/include/connectivity/sdbcx/VView.hxx
@@ -67,7 +67,6 @@ namespace connectivity
OView( bool _bCase,
const OUString& _rName,
const css::uno::Reference< css::sdbc::XDatabaseMetaData >& _xMetaData,
- sal_Int32 _nCheckOption = 0,
const OUString& _rCommand = OUString(),
const OUString& _rSchemaName = OUString(),
const OUString& _rCatalogName = OUString());