summaryrefslogtreecommitdiff
path: root/include/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-23 15:58:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-24 08:12:53 +0000
commit29bea29ec1a56255455f855e2b29321553cb524c (patch)
treefd09a463594fcb40275305a86cb64d91562b68f5 /include/ucbhelper
parent1506b14a7ed546c3e78625eaac667bdd5e60f57f (diff)
loplugin:singlevalfields in ucbhelper
Change-Id: I738bda6e6e161fb5ea96bd496a21ccf72680cd7f Reviewed-on: https://gerrit.libreoffice.org/26604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/ucbhelper')
-rw-r--r--include/ucbhelper/interactionrequest.hxx2
-rw-r--r--include/ucbhelper/interceptedinteraction.hxx18
-rw-r--r--include/ucbhelper/resultsetmetadata.hxx39
3 files changed, 1 insertions, 58 deletions
diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx
index 8aef29ed083a..ada7a1cf79dc 100644
--- a/include/ucbhelper/interactionrequest.hxx
+++ b/include/ucbhelper/interactionrequest.hxx
@@ -346,7 +346,6 @@ class UCBHELPER_DLLPUBLIC InteractionSupplyAuthentication :
bool m_bCanSetPassword : 1;
bool m_bCanSetAccount : 1;
bool m_bCanUseSystemCredentials : 1;
- bool m_bDefaultUseSystemCredentials : 1;
bool m_bUseSystemCredentials : 1;
public:
@@ -530,7 +529,6 @@ inline InteractionSupplyAuthentication::InteractionSupplyAuthentication(
m_bCanSetPassword( bCanSetPassword ),
m_bCanSetAccount( bCanSetAccount ),
m_bCanUseSystemCredentials( bCanUseSystemCredentials ),
- m_bDefaultUseSystemCredentials( false ),
m_bUseSystemCredentials( false )
{
}
diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx
index 50dae3304b45..3bc55dfa8766 100644
--- a/include/ucbhelper/interceptedinteraction.hxx
+++ b/include/ucbhelper/interceptedinteraction.hxx
@@ -64,23 +64,6 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
css::uno::Type Continuation;
- /** @short specify, if both interactions must have the same type
- or can be derived from.
-
- @descr Interaction base on exceptions - and exceptions are real types.
- So they can be checked in its type. These parameter "MatchExact"
- influence the type-check in the following way:
- TRUE => the exception will be intercepted only
- if it supports exactly the same type ...
- or
- FALSE => derived exceptions will be intercepted too.
-
- @attention This parameter does not influence the check of the continuation
- type! The continuation must be matched exactly every time ...
- */
- bool MatchExact;
-
-
/** @short its an unique identifier, which must be managed by the outside code.
@descr If there is a derived class, which overwrites the InterceptedInteraction::intercepted()
@@ -98,7 +81,6 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
*/
InterceptedRequest()
{
- MatchExact = false;
Handle = INVALID_HANDLE;
}
diff --git a/include/ucbhelper/resultsetmetadata.hxx b/include/ucbhelper/resultsetmetadata.hxx
index 079a3204dae0..209e0da4dd0d 100644
--- a/include/ucbhelper/resultsetmetadata.hxx
+++ b/include/ucbhelper/resultsetmetadata.hxx
@@ -57,18 +57,6 @@ struct ResultSetColumnData
/** @see ResultSetMetaData::isCaseSensitive */
bool isCaseSensitive;
- /** @see ResultSetMetaData::isSearchable */
- bool isSearchable;
-
- /** @see ResultSetMetaData::isCurrency */
- bool isCurrency;
-
- /** @see ResultSetMetaData::isNullable */
- sal_Int32 isNullable;
-
- /** @see ResultSetMetaData::isSigned */
- bool isSigned;
-
/** @see ResultSetMetaData::getColumnDisplaySize */
sal_Int32 columnDisplaySize;
@@ -78,12 +66,6 @@ struct ResultSetColumnData
/** @see ResultSetMetaData::getSchemaName */
OUString schemaName;
- /** @see ResultSetMetaData::getPrecision */
- sal_Int32 precision;
-
- /** @see ResultSetMetaData::getScale */
- sal_Int32 scale;
-
/** @see ResultSetMetaData::getTableName */
OUString tableName;
@@ -93,15 +75,6 @@ struct ResultSetColumnData
/** @see ResultSetMetaData::getColumnTypeName */
OUString columnTypeName;
- /** @see ResultSetMetaData::isReadOnly */
- bool isReadOnly;
-
- /** @see ResultSetMetaData::isWritable */
- bool isWritable;
-
- /** @see ResultSetMetaData::isDefinitelyWritable */
- bool isDefinitelyWritable;
-
/** @see ResultSetMetaData::getColumnServiceName */
OUString columnServiceName;
@@ -114,16 +87,7 @@ struct ResultSetColumnData
ResultSetColumnData::ResultSetColumnData()
: isAutoIncrement( false ),
isCaseSensitive( true ),
- isSearchable( false ),
- isCurrency( false ),
- isNullable( css::sdbc::ColumnValue::NULLABLE ),
- isSigned( false ),
- columnDisplaySize( 16 ),
- precision( -1 ),
- scale( 0 ),
- isReadOnly( true ),
- isWritable( false ),
- isDefinitelyWritable( false )
+ columnDisplaySize( 16 )
{
}
@@ -145,7 +109,6 @@ private:
protected:
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::Sequence< css::beans::Property > m_aProps;
- bool m_bReadOnly;
public: