summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/basic/sbstar.hxx2
-rw-r--r--include/codemaker/commonjava.hxx2
-rw-r--r--include/comphelper/stl_types.hxx2
-rw-r--r--include/comphelper/string.hxx2
-rw-r--r--include/connectivity/dbtools.hxx2
-rw-r--r--include/connectivity/filtermanager.hxx2
-rw-r--r--include/oox/core/contexthandler2.hxx2
-rw-r--r--include/oox/dump/dumperbase.hxx2
-rw-r--r--include/oox/ole/vbamodule.hxx2
-rw-r--r--include/sfx2/DocumentMetadataAccess.hxx2
-rw-r--r--include/sfx2/linkmgr.hxx2
-rw-r--r--include/sfx2/lokhelper.hxx2
-rw-r--r--include/svl/zforlist.hxx4
-rw-r--r--include/svl/zformat.hxx2
-rw-r--r--include/xmloff/xmlnumfe.hxx2
-rw-r--r--include/xmloff/xmlnumfi.hxx2
16 files changed, 17 insertions, 17 deletions
diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx
index bdcf167edd49..9c3d02421af9 100644
--- a/include/basic/sbstar.hxx
+++ b/include/basic/sbstar.hxx
@@ -121,7 +121,7 @@ public:
sal_uInt16 nCol1, sal_uInt16 nCol2 );
// Specific to error handler
- static void MakeErrorText( ErrCode, const OUString& aMsg );
+ static void MakeErrorText( ErrCode, std::u16string_view aMsg );
static const OUString& GetErrorText();
static ErrCode const & GetErrorCode();
static sal_uInt16 GetVBErrorCode( ErrCode nError );
diff --git a/include/codemaker/commonjava.hxx b/include/codemaker/commonjava.hxx
index 10d7c28ba576..daac32263cea 100644
--- a/include/codemaker/commonjava.hxx
+++ b/include/codemaker/commonjava.hxx
@@ -31,7 +31,7 @@ namespace rtl { class OString; }
namespace codemaker::java {
rtl::OString translateUnoToJavaType(
- codemaker::UnoType::Sort sort, rtl::OString const & nucleus,
+ codemaker::UnoType::Sort sort, std::string_view nucleus,
bool referenceType);
rtl::OString translateUnoToJavaIdentifier(
diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx
index 983247a84713..5e8a532a60b9 100644
--- a/include/comphelper/stl_types.hxx
+++ b/include/comphelper/stl_types.hxx
@@ -119,7 +119,7 @@ public:
OUStringBufferAppender(OUStringBuffer & i_rBuffer)
: m_rBuffer(&i_rBuffer) { }
- Self & operator=(OUString const & i_rStr)
+ Self & operator=(std::u16string_view i_rStr)
{
m_rBuffer->append( i_rStr );
return *this;
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx
index 3567ce364cac..6e421fa7d1e8 100644
--- a/include/comphelper/string.hxx
+++ b/include/comphelper/string.hxx
@@ -269,7 +269,7 @@ COMPHELPER_DLLPUBLIC OUString convertCommaSeparated(
css::uno::Sequence< OUString > const & i_rSeq);
/// Return a string which is the concatenation of the strings in the sequence.
-COMPHELPER_DLLPUBLIC OString join(const OString& rSeparator, const std::vector<OString>& rSequence);
+COMPHELPER_DLLPUBLIC OString join(std::string_view rSeparator, const std::vector<OString>& rSequence);
/** Convert a decimal string to a number.
diff --git a/include/connectivity/dbtools.hxx b/include/connectivity/dbtools.hxx
index f4f19b66f57e..505228a9931a 100644
--- a/include/connectivity/dbtools.hxx
+++ b/include/connectivity/dbtools.hxx
@@ -770,7 +770,7 @@ namespace dbtools
the buffer to which the comparison predicate will be appended
*/
OOO_DLLPUBLIC_DBTOOLS void getBooleanComparisonPredicate(
- const OUString& _rExpression,
+ std::u16string_view _rExpression,
const bool _bValue,
const sal_Int32 _nBooleanComparisonMode,
OUStringBuffer& _out_rSQLPredicate
diff --git a/include/connectivity/filtermanager.hxx b/include/connectivity/filtermanager.hxx
index af9baef396fe..b6f104aa4037 100644
--- a/include/connectivity/filtermanager.hxx
+++ b/include/connectivity/filtermanager.hxx
@@ -98,7 +98,7 @@ namespace dbtools
/** appends one filter component to the statement in our composer
*/
- static void appendFilterComponent( OUStringBuffer& io_appendTo, const OUString& i_component );
+ static void appendFilterComponent( OUStringBuffer& io_appendTo, std::u16string_view i_component );
/// checks whether there is only one (or even no) non-empty filter component
bool isThereAtMostOneFilterComponent( OUString& o_singleComponent ) const;
diff --git a/include/oox/core/contexthandler2.hxx b/include/oox/core/contexthandler2.hxx
index 872a50697ca1..13b732dec7e5 100644
--- a/include/oox/core/contexthandler2.hxx
+++ b/include/oox/core/contexthandler2.hxx
@@ -187,7 +187,7 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& rxAttribs );
/** Must be called from characters() in derived classes. */
- void implCharacters( const OUString& rChars );
+ void implCharacters( std::u16string_view rChars );
/** Must be called from endFastElement() in derived classes. */
void implEndElement( sal_Int32 nElement );
diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx
index 7b7f4fd9ad8c..81c3a2fcb21e 100644
--- a/include/oox/dump/dumperbase.hxx
+++ b/include/oox/dump/dumperbase.hxx
@@ -316,7 +316,7 @@ public:
// token list -------------------------------------------------------------
- static void appendToken( OUStringBuffer& rStr, const OUString& rToken, sal_Unicode cSep = OOX_DUMP_LISTSEP );
+ static void appendToken( OUStringBuffer& rStr, std::u16string_view rToken, sal_Unicode cSep = OOX_DUMP_LISTSEP );
static void appendIndex( OUStringBuffer& rStr, sal_Int64 nIdx );
diff --git a/include/oox/ole/vbamodule.hxx b/include/oox/ole/vbamodule.hxx
index 85f1f3e37103..b6a615ef6ba6 100644
--- a/include/oox/ole/vbamodule.hxx
+++ b/include/oox/ole/vbamodule.hxx
@@ -79,7 +79,7 @@ private:
/** Creates a new Basic module and inserts it into the passed Basic library. */
void createModule(
- const OUString& rVBASourceCode,
+ std::u16string_view rVBASourceCode,
const css::uno::Reference< css::container::XNameContainer >& rxBasicLib,
const css::uno::Reference< css::container::XNameAccess >& rxDocObjectNA ) const;
diff --git a/include/sfx2/DocumentMetadataAccess.hxx b/include/sfx2/DocumentMetadataAccess.hxx
index 196676671f9d..bcbf9f1b3849 100644
--- a/include/sfx2/DocumentMetadataAccess.hxx
+++ b/include/sfx2/DocumentMetadataAccess.hxx
@@ -67,7 +67,7 @@ createBaseURI(
css::uno::Reference<css::uno::XComponentContext> const & i_xContext,
css::uno::Reference<css::frame::XModel> const & i_xModel,
OUString const & i_rPkgURI,
- OUString const & i_rSubDocument = OUString());
+ std::u16string_view i_rSubDocument = std::u16string_view());
struct DocumentMetadataAccess_Impl;
diff --git a/include/sfx2/linkmgr.hxx b/include/sfx2/linkmgr.hxx
index fcd91ea81f0d..b952e992092b 100644
--- a/include/sfx2/linkmgr.hxx
+++ b/include/sfx2/linkmgr.hxx
@@ -105,7 +105,7 @@ public:
// Connect the links to a pseudo-object and add to the list
void InsertFileLink( sfx2::SvBaseLink&,
SvBaseLinkObjectType nFileType,
- const OUString& rFileNm,
+ std::u16string_view rFileNm,
const OUString* pFilterNm = nullptr,
const OUString* pRange = nullptr );
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx
index 34023d8d8bd3..f10bac147933 100644
--- a/include/sfx2/lokhelper.hxx
+++ b/include/sfx2/lokhelper.hxx
@@ -105,7 +105,7 @@ public:
/// Emits a LOK_CALLBACK_DOCUMENT_SIZE_CHANGED for all views of the same document - if @bInvalidateAll - first invalidates all parts
static void notifyDocumentSizeChangedAllViews(vcl::ITiledRenderable* pDoc, bool bInvalidateAll = true);
/// Emits a LOK_CALLBACK_INVALIDATE_TILES, but tweaks it according to setOptionalFeatures() if needed.
- static void notifyInvalidation(SfxViewShell const* pThisView, const OString& rPayload);
+ static void notifyInvalidation(SfxViewShell const* pThisView, std::string_view rPayload);
/// Emits a LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR, but tweaks it according to setOptionalFeatures() if needed.
static void notifyVisCursorInvalidation(OutlinerViewShell const* pThisView, const OString& rRectangle, bool bMispelledWord = false, const OString& rHyperlink = "");
/// Notifies all views with the given type and payload.
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx
index 405249b5c7ce..fe148e978466 100644
--- a/include/svl/zforlist.hxx
+++ b/include/svl/zforlist.hxx
@@ -360,9 +360,9 @@ public:
/// rSymStr is appended/prepended to rStr, incl. minus sign
static void CompletePositiveFormatString(OUStringBuffer& rStr,
- const OUString& rSymStr, sal_uInt16 nPosiFormat);
+ std::u16string_view rSymStr, sal_uInt16 nPosiFormat);
static void CompleteNegativeFormatString(OUStringBuffer& rStr,
- const OUString& rSymStr, sal_uInt16 nNegaFormat);
+ std::u16string_view rSymStr, sal_uInt16 nNegaFormat);
/** Representation of a currency (symbol position and
negative sign) in other language settings */
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 6ced6b0122ff..543c5967804c 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -242,7 +242,7 @@ public:
bool GetOutputString( double fNumber, sal_uInt16 nCharCount, OUString& rOutString ) const;
bool GetOutputString( double fNumber, OUString& OutString, const Color** ppColor );
- void GetOutputString( const OUString& sString, OUString& OutString, const Color** ppColor );
+ void GetOutputString( std::u16string_view sString, OUString& OutString, const Color** ppColor );
// True if type text
bool IsTextFormat() const { return bool(eType & SvNumFormatType::TEXT); }
diff --git a/include/xmloff/xmlnumfe.hxx b/include/xmloff/xmlnumfe.hxx
index 80388ba758c1..98584ac93873 100644
--- a/include/xmloff/xmlnumfe.hxx
+++ b/include/xmloff/xmlnumfe.hxx
@@ -59,7 +59,7 @@ private:
SAL_DLLPRIVATE void AddStyleAttr_Impl( bool bLong );
SAL_DLLPRIVATE void AddLanguageAttr_Impl( LanguageType nLang );
- SAL_DLLPRIVATE void AddToTextElement_Impl( const OUString& rString );
+ SAL_DLLPRIVATE void AddToTextElement_Impl( std::u16string_view rString );
SAL_DLLPRIVATE void FinishTextElement_Impl(bool bUseExtensionNS = false);
SAL_DLLPRIVATE void WriteColorElement_Impl( const Color& rColor );
diff --git a/include/xmloff/xmlnumfi.hxx b/include/xmloff/xmlnumfi.hxx
index e0f61cc1eec3..1bf6c9228ed6 100644
--- a/include/xmloff/xmlnumfi.hxx
+++ b/include/xmloff/xmlnumfi.hxx
@@ -182,7 +182,7 @@ public:
const LocaleDataWrapper& GetLocaleData() const;
- void AddToCode( const OUString& rString );
+ void AddToCode( std::u16string_view rString );
void AddToCode( sal_Unicode c );
void AddNumber( const SvXMLNumberInfo& rInfo );
void AddCurrency( const OUString& rContent, LanguageType nLang );