summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updatecheck.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index b6d32179ac49..4a8017a2d805 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <string_view>
+
#include <comphelper/scopeguard.hxx>
#include <config_folders.h>
@@ -102,9 +106,9 @@ OUString getBaseInstallation()
#endif
-bool isObsoleteUpdateInfo(const OUString& rBuildId)
+bool isObsoleteUpdateInfo(std::u16string_view rBuildId)
{
- return rBuildId != getBuildId() && !rBuildId.isEmpty();
+ return rBuildId != getBuildId() && !rBuildId.empty();
}