summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-03 16:30:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-04 14:09:46 +0200
commit9bb83eefc1a1dda5c48efc5d09ef4a6840bf8b58 (patch)
treef09264e435c81573515bd9c450738933f6c39584 /include/oox
parent7250d61c28a9467fa17736717b409cefd50867d3 (diff)
use more string_view in oox::vml::ConversionHelper
Change-Id: I8616f608ee4cc62114acb4fbd774796bc11d1911 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133812 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/vml/vmlformatting.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/oox/vml/vmlformatting.hxx b/include/oox/vml/vmlformatting.hxx
index 29d726a2bdba..3f7bbe60a457 100644
--- a/include/oox/vml/vmlformatting.hxx
+++ b/include/oox/vml/vmlformatting.hxx
@@ -57,7 +57,7 @@ namespace ConversionHelper
/** Returns two values contained in rValue separated by cSep.
*/
OOX_DLLPUBLIC bool separatePair(
- OUString& orValue1, OUString& orValue2,
+ std::u16string_view& orValue1, std::u16string_view& orValue2,
std::u16string_view rValue, sal_Unicode cSep );
/** Returns the boolean value from the passed string of a VML attribute.
@@ -75,7 +75,7 @@ namespace ConversionHelper
the value will be divided by 65536.
*/
OOX_DLLPUBLIC double decodePercent(
- const OUString& rValue,
+ std::u16string_view rValue,
double fDefValue );
/** Converts the passed VML rotation value to degrees.
@@ -88,7 +88,7 @@ namespace ConversionHelper
point value will be returned unmodified. If the 'fd' suffix is
present, the value will be divided by 65536.
*/
- OOX_DLLPUBLIC Degree100 decodeRotation( const OUString& rValue );
+ OOX_DLLPUBLIC Degree100 decodeRotation( std::u16string_view rValue );
/** Converts the passed VML measure string to EMU (English Metric Units).
@@ -110,7 +110,7 @@ namespace ConversionHelper
*/
OOX_DLLPUBLIC sal_Int64 decodeMeasureToEmu(
const GraphicHelper& rGraphicHelper,
- const OUString& rValue,
+ std::u16string_view rValue,
sal_Int32 nRefValue,
bool bPixelX,
bool bDefaultAsPixel );
@@ -125,7 +125,7 @@ namespace ConversionHelper
*/
OOX_DLLPUBLIC sal_Int32 decodeMeasureToHmm(
const GraphicHelper& rGraphicHelper,
- const OUString& rValue,
+ std::u16string_view rValue,
sal_Int32 nRefValue,
bool bPixelX,
bool bDefaultAsPixel );
@@ -139,7 +139,7 @@ namespace ConversionHelper
@param bDefaultAsPixel See above.
*/
OOX_DLLPUBLIC sal_Int32 decodeMeasureToTwip(const GraphicHelper& rGraphicHelper,
- const OUString& rValue, sal_Int32 nRefValue,
+ std::u16string_view rValue, sal_Int32 nRefValue,
bool bPixelX, bool bDefaultAsPixel);
/** Converts VML color attributes to a DrawingML color.