summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-18 23:30:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-19 07:09:58 +0100
commit19926ed35ebb623fc896942b1f232b83edf1fc1e (patch)
treee69e925050fe667aa746494126abfa3336ce16fe /reportdesign
parent8f79f590662145b054661846e018a4fc1837db8a (diff)
loplugin:stringview: Flag empty string converted to string view
Change-Id: Idf412dc5f235230512160cb4fb7e1a00baa1cfa7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106085 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/inspection/GeometryHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx b/reportdesign/source/ui/inspection/GeometryHandler.cxx
index d035084a3baf..079812ccb1c9 100644
--- a/reportdesign/source/ui/inspection/GeometryHandler.cxx
+++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx
@@ -2124,7 +2124,7 @@ void GeometryHandler::impl_setCounterFunction_throw()
const OUString sQuotedFunctionName = lcl_getQuotedFunctionName(sFunctionName);
OUString sScope;
if ( !(!sFunctionName.isEmpty() && m_aFunctionNames.find(sQuotedFunctionName) != m_aFunctionNames.end() && impl_isCounterFunction_throw(sQuotedFunctionName,sScope)) )
- impl_createFunction(sFunctionName,OUString(),m_aCounterFunction);
+ impl_createFunction(sFunctionName,{},m_aCounterFunction);
OBlocker aBlocker(m_bIn);
m_xReportComponent->setPropertyValue(PROPERTY_DATAFIELD,uno::makeAny(impl_convertToFormula( uno::makeAny(sQuotedFunctionName))));