summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/workben/ucb/ucbdemo.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/ucb/workben/ucb/ucbdemo.cxx b/ucb/workben/ucb/ucbdemo.cxx
index 9ecffc2d8727..953a9d00f8a1 100644
--- a/ucb/workben/ucb/ucbdemo.cxx
+++ b/ucb/workben/ucb/ucbdemo.cxx
@@ -352,8 +352,6 @@ private:
OUString m_aConfigurationKey2;
sal_Bool m_bInited : 1;
- static OUString getUnoURL();
-
public:
Ucb( uno::Reference< lang::XMultiServiceFactory >& rxFactory,
OUString const & rConfigurationKey1,
@@ -377,20 +375,6 @@ public:
OUString Ucb::m_aProtocol;
-// static
-OUString Ucb::getUnoURL()
-{
- OUString aUnoURL(
- "uno:socket,host=localhost,port=8121;");
- if (m_aProtocol.getLength() == 0)
- aUnoURL += "urp";
- else
- aUnoURL += m_aProtocol;
- aUnoURL += ";UCB.Factory";
- return aUnoURL;
-}
-
-
Ucb::Ucb( uno::Reference< lang::XMultiServiceFactory >& rxFactory,
OUString const & rConfigurationKey1,
OUString const & rConfigurationKey2 )