summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-24 16:02:51 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-24 21:20:17 +0200
commit9d0b6931572362c1771aac98fae5cc50ef901bb2 (patch)
treeb2b5212cd4cf2b9088d21382d64f2ff1813d879c /ucb
parenta7653da3317c4e1a52f6152f42d3d9fe3170918e (diff)
cppcheck: unusedPrivateFunction
Change-Id: Id9634d47b009c4208169cf7f3793ba927ce95a64
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 )