Kaydet (Commit) f2c7d7ae authored tarafından Matúš Kukan's avatar Matúš Kukan

tubes: remove pointless define

Change-Id: I5ef7f8a5a37d0a77a9dadc44e1e895581c2ebb50
üst 3ef03fbf
...@@ -56,9 +56,6 @@ ResId TubesResId( sal_uInt32 nId ) ...@@ -56,9 +56,6 @@ ResId TubesResId( sal_uInt32 nId )
return ResId( nId, *pResMgr ); return ResId( nId, *pResMgr );
} }
#define CONTACTS_DLG
#ifdef CONTACTS_DLG
namespace { namespace {
class TubeContacts : public ModelessDialog class TubeContacts : public ModelessDialog
{ {
...@@ -265,15 +262,12 @@ IMPL_LINK_NOARG( TubeContacts, BtnListenHdl ) ...@@ -265,15 +262,12 @@ IMPL_LINK_NOARG( TubeContacts, BtnListenHdl )
} }
} // anonymous namespace } // anonymous namespace
#endif
namespace tubes { namespace tubes {
void createContacts( Collaboration* pCollaboration ) void createContacts( Collaboration* pCollaboration )
{ {
#ifdef CONTACTS_DLG
static TubeContacts *pContacts = new TubeContacts( pCollaboration ); static TubeContacts *pContacts = new TubeContacts( pCollaboration );
pContacts->Populate(); pContacts->Populate();
#endif
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment