summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewse.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2009-07-13 11:08:01 +0000
committerThomas Lange <tl@openoffice.org>2009-07-13 11:08:01 +0000
commite3aa4b58f6221e65564941688db6a38182ff92c8 (patch)
tree97e70cf621d490d470ad82dfd05afeacf3f0ef47 /sd/source/ui/view/drviewse.cxx
parentf497764a0cd5a0fb1cf71b9d09331586ee73de1b (diff)
#i1601# sentence case transliteration
Diffstat (limited to 'sd/source/ui/view/drviewse.cxx')
-rw-r--r--sd/source/ui/view/drviewse.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 0b3ecf1af6e7..725a7fb4ad27 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -34,7 +34,9 @@
#include <com/sun/star/presentation/XPresentation2.hpp>
#include <com/sun/star/form/FormButtonType.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/i18n/TransliterationModules.hdl>
+#include <com/sun/star/i18n/TransliterationModules.hpp>
+#include <com/sun/star/i18n/TransliterationModulesExtra.hpp>
+
#include <comphelper/processfactory.hxx>
@@ -1388,6 +1390,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
case SID_TRANSLITERATE_UPPER:
case SID_TRANSLITERATE_LOWER:
+ case SID_TRANSLITERATE_SENTENCE_CASE:
case SID_TRANSLITERATE_HALFWIDTH:
case SID_TRANSLITERATE_FULLWIDTH:
case SID_TRANSLITERATE_HIRAGANA:
@@ -1407,6 +1410,9 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
case SID_TRANSLITERATE_LOWER:
nType = TransliterationModules_UPPERCASE_LOWERCASE;
break;
+ case SID_TRANSLITERATE_SENTENCE_CASE:
+ nType = TransliterationModulesExtra::SENTENCE_CASE;
+ break;
case SID_TRANSLITERATE_HALFWIDTH:
nType = TransliterationModules_FULLWIDTH_HALFWIDTH;
break;