diff options
author | Jan Holesovsky <kendy@collabora.com> | 2017-03-23 21:27:18 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-03-24 19:01:53 +0100 |
commit | 5fefac660ae5d978843fd7abbc6db1fce0800566 (patch) | |
tree | 206f056a85470765a643458476ac7bf01d133253 /desktop/inc | |
parent | 125ca372c1d0821139b4c682a02494294b322473 (diff) |
lok: Allow setting of the language during load.
Change-Id: I9dbb62950e639376c26122ceb9fcec2982b3ca82
Diffstat (limited to 'desktop/inc')
-rw-r--r-- | desktop/inc/lib/init.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx index 302f54de5391..c8162c1fea2f 100644 --- a/desktop/inc/lib/init.hxx +++ b/desktop/inc/lib/init.hxx @@ -94,6 +94,11 @@ namespace desktop { return (mOptionalFeatures & feature) != 0; } }; + + /// Helper function to extract the value from parameters delimited by + /// comma, like: Name1=Value1,Name2=Value2,Name3=Value3. + /// @param rOptions When exctacted, the Param=Value is removed from it. + DESKTOP_DLLPUBLIC OUString extractParameter(OUString& aOptions, const OUString& rName); } #endif |