diff options
Diffstat (limited to 'fpicker/source/office/fpdialogbase.hxx')
-rw-r--r-- | fpicker/source/office/fpdialogbase.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/fpicker/source/office/fpdialogbase.hxx b/fpicker/source/office/fpdialogbase.hxx index 21a8302549d0..60205695b719 100644 --- a/fpicker/source/office/fpdialogbase.hxx +++ b/fpicker/source/office/fpdialogbase.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_FPDIALOGBASE_HXX -#define INCLUDED_FPICKER_SOURCE_OFFICE_FPDIALOGBASE_HXX +#pragma once #include <vcl/weld.hxx> #include <com/sun/star/beans/StringPair.hpp> @@ -53,14 +52,14 @@ namespace o3tl { template<> struct typed_flags<PickerFlags> : is_typed_flags<PickerFlags, 0x00ffff> {}; } -#define FILEDIALOG_FILTER_ALL "*.*" +inline constexpr OUString FILEDIALOG_FILTER_ALL = u"*.*"_ustr; // SvtFileDialog_Base class SvtFileDialog_Base : public weld::GenericDialogController, public ::svt::IFilePickerController { public: - SvtFileDialog_Base(weld::Window* pParent, const OUString& rUIXMLDescription, const OString& rID) + SvtFileDialog_Base(weld::Window* pParent, const OUString& rUIXMLDescription, const OUString& rID) : weld::GenericDialogController(pParent, rUIXMLDescription, rID) { } @@ -110,6 +109,4 @@ public: #define DIALOG_SIZE_CHANGED 5 -#endif // INCLUDED_FPICKER_SOURCE_OFFICE_IODLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |