summaryrefslogtreecommitdiffstats
path: root/desktop/inc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-03-23 21:27:18 +0100
committerJan Holesovsky <kendy@collabora.com>2017-03-24 19:01:53 +0100
commit5fefac660ae5d978843fd7abbc6db1fce0800566 (patch)
tree206f056a85470765a643458476ac7bf01d133253 /desktop/inc
parentsw: just remove SwAccesibleContext must-override methods (diff)
downloadcore-5fefac660ae5d978843fd7abbc6db1fce0800566.tar.gz
core-5fefac660ae5d978843fd7abbc6db1fce0800566.zip
lok: Allow setting of the language during load.
Change-Id: I9dbb62950e639376c26122ceb9fcec2982b3ca82
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/lib/init.hxx5
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