summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/curledit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/inc/curledit.hxx')
-rw-r--r--dbaccess/source/ui/inc/curledit.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/inc/curledit.hxx b/dbaccess/source/ui/inc/curledit.hxx
index 1a4570512ec0..3bc7fa2b328f 100644
--- a/dbaccess/source/ui/inc/curledit.hxx
+++ b/dbaccess/source/ui/inc/curledit.hxx
@@ -40,6 +40,7 @@
#ifndef _DBAUI_DSNTYPES_HXX_
#include "dsntypes.hxx"
#endif
+#include <memory>
//.........................................................................
namespace dbaui
@@ -55,8 +56,8 @@ namespace dbaui
*/
class OConnectionURLEdit : public Edit
{
- ::dbaccess::ODsnTypeCollection
- m_aTypeCollection;
+ ::dbaccess::ODsnTypeCollection*
+ m_pTypeCollection;
FixedText* m_pForcedPrefix;
String m_sSaveValueNoPrefix;
BOOL m_bShowPrefix; // when <TRUE> the prefix will be visible, otherwise not
@@ -84,7 +85,7 @@ public:
inline void SaveValueNoPrefix() { m_sSaveValueNoPrefix = GetTextNoPrefix(); }
inline String GetSavedValueNoPrefix() const { return m_sSaveValueNoPrefix; }
- inline void initializeTypeCollection(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB) { m_aTypeCollection.initUserDriverTypes(_rxORB); }
+ inline void SetTypeCollection(::dbaccess::ODsnTypeCollection* _pTypeCollection) { m_pTypeCollection = _pTypeCollection; }
};
//.........................................................................