summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-01-27 09:51:58 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-02-06 12:03:25 +0100
commit094f92bb789ecd24793c5843bfae13e79122fc5a (patch)
treee0bcb505f942a7f323cdbc9419eede5723165f5c /linguistic
parenta315454f349469923490e4116806ee19263849b8 (diff)
Introduce com.sun.star.util.thePathSettings singleton.
To replace single-instance com.sun.star.util.PathSettings service, incorrectly converted in 89b0017b22889af6a8afe28b94c06e7095dc8c6f Keeping util::PathSettings::create in sc/source/ui/vba/vbaapplication.cxx because for some reason util::thePathSettings::get does not work in sc_macros_test while testing sc/qa/extras/testdocuments/Ranges.xls. Change-Id: I75b68ae56ac5b58f72416070dba100ab3ab70fe8
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/misc2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/misc2.cxx b/linguistic/source/misc2.cxx
index abb8e3b393b7..02421495a80e 100644
--- a/linguistic/source/misc2.cxx
+++ b/linguistic/source/misc2.cxx
@@ -30,7 +30,7 @@
#include <com/sun/star/beans/PropertyValues.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Reference.h>
-#include <com/sun/star/util/PathSettings.hpp>
+#include <com/sun/star/util/thePathSettings.hpp>
#include "linguistic/misc.hxx"
@@ -77,7 +77,7 @@ static uno::Sequence< OUString > GetMultiPaths_Impl(
OUString aWriteable( rPathPrefix + "_writable" );
uno::Reference< util::XPathSettings > xPathSettings =
- util::PathSettings::create( xContext );
+ util::thePathSettings::get( xContext );
xPathSettings->getPropertyValue( aInternal ) >>= aInternalPaths;
xPathSettings->getPropertyValue( aUser ) >>= aUserPaths;
xPathSettings->getPropertyValue( aWriteable ) >>= aWritablePath;