summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2017-05-02 13:04:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 08:39:18 +0200
commit1fdb0e1897b063c7a0f29ed5a0de440ea057b2ed (patch)
treec3b81991090cefd9468fe0d3dced9da6fb073971 /sc/source
parent0025fc13d805751f8eeb14febbdd0033e0a6d91e (diff)
Replace all OUString("") with OUString()
Change-Id: Ie14c4d76cb61cfbe0410103adfc1afc8ade0f3e0 Reviewed-on: https://gerrit.libreoffice.org/37146 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/dptabsrc.cxx4
-rw-r--r--sc/source/filter/orcus/filterdetect.cxx2
-rw-r--r--sc/source/ui/condformat/condformathelper.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index 1c4149060ff4..bf1bad34664c 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -1622,9 +1622,9 @@ uno::Any SAL_CALL ScDPDimension::getPropertyValue( const OUString& aPropertyName
aRet <<= uno::Sequence<sheet::TableFilterField>(0);
}
else if (aPropertyName == SC_UNO_DP_LAYOUTNAME)
- aRet <<= mpLayoutName.get() ? *mpLayoutName : OUString("");
+ aRet <<= mpLayoutName.get() ? *mpLayoutName : OUString();
else if (aPropertyName == SC_UNO_DP_FIELD_SUBTOTALNAME)
- aRet <<= mpSubtotalName.get() ? *mpSubtotalName : OUString("");
+ aRet <<= mpSubtotalName.get() ? *mpSubtotalName : OUString();
else if (aPropertyName == SC_UNO_DP_HAS_HIDDEN_MEMBER)
aRet <<= mbHasHiddenMember;
else if (aPropertyName == SC_UNO_DP_FLAGS)
diff --git a/sc/source/filter/orcus/filterdetect.cxx b/sc/source/filter/orcus/filterdetect.cxx
index 5c8c80b190d1..d32c84380afe 100644
--- a/sc/source/filter/orcus/filterdetect.cxx
+++ b/sc/source/filter/orcus/filterdetect.cxx
@@ -46,7 +46,7 @@ OrcusFormatDetect::OrcusFormatDetect()
OUString OrcusFormatDetect::getImplementationName()
{
- return OUString("");
+ return OUString();
}
sal_Bool OrcusFormatDetect::supportsService(const OUString& /*rServiceName*/)
diff --git a/sc/source/ui/condformat/condformathelper.cxx b/sc/source/ui/condformat/condformathelper.cxx
index 12b4e00440a0..0935b05648ff 100644
--- a/sc/source/ui/condformat/condformathelper.cxx
+++ b/sc/source/ui/condformat/condformathelper.cxx
@@ -33,7 +33,7 @@ OUString getTextForType(ScCondFormatEntryType eType)
break;
}
- return OUString("");
+ return OUString();
}
OUString getExpression(sal_Int32 nIndex)