summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterConfigurationAccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterConfigurationAccess.cxx')
-rw-r--r--sdext/source/presenter/PresenterConfigurationAccess.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sdext/source/presenter/PresenterConfigurationAccess.cxx b/sdext/source/presenter/PresenterConfigurationAccess.cxx
index acba65b233a9..005a4888e95e 100644
--- a/sdext/source/presenter/PresenterConfigurationAccess.cxx
+++ b/sdext/source/presenter/PresenterConfigurationAccess.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -62,20 +62,20 @@ PresenterConfigurationAccess::PresenterConfigurationAccess (
Sequence<Any> aCreationArguments(3);
aCreationArguments[0] = makeAny(beans::PropertyValue(
A2S("nodepath"),
- 0,
- makeAny(rsRootName),
+ 0,
+ makeAny(rsRootName),
beans::PropertyState_DIRECT_VALUE));
aCreationArguments[1] = makeAny(beans::PropertyValue(
A2S("depth"),
- 0,
+ 0,
makeAny((sal_Int32)-1),
beans::PropertyState_DIRECT_VALUE));
aCreationArguments[2] = makeAny(beans::PropertyValue(
A2S("lazywrite"),
- 0,
+ 0,
makeAny(true),
beans::PropertyState_DIRECT_VALUE));
-
+
OUString sAccessService;
if (eMode == READ_ONLY)
sAccessService = A2S("com.sun.star.configuration.ConfigurationAccess");
@@ -165,11 +165,11 @@ bool PresenterConfigurationAccess::GoToChild (const Predicate& rPredicate)
{
if ( ! IsValid())
return false;
-
+
maNode = Find(Reference<container::XNameAccess>(maNode,UNO_QUERY), rPredicate);
if (Reference<XInterface>(maNode, UNO_QUERY).is())
return true;
-
+
mxRoot = NULL;
return false;
}
@@ -214,7 +214,7 @@ Any PresenterConfigurationAccess::GetConfigurationNode (
::rtl::OUStringToOString(sPathToNode, RTL_TEXTENCODING_UTF8).getStr(),
::rtl::OUStringToOString(rException.Message, RTL_TEXTENCODING_UTF8).getStr());
}
-
+
return Any();
}