summaryrefslogtreecommitdiffstats
path: root/fpicker/source/office/contentenumeration.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/contentenumeration.hxx')
-rw-r--r--fpicker/source/office/contentenumeration.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/fpicker/source/office/contentenumeration.hxx b/fpicker/source/office/contentenumeration.hxx
index bc2180c53c47..d15db4d7a55f 100644
--- a/fpicker/source/office/contentenumeration.hxx
+++ b/fpicker/source/office/contentenumeration.hxx
@@ -22,12 +22,14 @@
#include <sal/config.h>
#include <memory>
+#include <mutex>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <salhelper/thread.hxx>
#include <ucbhelper/content.hxx>
#include <rtl/ustring.hxx>
#include <tools/datetime.hxx>
+#include <utility>
namespace svt
{
@@ -132,8 +134,8 @@ namespace svt
FolderDescriptor() { }
- explicit FolderDescriptor( const OUString& _rURL )
- :sURL( _rURL )
+ explicit FolderDescriptor( OUString _aURL )
+ :sURL(std::move( _aURL ))
{
}
};
@@ -162,7 +164,7 @@ namespace svt
ContentData& m_rContent;
::osl::Mutex& m_rContentMutex;
- mutable ::osl::Mutex m_aMutex;
+ mutable std::mutex m_aMutex;
FolderDescriptor m_aFolder;
css::uno::Reference< css::ucb::XCommandEnvironment >
@@ -172,7 +174,7 @@ namespace svt
css::uno::Sequence< OUString > m_rDenyList;
- bool URLOnDenyList ( const OUString& sRealURL );
+ bool URLOnDenyList ( std::u16string_view sRealURL );
public:
/** constructs an enumerator instance