summaryrefslogtreecommitdiff
path: root/sdext/source/presenter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-24 11:22:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-28 10:17:47 +0000
commit198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac (patch)
tree041d55126e9770b81f68fadfaaa69e82313786b3 /sdext/source/presenter
parentd3981b3e8c021ee03a2ca7103a73e56cca18df81 (diff)
new loplugin unoany
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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;
}