summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-12 17:51:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-12 17:51:36 +0100
commit9d94148b0429acf77880742c0569bbebddd794f9 (patch)
treec00c90f36e6703c437dc9057ab55cb624633c343 /desktop/source/deployment/inc
parentbca00da68640bb052c1628270ce3924b7228d7b8 (diff)
desktop: Use appropriate OUString functions on string constants
Change-Id: I5791c212a103fe9c2a5376545944a70454b28bdd
Diffstat (limited to 'desktop/source/deployment/inc')
-rw-r--r--desktop/source/deployment/inc/dp_ucb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/deployment/inc/dp_ucb.h b/desktop/source/deployment/inc/dp_ucb.h
index 2b267056fd31..ee68c63ce935 100644
--- a/desktop/source/deployment/inc/dp_ucb.h
+++ b/desktop/source/deployment/inc/dp_ucb.h
@@ -45,8 +45,7 @@ struct DESKTOP_DEPLOYMENTMISC_DLLPUBLIC StrTitle
}
static OUString getTitle( ::ucbhelper::Content &rContent )
{
- return OUString( rContent.getPropertyValue(
- OUString::createFromAscii( "Title" ) ).get<OUString>() );
+ return rContent.getPropertyValue("Title").get<OUString>();
}
// just return titles - the ucbhelper should have a simpler API for this [!]
static css::uno::Reference< css::sdbc::XResultSet >