summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/formmetadata.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/formmetadata.hxx')
-rw-r--r--extensions/source/propctrlr/formmetadata.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx
index f72266712eab..c2c297740b01 100644
--- a/extensions/source/propctrlr/formmetadata.hxx
+++ b/extensions/source/propctrlr/formmetadata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_FORMMETADATA_HXX
-#define INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_FORMMETADATA_HXX
+#pragma once
#include "propertyinfo.hxx"
#include "enumrepresentation.hxx"
@@ -36,7 +35,7 @@ namespace pcr
class OPropertyInfoService final
:public IPropertyInfoService
{
- static sal_uInt16 s_nCount;
+ static std::size_t s_nCount;
static OPropertyInfoImpl* s_pPropertyInfos;
// TODO: a real structure which allows quick access by name as well as by id
@@ -44,7 +43,7 @@ namespace pcr
// IPropertyInfoService
virtual sal_Int32 getPropertyId(const OUString& _rName) const override;
virtual OUString getPropertyTranslation(sal_Int32 _nId) const override;
- virtual OString getPropertyHelpId(sal_Int32 _nId) const override;
+ virtual OUString getPropertyHelpId(sal_Int32 _nId) const override;
virtual sal_Int16 getPropertyPos(sal_Int32 _nId) const override;
virtual sal_uInt32 getPropertyUIFlags(sal_Int32 _nId) const override;
virtual std::vector< OUString > getPropertyEnumRepresentations(sal_Int32 _nId) const override;
@@ -343,6 +342,4 @@ namespace pcr
} // namespace pcr
-#endif // INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_FORMMETADATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */