Kaydet (Commit) fb8f3fac authored tarafından Stephan Bergmann's avatar Stephan Bergmann

get_this_libpath only used in paths.cxx

Change-Id: I60bbb6fce36d20d476adc963ad2182f71e9c19c7
üst 9e2972db
...@@ -32,7 +32,9 @@ ...@@ -32,7 +32,9 @@
#include "paths.hxx" #include "paths.hxx"
rtl::OUString cppu::get_this_libpath() { namespace {
rtl::OUString get_this_libpath() {
static rtl::OUString s_uri; static rtl::OUString s_uri;
if (s_uri.isEmpty()) { if (s_uri.isEmpty()) {
rtl::OUString uri; rtl::OUString uri;
...@@ -53,6 +55,8 @@ rtl::OUString cppu::get_this_libpath() { ...@@ -53,6 +55,8 @@ rtl::OUString cppu::get_this_libpath() {
return s_uri; return s_uri;
} }
}
rtl::OUString cppu::getUnoIniUri() { rtl::OUString cppu::getUnoIniUri() {
#if defined ANDROID #if defined ANDROID
// Wouldn't it be lovely to avoid this fugly hard-coding. // Wouldn't it be lovely to avoid this fugly hard-coding.
......
...@@ -27,8 +27,6 @@ namespace rtl { class OUString; } ...@@ -27,8 +27,6 @@ namespace rtl { class OUString; }
namespace cppu { namespace cppu {
rtl::OUString get_this_libpath();
rtl::OUString getUnoIniUri(); rtl::OUString getUnoIniUri();
bool nextDirectoryItem(osl::Directory & directory, rtl::OUString * url); bool nextDirectoryItem(osl::Directory & directory, rtl::OUString * url);
......
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