summaryrefslogtreecommitdiff
path: root/forms/source/xforms/NameContainer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/NameContainer.hxx')
-rw-r--r--forms/source/xforms/NameContainer.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx
index 76e6449a3b84..7c1b50993dc4 100644
--- a/forms/source/xforms/NameContainer.hxx
+++ b/forms/source/xforms/NameContainer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_XFORMS_NAMECONTAINER_HXX
-#define INCLUDED_FORMS_SOURCE_XFORMS_NAMECONTAINER_HXX
+#pragma once
#include <comphelper/sequence.hxx>
#include <cppuhelper/implbase.hxx>
@@ -101,7 +100,7 @@ public:
typename map_t::const_iterator aIter = findItem( rName );
if( aIter == maItems.end() )
throw css::container::NoSuchElementException();
- return css::uno::makeAny( aIter->second );
+ return css::uno::Any( aIter->second );
}
virtual css::uno::Sequence<OUString> SAL_CALL getElementNames() override
@@ -157,6 +156,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */