summaryrefslogtreecommitdiff
path: root/sdext/source/presenter
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter')
-rw-r--r--sdext/source/presenter/PresenterConfigurationAccess.cxx12
-rw-r--r--sdext/source/presenter/PresenterWindowManager.cxx6
2 files changed, 9 insertions, 9 deletions
diff --git a/sdext/source/presenter/PresenterConfigurationAccess.cxx b/sdext/source/presenter/PresenterConfigurationAccess.cxx
index 2ad9c1269581..23867f4bc931 100644
--- a/sdext/source/presenter/PresenterConfigurationAccess.cxx
+++ b/sdext/source/presenter/PresenterConfigurationAccess.cxx
@@ -46,21 +46,21 @@ PresenterConfigurationAccess::PresenterConfigurationAccess (
if (rxContext.is())
{
Sequence<Any> aCreationArguments(3);
- aCreationArguments[0] = makeAny(beans::PropertyValue(
+ aCreationArguments[0] <<= beans::PropertyValue(
"nodepath",
0,
makeAny(rsRootName),
- beans::PropertyState_DIRECT_VALUE));
- aCreationArguments[1] = makeAny(beans::PropertyValue(
+ beans::PropertyState_DIRECT_VALUE);
+ aCreationArguments[1] <<= beans::PropertyValue(
"depth",
0,
makeAny((sal_Int32)-1),
- beans::PropertyState_DIRECT_VALUE));
- aCreationArguments[2] = makeAny(beans::PropertyValue(
+ beans::PropertyState_DIRECT_VALUE);
+ aCreationArguments[2] <<= beans::PropertyValue(
"lazywrite",
0,
makeAny(true),
- beans::PropertyState_DIRECT_VALUE));
+ beans::PropertyState_DIRECT_VALUE);
OUString sAccessService;
if (eMode == READ_ONLY)
diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx
index 2e56f5bdc414..749e8a58d08a 100644
--- a/sdext/source/presenter/PresenterWindowManager.cxx
+++ b/sdext/source/presenter/PresenterWindowManager.cxx
@@ -539,15 +539,15 @@ void PresenterWindowManager::StoreViewMode (const ViewMode eViewMode)
{
default:
case VM_Standard:
- aValue = Any(sal_Int32(0));
+ aValue <<= sal_Int32(0);
break;
case VM_Notes:
- aValue = Any(sal_Int32(1));
+ aValue <<= sal_Int32(1);
break;
case VM_SlideOverview:
- aValue = Any(sal_Int32(2));
+ aValue <<= sal_Int32(2);
break;
}