summaryrefslogtreecommitdiffstats
path: root/sw/inc/unomid.h
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2010-12-27 09:53:49 +0100
committerDavid Tardon <dtardon@redhat.com>2010-12-27 09:53:49 +0100
commit1d31ed0ef4749f1bc09235fb48408c22678a903f (patch)
treebcd7c6827e5ab3f5c2ce3ec2a96f0ac18a60e833 /sw/inc/unomid.h
parentcppcheck cleaning in writer (diff)
downloadcore-1d31ed0ef4749f1bc09235fb48408c22678a903f.tar.gz
core-1d31ed0ef4749f1bc09235fb48408c22678a903f.zip
RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'sw/inc/unomid.h')
-rw-r--r--sw/inc/unomid.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/unomid.h b/sw/inc/unomid.h
index c7b15f5c59f2..d32ab9d329b7 100644
--- a/sw/inc/unomid.h
+++ b/sw/inc/unomid.h
@@ -29,7 +29,8 @@
#define SW_UNOMID_HXX
#define C2S(cChar) String::CreateFromAscii( cChar )
-#define C2U(cChar) rtl::OUString::createFromAscii( cChar )
+//#define C2U(cChar) rtl::OUString::createFromAscii( cChar )
+#define C2U(cChar) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( cChar ))
#define MID_MIRROR_VERT 0
#define MID_MIRROR_HORZ_EVEN_PAGES 1