summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-18 08:56:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-19 21:11:01 +0000
commit705e5fe94769415cfca60c73eebb8232464645b2 (patch)
tree9934c6afc11c237b1bc4627d813925c8985940cd /unotools
parentfd094baaf79e391f99da9c8259b13144e8de7847 (diff)
callcatcher: remove some unused code
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/unotools/bootstrap.hxx3
-rw-r--r--unotools/source/config/bootstrap.cxx17
2 files changed, 0 insertions, 20 deletions
diff --git a/unotools/inc/unotools/bootstrap.hxx b/unotools/inc/unotools/bootstrap.hxx
index 2c9d17ff607a..5a98181457c4 100644
--- a/unotools/inc/unotools/bootstrap.hxx
+++ b/unotools/inc/unotools/bootstrap.hxx
@@ -80,9 +80,6 @@ namespace utl
/// get a file URL to the user installation [${userurl}]
static PathStatus locateUserInstallation(rtl::OUString& _rURL);
- /// get a file URL to the shared data directory [default is ${insturl}/share]
- static PathStatus locateSharedData(rtl::OUString& _rURL);
-
/// get a file URL to the user data directory [default is ${userurl}/user]
static PathStatus locateUserData(rtl::OUString& _rURL);
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx
index 157f869460de..d3ca6358ed2f 100644
--- a/unotools/source/config/bootstrap.cxx
+++ b/unotools/source/config/bootstrap.cxx
@@ -675,24 +675,7 @@ PathStatus Bootstrap::locateUserInstallation(OUString& _rURL)
_rURL = aPathData.path;
return aPathData.status;
}
-// ---------------------------------------------------------------------------------------
-
-PathStatus Bootstrap::locateSharedData(OUString& _rURL)
-{
- OUString const csShareDirItem(RTL_CONSTASCII_USTRINGPARAM(BOOTSTRAP_ITEM_SHAREDIR));
- rtl::Bootstrap aData( data().getImplName() );
-
- if ( aData.getFrom(csShareDirItem, _rURL) )
- {
- return checkStatusAndNormalizeURL(_rURL);
- }
- else
- {
- OUString const csShareDir(RTL_CONSTASCII_USTRINGPARAM(BOOTSTRAP_DIRNAME_SHAREDIR));
- return getDerivedPath(_rURL, data().aBaseInstall_, csShareDir, aData, csShareDirItem);
- }
-}
// ---------------------------------------------------------------------------------------
PathStatus Bootstrap::locateUserData(OUString& _rURL)