cppcheck: noExplicitConstructor
Change-Id: Ie2ae923ad4c1a66e779711de6ff05328ef144dac
This commit is contained in:
@@ -133,7 +133,7 @@ public:
|
|||||||
Code(Code &) SAL_DELETED_FUNCTION;
|
Code(Code &) SAL_DELETED_FUNCTION;
|
||||||
void operator =(const Code&) SAL_DELETED_FUNCTION;
|
void operator =(const Code&) SAL_DELETED_FUNCTION;
|
||||||
|
|
||||||
Code(ClassFile & classFile);
|
explicit Code(ClassFile & classFile);
|
||||||
|
|
||||||
void ldc(sal_uInt16 index);
|
void ldc(sal_uInt16 index);
|
||||||
|
|
||||||
|
@@ -61,7 +61,7 @@ class AnyCompareFactory : public cppu::WeakImplHelper3< XAnyCompareFactory, XIni
|
|||||||
Locale m_Locale;
|
Locale m_Locale;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AnyCompareFactory( Reference< XComponentContext > xContext ) : m_xContext( xContext )
|
explicit AnyCompareFactory( Reference< XComponentContext > xContext ) : m_xContext( xContext )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
// XAnyCompareFactory
|
// XAnyCompareFactory
|
||||||
|
@@ -40,7 +40,7 @@ namespace comphelper
|
|||||||
class NameContainer : public ::cppu::WeakImplHelper1< ::com::sun::star::container::XNameContainer >, private NameContainerImpl
|
class NameContainer : public ::cppu::WeakImplHelper1< ::com::sun::star::container::XNameContainer >, private NameContainerImpl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NameContainer( ::com::sun::star::uno::Type aType );
|
explicit NameContainer( ::com::sun::star::uno::Type aType );
|
||||||
virtual ~NameContainer();
|
virtual ~NameContainer();
|
||||||
|
|
||||||
// XNameContainer
|
// XNameContainer
|
||||||
|
@@ -40,7 +40,7 @@ namespace comphelper
|
|||||||
Reference< XEventListener > m_xListener;
|
Reference< XEventListener > m_xListener;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
RemoveEventListener( const Reference< XEventListener >& _rxListener )
|
explicit RemoveEventListener( const Reference< XEventListener >& _rxListener )
|
||||||
:m_xListener( _rxListener )
|
:m_xListener( _rxListener )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@@ -61,7 +61,7 @@ namespace comphelper
|
|||||||
struct EqualProcessor : public ::std::unary_function< ProcessableEvent, bool >
|
struct EqualProcessor : public ::std::unary_function< ProcessableEvent, bool >
|
||||||
{
|
{
|
||||||
const ::rtl::Reference< IEventProcessor >& rProcessor;
|
const ::rtl::Reference< IEventProcessor >& rProcessor;
|
||||||
EqualProcessor( const ::rtl::Reference< IEventProcessor >& _rProcessor ) :rProcessor( _rProcessor ) { }
|
explicit EqualProcessor( const ::rtl::Reference< IEventProcessor >& _rProcessor ) :rProcessor( _rProcessor ) { }
|
||||||
|
|
||||||
bool operator()( const ProcessableEvent& _rEvent )
|
bool operator()( const ProcessableEvent& _rEvent )
|
||||||
{
|
{
|
||||||
|
@@ -55,7 +55,7 @@ class OInstanceLocker : public ::cppu::WeakImplHelper3< ::com::sun::star::lang::
|
|||||||
bool m_bInitialized;
|
bool m_bInitialized;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
OInstanceLocker( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext );
|
explicit OInstanceLocker( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext );
|
||||||
virtual ~OInstanceLocker();
|
virtual ~OInstanceLocker();
|
||||||
|
|
||||||
static ::com::sun::star::uno::Sequence< OUString > SAL_CALL
|
static ::com::sun::star::uno::Sequence< OUString > SAL_CALL
|
||||||
|
@@ -42,7 +42,7 @@ class OOfficeRestartManager : public ::cppu::WeakImplHelper3< ::com::sun::star::
|
|||||||
bool m_bRestartRequested;
|
bool m_bRestartRequested;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
OOfficeRestartManager( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext )
|
explicit OOfficeRestartManager( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext )
|
||||||
: m_xContext( xContext )
|
: m_xContext( xContext )
|
||||||
, m_bOfficeInitialized( false )
|
, m_bOfficeInitialized( false )
|
||||||
, m_bRestartRequested( false )
|
, m_bRestartRequested( false )
|
||||||
|
@@ -273,7 +273,7 @@ class SyntaxHighlighter::Tokenizer
|
|||||||
public:
|
public:
|
||||||
HighlighterLanguage const aLanguage;
|
HighlighterLanguage const aLanguage;
|
||||||
|
|
||||||
Tokenizer( HighlighterLanguage aLang );
|
explicit Tokenizer( HighlighterLanguage aLang );
|
||||||
~Tokenizer();
|
~Tokenizer();
|
||||||
|
|
||||||
void getHighlightPortions(const OUString& rLine,
|
void getHighlightPortions(const OUString& rLine,
|
||||||
|
@@ -23,7 +23,7 @@ class ThreadPool::ThreadWorker : public salhelper::Thread
|
|||||||
bool mbWorking;
|
bool mbWorking;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
ThreadWorker( ThreadPool *pPool ) :
|
explicit ThreadWorker( ThreadPool *pPool ) :
|
||||||
salhelper::Thread("thread-pool"),
|
salhelper::Thread("thread-pool"),
|
||||||
mpPool( pPool ),
|
mpPool( pPool ),
|
||||||
mbWorking( false )
|
mbWorking( false )
|
||||||
|
@@ -43,7 +43,7 @@ struct mutex_holder
|
|||||||
class OfficeInstallationDirectories : public mutex_holder, public UnoImplBase
|
class OfficeInstallationDirectories : public mutex_holder, public UnoImplBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
OfficeInstallationDirectories(
|
explicit OfficeInstallationDirectories(
|
||||||
const com::sun::star::uno::Reference<
|
const com::sun::star::uno::Reference<
|
||||||
com::sun::star::uno::XComponentContext > & xCtx );
|
com::sun::star::uno::XComponentContext > & xCtx );
|
||||||
virtual ~OfficeInstallationDirectories();
|
virtual ~OfficeInstallationDirectories();
|
||||||
|
@@ -33,7 +33,7 @@ class AutoOGuardArray
|
|||||||
std::unique_ptr< osl::Guard< comphelper::SolarMutex > > * mpGuardArray;
|
std::unique_ptr< osl::Guard< comphelper::SolarMutex > > * mpGuardArray;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AutoOGuardArray( sal_Int32 nNumElements );
|
explicit AutoOGuardArray( sal_Int32 nNumElements );
|
||||||
~AutoOGuardArray();
|
~AutoOGuardArray();
|
||||||
|
|
||||||
std::unique_ptr< osl::Guard< comphelper::SolarMutex > > & operator[] ( sal_Int32 i ) { return mpGuardArray[i]; }
|
std::unique_ptr< osl::Guard< comphelper::SolarMutex > > & operator[] ( sal_Int32 i ) { return mpGuardArray[i]; }
|
||||||
|
@@ -64,7 +64,7 @@ namespace comphelper
|
|||||||
virtual void _getPropertyValues( const PropertyMapEntry** ppEntries, Any* pValue ) throw( UnknownPropertyException, WrappedTargetException ) SAL_OVERRIDE;
|
virtual void _getPropertyValues( const PropertyMapEntry** ppEntries, Any* pValue ) throw( UnknownPropertyException, WrappedTargetException ) SAL_OVERRIDE;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GenericPropertySet( PropertySetInfo* pInfo ) throw();
|
explicit GenericPropertySet( PropertySetInfo* pInfo ) throw();
|
||||||
virtual ~GenericPropertySet() throw();
|
virtual ~GenericPropertySet() throw();
|
||||||
|
|
||||||
// XInterface
|
// XInterface
|
||||||
|
@@ -356,7 +356,7 @@ namespace internal
|
|||||||
sal_Int32 m_nCurrentlyForwarding;
|
sal_Int32 m_nCurrentlyForwarding;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PropertyForwarder( OPropertySetAggregationHelper& _rAggregationHelper );
|
explicit PropertyForwarder( OPropertySetAggregationHelper& _rAggregationHelper );
|
||||||
~PropertyForwarder();
|
~PropertyForwarder();
|
||||||
|
|
||||||
/** declares that the forwarder should be responsible for the given property
|
/** declares that the forwarder should be responsible for the given property
|
||||||
|
@@ -52,7 +52,7 @@ namespace
|
|||||||
struct PropertyDescriptionNameMatch : public ::std::unary_function< PropertyDescription, bool >
|
struct PropertyDescriptionNameMatch : public ::std::unary_function< PropertyDescription, bool >
|
||||||
{
|
{
|
||||||
OUString m_rCompare;
|
OUString m_rCompare;
|
||||||
PropertyDescriptionNameMatch( const OUString& _rCompare ) : m_rCompare( _rCompare ) { }
|
explicit PropertyDescriptionNameMatch( const OUString& _rCompare ) : m_rCompare( _rCompare ) { }
|
||||||
|
|
||||||
bool operator() (const PropertyDescription& x ) const
|
bool operator() (const PropertyDescription& x ) const
|
||||||
{
|
{
|
||||||
|
@@ -426,7 +426,7 @@ public:
|
|||||||
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Access(Components & components);
|
explicit Access(Components & components);
|
||||||
|
|
||||||
virtual ~Access();
|
virtual ~Access();
|
||||||
|
|
||||||
|
@@ -112,7 +112,7 @@ private:
|
|||||||
OUString const &, int, Data &, Partial const *, Modifications *,
|
OUString const &, int, Data &, Partial const *, Modifications *,
|
||||||
Additions *);
|
Additions *);
|
||||||
public:
|
public:
|
||||||
Components(
|
explicit Components(
|
||||||
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >
|
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >
|
||||||
const & context);
|
const & context);
|
||||||
|
|
||||||
|
@@ -91,7 +91,7 @@ class Service:
|
|||||||
private cppu::BaseMutex, public ServiceBase
|
private cppu::BaseMutex, public ServiceBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Service(
|
explicit Service(
|
||||||
css::uno::Reference< css::uno::XComponentContext > const context):
|
css::uno::Reference< css::uno::XComponentContext > const context):
|
||||||
ServiceBase(m_aMutex), context_(context), default_(true)
|
ServiceBase(m_aMutex), context_(context), default_(true)
|
||||||
{
|
{
|
||||||
|
@@ -73,7 +73,7 @@ class Service:
|
|||||||
css::util::XFlushable >
|
css::util::XFlushable >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Service(css::uno::Reference< css::uno::XComponentContext > const & context);
|
explicit Service(css::uno::Reference< css::uno::XComponentContext > const & context);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Service(const Service&) SAL_DELETED_FUNCTION;
|
Service(const Service&) SAL_DELETED_FUNCTION;
|
||||||
|
@@ -32,7 +32,7 @@ namespace configmgr {
|
|||||||
|
|
||||||
class LocalizedValueNode: public Node {
|
class LocalizedValueNode: public Node {
|
||||||
public:
|
public:
|
||||||
LocalizedValueNode(int layer);
|
explicit LocalizedValueNode(int layer);
|
||||||
LocalizedValueNode(int layer, com::sun::star::uno::Any const & value);
|
LocalizedValueNode(int layer, com::sun::star::uno::Any const & value);
|
||||||
|
|
||||||
virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE;
|
virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE;
|
||||||
|
@@ -60,7 +60,7 @@ class Service:
|
|||||||
public cppu::WeakImplHelper1< css::configuration::XUpdate >
|
public cppu::WeakImplHelper1< css::configuration::XUpdate >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Service(css::uno::Reference< css::uno::XComponentContext > const context):
|
explicit Service(css::uno::Reference< css::uno::XComponentContext > const context):
|
||||||
context_(context)
|
context_(context)
|
||||||
{
|
{
|
||||||
assert(context.is());
|
assert(context.is());
|
||||||
|
@@ -44,7 +44,7 @@ class Node;
|
|||||||
|
|
||||||
class ValueParser {
|
class ValueParser {
|
||||||
public:
|
public:
|
||||||
ValueParser(int layer);
|
explicit ValueParser(int layer);
|
||||||
|
|
||||||
~ValueParser();
|
~ValueParser();
|
||||||
|
|
||||||
|
@@ -2200,7 +2200,7 @@ namespace detail
|
|||||||
class ColumnValue : public IValueSource
|
class ColumnValue : public IValueSource
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ColumnValue( const Reference< XColumn >& _rxColumn )
|
explicit ColumnValue( const Reference< XColumn >& _rxColumn )
|
||||||
:m_xColumn( _rxColumn )
|
:m_xColumn( _rxColumn )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@@ -58,7 +58,7 @@ class ConstantValueExpression : public ExpressionNode
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
ConstantValueExpression( ORowSetValueDecoratorRef rValue ) :
|
explicit ConstantValueExpression( ORowSetValueDecoratorRef rValue ) :
|
||||||
maValue( rValue )
|
maValue( rValue )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -171,7 +171,7 @@ class ConstantFunctor
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
ConstantFunctor( const ParserContextSharedPtr& rContext ) :
|
explicit ConstantFunctor( const ParserContextSharedPtr& rContext ) :
|
||||||
mpContext( rContext )
|
mpContext( rContext )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -189,7 +189,7 @@ class IntConstantFunctor
|
|||||||
ParserContextSharedPtr mpContext;
|
ParserContextSharedPtr mpContext;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
IntConstantFunctor( const ParserContextSharedPtr& rContext ) :
|
explicit IntConstantFunctor( const ParserContextSharedPtr& rContext ) :
|
||||||
mpContext( rContext )
|
mpContext( rContext )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -326,7 +326,7 @@ public:
|
|||||||
@param rParserContext
|
@param rParserContext
|
||||||
Contains context info for the parser
|
Contains context info for the parser
|
||||||
*/
|
*/
|
||||||
ExpressionGrammar( const ParserContextSharedPtr& rParserContext ) :
|
explicit ExpressionGrammar( const ParserContextSharedPtr& rParserContext ) :
|
||||||
mpParserContext( rParserContext )
|
mpParserContext( rParserContext )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -335,7 +335,7 @@ public:
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// grammar definition
|
// grammar definition
|
||||||
definition( const ExpressionGrammar& self )
|
explicit definition( const ExpressionGrammar& self )
|
||||||
{
|
{
|
||||||
using ::boost::spirit::str_p;
|
using ::boost::spirit::str_p;
|
||||||
using ::boost::spirit::space_p;
|
using ::boost::spirit::space_p;
|
||||||
|
@@ -50,7 +50,7 @@ namespace connectivity
|
|||||||
class OColumnsHelperImpl
|
class OColumnsHelperImpl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
OColumnsHelperImpl(bool _bCase)
|
explicit OColumnsHelperImpl(bool _bCase)
|
||||||
: m_aColumnInfo(_bCase)
|
: m_aColumnInfo(_bCase)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@@ -30,7 +30,7 @@ struct TKeyValueFunc : ::std::binary_function<OSortIndex::TIntValuePairVector::v
|
|||||||
{
|
{
|
||||||
OSortIndex* pIndex;
|
OSortIndex* pIndex;
|
||||||
|
|
||||||
TKeyValueFunc(OSortIndex* _pIndex) : pIndex(_pIndex)
|
explicit TKeyValueFunc(OSortIndex* _pIndex) : pIndex(_pIndex)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
// return false if compared values are equal otherwise true
|
// return false if compared values are equal otherwise true
|
||||||
|
@@ -62,7 +62,7 @@ class OTableContainerListener:
|
|||||||
protected:
|
protected:
|
||||||
virtual ~OTableContainerListener(){}
|
virtual ~OTableContainerListener(){}
|
||||||
public:
|
public:
|
||||||
OTableContainerListener(OTableHelper* _pComponent) : m_pComponent(_pComponent){}
|
explicit OTableContainerListener(OTableHelper* _pComponent) : m_pComponent(_pComponent){}
|
||||||
virtual void SAL_CALL elementInserted( const ::com::sun::star::container::ContainerEvent& /*Event*/ ) throw (RuntimeException, std::exception) SAL_OVERRIDE
|
virtual void SAL_CALL elementInserted( const ::com::sun::star::container::ContainerEvent& /*Event*/ ) throw (RuntimeException, std::exception) SAL_OVERRIDE
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -114,7 +114,7 @@ namespace connectivity
|
|||||||
Reference< ::com::sun::star::sdbc::XConnection > m_xConnection;
|
Reference< ::com::sun::star::sdbc::XConnection > m_xConnection;
|
||||||
rtl::Reference<OTableContainerListener> m_xTablePropertyListener;
|
rtl::Reference<OTableContainerListener> m_xTablePropertyListener;
|
||||||
::std::vector< ColumnDesc > m_aColumnDesc;
|
::std::vector< ColumnDesc > m_aColumnDesc;
|
||||||
OTableHelperImpl(const Reference< ::com::sun::star::sdbc::XConnection >& _xConnection)
|
explicit OTableHelperImpl(const Reference< ::com::sun::star::sdbc::XConnection >& _xConnection)
|
||||||
: m_xConnection(_xConnection)
|
: m_xConnection(_xConnection)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@@ -56,7 +56,7 @@ namespace connectivity
|
|||||||
class SQLError_Impl
|
class SQLError_Impl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SQLError_Impl( const Reference<XComponentContext> & _rxContext );
|
explicit SQLError_Impl( const Reference<XComponentContext> & _rxContext );
|
||||||
~SQLError_Impl();
|
~SQLError_Impl();
|
||||||
|
|
||||||
// versions of the public SQLError methods which are just delegated to this impl-class
|
// versions of the public SQLError methods which are just delegated to this impl-class
|
||||||
|
@@ -64,7 +64,7 @@ namespace dbtools
|
|||||||
bool bComposerDirty;
|
bool bComposerDirty;
|
||||||
bool bDisposeComposer;
|
bool bDisposeComposer;
|
||||||
|
|
||||||
StatementComposer_Data( const Reference< XConnection >& _rxConnection )
|
explicit StatementComposer_Data( const Reference< XConnection >& _rxConnection )
|
||||||
:xConnection( _rxConnection )
|
:xConnection( _rxConnection )
|
||||||
,sCommand()
|
,sCommand()
|
||||||
,sFilter()
|
,sFilter()
|
||||||
|
@@ -117,7 +117,7 @@ struct TConnectionPoolFunctor : ::std::unary_function<TConnectionMap::value_type
|
|||||||
{
|
{
|
||||||
OConnectionPool* m_pConnectionPool;
|
OConnectionPool* m_pConnectionPool;
|
||||||
|
|
||||||
TConnectionPoolFunctor(OConnectionPool* _pConnectionPool)
|
explicit TConnectionPoolFunctor(OConnectionPool* _pConnectionPool)
|
||||||
: m_pConnectionPool(_pConnectionPool)
|
: m_pConnectionPool(_pConnectionPool)
|
||||||
{
|
{
|
||||||
OSL_ENSURE(m_pConnectionPool,"No connection pool!");
|
OSL_ENSURE(m_pConnectionPool,"No connection pool!");
|
||||||
|
@@ -45,7 +45,7 @@ namespace connectivity
|
|||||||
virtual void SAL_CALL disposing() SAL_OVERRIDE;
|
virtual void SAL_CALL disposing() SAL_OVERRIDE;
|
||||||
virtual ~OConnectionWeakWrapper();
|
virtual ~OConnectionWeakWrapper();
|
||||||
public:
|
public:
|
||||||
OConnectionWeakWrapper(::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation >& _xConnection);
|
explicit OConnectionWeakWrapper(::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation >& _xConnection);
|
||||||
|
|
||||||
// XServiceInfo
|
// XServiceInfo
|
||||||
DECLARE_SERVICE_INFO();
|
DECLARE_SERVICE_INFO();
|
||||||
|
@@ -80,7 +80,7 @@ namespace connectivity
|
|||||||
OPoolCollection(const OPoolCollection&) SAL_DELETED_FUNCTION;
|
OPoolCollection(const OPoolCollection&) SAL_DELETED_FUNCTION;
|
||||||
int operator= (const OPoolCollection&) SAL_DELETED_FUNCTION;
|
int operator= (const OPoolCollection&) SAL_DELETED_FUNCTION;
|
||||||
|
|
||||||
OPoolCollection(
|
explicit OPoolCollection(
|
||||||
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext);
|
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext);
|
||||||
|
|
||||||
// some configuration helper methods
|
// some configuration helper methods
|
||||||
|
@@ -32,7 +32,7 @@ namespace connectivity
|
|||||||
OEvoabConnection *m_pConnection;
|
OEvoabConnection *m_pConnection;
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData;
|
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData;
|
||||||
public:
|
public:
|
||||||
OEvoabCatalog(OEvoabConnection *_pCon);
|
explicit OEvoabCatalog(OEvoabConnection *_pCon);
|
||||||
inline OEvoabConnection* getConnection() const { return m_pConnection; }
|
inline OEvoabConnection* getConnection() const { return m_pConnection; }
|
||||||
virtual void refreshTables() SAL_OVERRIDE;
|
virtual void refreshTables() SAL_OVERRIDE;
|
||||||
virtual void refreshViews() SAL_OVERRIDE {}
|
virtual void refreshViews() SAL_OVERRIDE {}
|
||||||
|
@@ -64,7 +64,7 @@ namespace connectivity
|
|||||||
virtual ~OEvoabConnection();
|
virtual ~OEvoabConnection();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
OEvoabConnection( OEvoabDriver& _rDriver );
|
explicit OEvoabConnection( OEvoabDriver& _rDriver );
|
||||||
virtual void construct(const OUString& _rUrl,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rInfo ) throw( ::com::sun::star::sdbc::SQLException);
|
virtual void construct(const OUString& _rUrl,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rInfo ) throw( ::com::sun::star::sdbc::SQLException);
|
||||||
|
|
||||||
inline OString getPassword() { return m_aPassword; }
|
inline OString getPassword() { return m_aPassword; }
|
||||||
|
@@ -87,7 +87,7 @@ namespace connectivity
|
|||||||
public:
|
public:
|
||||||
inline OEvoabConnection* getOwnConnection() const { return m_pConnection; }
|
inline OEvoabConnection* getOwnConnection() const { return m_pConnection; }
|
||||||
|
|
||||||
OEvoabDatabaseMetaData(OEvoabConnection* _pCon);
|
explicit OEvoabDatabaseMetaData(OEvoabConnection* _pCon);
|
||||||
|
|
||||||
// as I mentioned before this interface is really BIG
|
// as I mentioned before this interface is really BIG
|
||||||
// XDatabaseMetaData
|
// XDatabaseMetaData
|
||||||
|
@@ -50,7 +50,7 @@ namespace connectivity
|
|||||||
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory;
|
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
OEvoabDriver(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory);
|
explicit OEvoabDriver(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory);
|
||||||
virtual ~OEvoabDriver();
|
virtual ~OEvoabDriver();
|
||||||
|
|
||||||
// OComponentHelper
|
// OComponentHelper
|
||||||
|
@@ -73,7 +73,7 @@ namespace connectivity
|
|||||||
virtual ~OEvoabPreparedStatement();
|
virtual ~OEvoabPreparedStatement();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
OEvoabPreparedStatement( OEvoabConnection* _pConnection );
|
explicit OEvoabPreparedStatement( OEvoabConnection* _pConnection );
|
||||||
|
|
||||||
void construct( const OUString& _sql );
|
void construct( const OUString& _sql );
|
||||||
|
|
||||||
|
@@ -42,7 +42,7 @@ namespace connectivity
|
|||||||
protected:
|
protected:
|
||||||
virtual ~OEvoabResultSetMetaData();
|
virtual ~OEvoabResultSetMetaData();
|
||||||
public:
|
public:
|
||||||
OEvoabResultSetMetaData(const OUString& _aTableName);
|
explicit OEvoabResultSetMetaData(const OUString& _aTableName);
|
||||||
void setEvoabFields(const ::rtl::Reference<connectivity::OSQLColumns> &xColumns) throw(::com::sun::star::sdbc::SQLException);
|
void setEvoabFields(const ::rtl::Reference<connectivity::OSQLColumns> &xColumns) throw(::com::sun::star::sdbc::SQLException);
|
||||||
inline sal_uInt32 fieldAtColumn(sal_Int32 columnIndex) const
|
inline sal_uInt32 fieldAtColumn(sal_Int32 columnIndex) const
|
||||||
{ return m_aEvoabFields[columnIndex - 1]; }
|
{ return m_aEvoabFields[columnIndex - 1]; }
|
||||||
|
@@ -189,7 +189,7 @@ namespace connectivity
|
|||||||
using OCommonStatement_IBase::operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >;
|
using OCommonStatement_IBase::operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
OCommonStatement( OEvoabConnection* _pConnection );
|
explicit OCommonStatement( OEvoabConnection* _pConnection );
|
||||||
|
|
||||||
// OComponentHelper
|
// OComponentHelper
|
||||||
virtual void SAL_CALL disposing() SAL_OVERRIDE;
|
virtual void SAL_CALL disposing() SAL_OVERRIDE;
|
||||||
@@ -242,7 +242,7 @@ namespace connectivity
|
|||||||
virtual ~OStatement(){}
|
virtual ~OStatement(){}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
OStatement( OEvoabConnection* _pConnection)
|
explicit OStatement( OEvoabConnection* _pConnection)
|
||||||
:OCommonStatement( _pConnection)
|
:OCommonStatement( _pConnection)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@@ -23,7 +23,7 @@ namespace connectivity
|
|||||||
m_xConnection;
|
m_xConnection;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Catalog(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& rConnection);
|
explicit Catalog(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& rConnection);
|
||||||
|
|
||||||
// OCatalog
|
// OCatalog
|
||||||
virtual void refreshTables() SAL_OVERRIDE;
|
virtual void refreshTables() SAL_OVERRIDE;
|
||||||
@@ -40,4 +40,4 @@ namespace connectivity
|
|||||||
|
|
||||||
#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_FIREBIRD_CATALOG_HXX
|
#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_FIREBIRD_CATALOG_HXX
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
Reference in New Issue
Block a user