summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucbhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/ucbhelper/ucbhelper.cxx')
-rw-r--r--unotools/source/ucbhelper/ucbhelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index 82b869f1940b..efa9e4690603 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -190,7 +190,7 @@ bool utl::UCBContentHelper::GetTitle(
{
assert(title != 0);
try {
- return content(url).getPropertyValue(OUString("Title")) >>= *title;
+ return content(url).getPropertyValue("Title") >>= *title;
} catch (css::uno::RuntimeException const &) {
throw;
} catch (css::ucb::CommandAbortedException const &) {
@@ -296,7 +296,7 @@ bool utl::UCBContentHelper::MakeFolder(
sal_Int64 utl::UCBContentHelper::GetSize(OUString const & url) {
try {
sal_Int64 n = 0;
- bool ok = (content(url).getPropertyValue(OUString("Size")) >>= n);
+ bool ok = (content(url).getPropertyValue("Size") >>= n);
SAL_INFO_IF(
!ok, "unotools.ucbhelper",
"UCBContentHelper::GetSize(" << url