summaryrefslogtreecommitdiff
path: root/vcl/inc/vcl/unohelp.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-14 20:56:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-15 15:52:04 +0000
commit7aae1678ec974220f0f245d731f201054ccbc1df (patch)
tree01921760e68bd66d6f693697ea2233d74c5140be /vcl/inc/vcl/unohelp.hxx
parent6b0733a00b1b038fe20072984c87233c891660c8 (diff)
use Natural sort as default sort for listboxes, etc.
Diffstat (limited to 'vcl/inc/vcl/unohelp.hxx')
-rw-r--r--vcl/inc/vcl/unohelp.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/inc/vcl/unohelp.hxx b/vcl/inc/vcl/unohelp.hxx
index d1640e1bf20d..823ee477355a 100644
--- a/vcl/inc/vcl/unohelp.hxx
+++ b/vcl/inc/vcl/unohelp.hxx
@@ -54,6 +54,11 @@ namespace accessibility {
}
}}}
+namespace comphelper {
+ namespace string {
+ class NaturalStringSorter;
+}}
+
namespace vcl
{
namespace unohelper
@@ -61,7 +66,8 @@ namespace unohelper
VCL_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > GetMultiServiceFactory();
VCL_DLLPUBLIC ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XBreakIterator > CreateBreakIterator();
VCL_DLLPUBLIC ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XCharacterClassification> CreateCharacterClassification();
-VCL_DLLPUBLIC ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XCollator > CreateCollator();
+//Get access to singleton Natural String Sorter collating for Application::GetLocale
+VCL_DLLPUBLIC const comphelper::string::NaturalStringSorter& getNaturalStringSorterForAppLocale();
VCL_DLLPUBLIC ::rtl::OUString CreateLibraryName( const sal_Char* pModName, sal_Bool bSUPD );
VCL_DLLPUBLIC void NotifyAccessibleStateEventGlobally( const ::com::sun::star::accessibility::AccessibleEventObject& rEventObject );
}} // namespace vcl::unohelper