summaryrefslogtreecommitdiff
path: root/sal/rtl/bootstrap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl/bootstrap.cxx')
-rw-r--r--sal/rtl/bootstrap.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx
index 7f5d4317636a..dae54a88df66 100644
--- a/sal/rtl/bootstrap.cxx
+++ b/sal/rtl/bootstrap.cxx
@@ -55,11 +55,11 @@
using osl::DirectoryItem;
using osl::FileStatus;
-struct Bootstrap_Impl;
-
namespace
{
+struct Bootstrap_Impl;
+
static char const VND_SUN_STAR_PATHNAME[] = "vnd.sun.star.pathname:";
bool isPathnameUrl(OUString const & url)
@@ -111,8 +111,6 @@ OUString recursivelyExpandMacros(
return expandMacros(file, text, mode, &link);
}
-} // end namespace
-
struct rtl_bootstrap_NameValue
{
OUString sName;
@@ -126,6 +124,8 @@ struct rtl_bootstrap_NameValue
{}
};
+} // end namespace
+
typedef std::vector<rtl_bootstrap_NameValue> NameValueVector;
static bool find(
@@ -281,6 +281,8 @@ static void EnsureNoFinalSlash (OUString & url)
url = url.copy(0, i - 1);
}
+namespace {
+
struct Bootstrap_Impl
{
sal_Int32 _nRefCount;
@@ -313,6 +315,8 @@ struct Bootstrap_Impl
ExpandRequestLink const * requestStack) const;
};
+}
+
Bootstrap_Impl::Bootstrap_Impl( OUString const & rIniName )
: _nRefCount( 0 ),
_base_ini( nullptr ),