summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/newdatatype.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/newdatatype.hxx')
-rw-r--r--extensions/source/propctrlr/newdatatype.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/extensions/source/propctrlr/newdatatype.hxx b/extensions/source/propctrlr/newdatatype.hxx
index 19a88f31c75f..ba4b6fa38269 100644
--- a/extensions/source/propctrlr/newdatatype.hxx
+++ b/extensions/source/propctrlr/newdatatype.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_NEWDATATYPE_HXX
-#define INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_NEWDATATYPE_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -37,7 +36,7 @@ namespace pcr
std::unique_ptr<weld::Entry> m_xName;
std::unique_ptr<weld::Button> m_xOK;
public:
- NewDataTypeDialog(weld::Window* _pParent, const OUString& _rNameBase,
+ NewDataTypeDialog(weld::Window* _pParent, std::u16string_view _rNameBase,
const std::vector< OUString >& _rProhibitedNames );
virtual ~NewDataTypeDialog() override;
@@ -51,6 +50,4 @@ namespace pcr
} // namespace pcr
-#endif // INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_NEWDATATYPE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */