summaryrefslogtreecommitdiff
path: root/include/connectivity/sdbcx
diff options
context:
space:
mode:
authorMark Page <aptitude@btconnect.com>2016-06-07 11:59:24 +0100
committerNoel Grandin <noelgrandin@gmail.com>2016-06-08 11:09:44 +0000
commit22fa9289fdc6fd8d82d754adfef39fee3fd3c52f (patch)
tree9adcbeb8394912bd45f6c346d2dac3144c621593 /include/connectivity/sdbcx
parentf595e70cfee85a423f592190c607231cb00e3180 (diff)
tdf#96099 Remove various smart pointer typedefs
Change-Id: I76843139e43ca1c158a977e24d210d5af93e4d0f Reviewed-on: https://gerrit.libreoffice.org/26014 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/connectivity/sdbcx')
-rw-r--r--include/connectivity/sdbcx/VKey.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/connectivity/sdbcx/VKey.hxx b/include/connectivity/sdbcx/VKey.hxx
index 80962175ff62..0d52f22d2ff8 100644
--- a/include/connectivity/sdbcx/VKey.hxx
+++ b/include/connectivity/sdbcx/VKey.hxx
@@ -56,7 +56,6 @@ namespace connectivity
{}
KeyProperties():m_Type(0),m_UpdateRule(0),m_DeleteRule(0){}
};
- typedef std::shared_ptr< KeyProperties > TKeyProperties;
typedef ::cppu::ImplHelper1< css::sdbcx::XDataDescriptorFactory > OKey_BASE;
class OCollection;
@@ -69,7 +68,7 @@ namespace connectivity
public OKey_BASE
{
protected:
- TKeyProperties m_aProps;
+ std::shared_ptr<KeyProperties> m_aProps;
OCollection* m_pColumns;
using ODescriptor_BASE::rBHelper;
@@ -79,7 +78,7 @@ namespace connectivity
virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override;
public:
OKey(bool _bCase);
- OKey(const OUString& Name,const TKeyProperties& _rProps,bool _bCase);
+ OKey(const OUString& Name,const std::shared_ptr<KeyProperties>& _rProps,bool _bCase);
virtual ~OKey( );