summaryrefslogtreecommitdiff
path: root/UnoControls/source/controls/progressmonitor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls/source/controls/progressmonitor.cxx')
-rw-r--r--UnoControls/source/controls/progressmonitor.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx
index 905213b1e8e5..cabbdc1e4204 100644
--- a/UnoControls/source/controls/progressmonitor.cxx
+++ b/UnoControls/source/controls/progressmonitor.cxx
@@ -831,21 +831,21 @@ IMPL_TextlistItem* ProgressMonitor::impl_searchTopic ( const OUString& rTopic, b
// addText, updateText
bool ProgressMonitor::impl_debug_checkParameter (
- const OUString& rTopic,
- const OUString& rText
+ std::u16string_view rTopic,
+ std::u16string_view rText
) {
- if ( rTopic.isEmpty() ) return false; // ""
+ if ( rTopic.empty() ) return false; // ""
- if ( rText.isEmpty() ) return false; // ""
+ if ( rText.empty() ) return false; // ""
// Parameter OK ... return true.
return true;
}
// removeText
-bool ProgressMonitor::impl_debug_checkParameter ( const OUString& rTopic )
+bool ProgressMonitor::impl_debug_checkParameter ( std::u16string_view rTopic )
{
- if ( rTopic.isEmpty() ) return false; // ""
+ if ( rTopic.empty() ) return false; // ""
// Parameter OK ... return true.
return true;