summaryrefslogtreecommitdiff
path: root/scripting/source/provider/BrowseNodeFactoryImpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/provider/BrowseNodeFactoryImpl.cxx')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index 5603cbdae062..b544fd328a56 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -54,6 +54,7 @@ using namespace ::sf_misc;
namespace browsenodefactory
{
+namespace {
class BrowseNodeAggregator :
public ::cppu::WeakImplHelper< browse::XBrowseNode >
{
@@ -257,9 +258,6 @@ private:
}
};
-namespace
-{
-
std::vector< Reference< browse::XBrowseNode > > getAllBrowseNodes( const Reference< XComponentContext >& xCtx )
{
const Sequence< OUString > openDocs =
@@ -325,6 +323,8 @@ std::vector< Reference< browse::XBrowseNode > > getAllBrowseNodes( const Referen
typedef ::std::vector< Reference< browse::XBrowseNode > > vXBrowseNodes;
+namespace {
+
struct alphaSortForBNodes
{
bool operator()( const Reference< browse::XBrowseNode >& a, const Reference< browse::XBrowseNode >& b )
@@ -333,7 +333,12 @@ struct alphaSortForBNodes
}
};
+}
+
typedef ::cppu::WeakImplHelper< browse::XBrowseNode > t_BrowseNodeBase;
+
+namespace {
+
class DefaultBrowseNode :
public t_BrowseNodeBase
{
@@ -575,6 +580,8 @@ public:
}
};
+}
+
BrowseNodeFactoryImpl::BrowseNodeFactoryImpl(
Reference< XComponentContext > const & xComponentContext )
: m_xComponentContext( xComponentContext )