summaryrefslogtreecommitdiff
path: root/i18npool/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-07 23:50:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-08 12:02:37 +0000
commit5b395625901b1f9c2314a0b9a13f4876a3ae17ce (patch)
tree42f91df0ee35f2a55bac7da11442a4273c32b445 /i18npool/inc
parent14c4c26cea838b3fffb0b17ba440c29a6066fad1 (diff)
de-uno-ize ScriptTypeDetector
leave a UnoScriptTypeDetector implementation that points to the trivial ScriptTypeDetector for external consumers, e.g. sdext
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/unoscripttypedetector.hxx (renamed from i18npool/inc/scripttypedetector.hxx)11
1 files changed, 4 insertions, 7 deletions
diff --git a/i18npool/inc/scripttypedetector.hxx b/i18npool/inc/unoscripttypedetector.hxx
index 301dd6d51a6c..ce06105382d3 100644
--- a/i18npool/inc/scripttypedetector.hxx
+++ b/i18npool/inc/unoscripttypedetector.hxx
@@ -25,8 +25,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef _I18N_SCRIPTTYPEDETECTOR_HXX_
-#define _I18N_SCRIPTTYPEDETECTOR_HXX_
+#ifndef _I18N_UNOSCRIPTTYPEDETECTOR_HXX_
+#define _I18N_UNOSCRIPTTYPEDETECTOR_HXX_
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -34,18 +34,15 @@
#include <cppuhelper/implbase2.hxx> // helper for implementations
// ----------------------------------------------------
-// class ScriptTypeDetector
+// class UnoScriptTypeDetector
// ----------------------------------------------------
-class ScriptTypeDetector : public cppu::WeakImplHelper2
+class UnoScriptTypeDetector : public cppu::WeakImplHelper2
<
::com::sun::star::i18n::XScriptTypeDetector,
::com::sun::star::lang::XServiceInfo
>
{
public:
- ScriptTypeDetector();
- virtual ~ScriptTypeDetector();
-
// Methods
virtual sal_Int32 SAL_CALL beginOfScriptDirection( const ::rtl::OUString& Text, sal_Int32 nPos, sal_Int16 scriptDirection ) throw (::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL endOfScriptDirection( const ::rtl::OUString& Text, sal_Int32 nPos, sal_Int16 scriptDirection ) throw (::com::sun::star::uno::RuntimeException);