diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-09-07 17:11:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-09-30 11:49:22 +0200 |
commit | 89de6ba4c65c8709e32fe636ff743d914cf56225 (patch) | |
tree | e74c324223f4a8e9550fe778893a7e98a82490c7 /sw | |
parent | c1df0ce01b441ffa3e6238d93e49532620a1fc93 (diff) |
Introduce ASCII case conversion and use more/rtl/character.hxx.
Also remove all others implementations.
Change-Id: I1dc108a9103f087bd8ce591dff2ac5dd254746f8
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/sidebar/PageSizeControl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/sidebar/PageSizeControl.cxx b/sw/source/ui/sidebar/PageSizeControl.cxx index 1c507bf61ed0..f913d8f725a0 100644 --- a/sw/source/ui/sidebar/PageSizeControl.cxx +++ b/sw/source/ui/sidebar/PageSizeControl.cxx @@ -26,7 +26,7 @@ #include <svx/sidebar/ValueSetWithTextControl.hxx> -#include <tools/inetmime.hxx> +#include <rtl/character.hxx> #include <editeng/paperinf.hxx> #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> @@ -71,7 +71,7 @@ PageSizeControl::PageSizeControl( for (short i = aText.getLength() - 1; i >= 0; i--) { sal_Unicode c = aText[i]; - if ( INetMIME::isAlpha(c) || (c == '\'') || (c == '\"') || (c == '%') ) + if ( rtl::isAsciiAlpha(c) || (c == '\'') || (c == '\"') || (c == '%') ) { aMetricStr = OUString(c) + aMetricStr; } |