summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-07-23 14:32:10 +0200
committerNoel Grandin <noel@peralex.com>2013-07-23 14:58:29 +0200
commit312f3aac56b410021bdf3db70d36b7fe88b3744f (patch)
tree59727fd744135e516105332c58747fa98d093287 /include
parent2fbcff579b54cb1c3148fb1fb20c1c7d42857ec9 (diff)
expand out the U2S and S2U macros from sfxuno.hxx
They are vestiges of the old string classes. Change-Id: I5dd458bd2dac5f2e867ddaa731190f159b8a3b65
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/sfxuno.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sfx2/sfxuno.hxx b/include/sfx2/sfxuno.hxx
index 3dee2babe33c..cab920008ada 100644
--- a/include/sfx2/sfxuno.hxx
+++ b/include/sfx2/sfxuno.hxx
@@ -66,11 +66,6 @@ bool GetEncryptionData_Impl( const SfxItemSet* pSet, css::uno::Sequence< css::be
#define FrameSearchFlags sal_Int32
-// Macros to convert string -> unicode and unicode -> string.
-// We use UTF8 everytime. Its the best way to do this!
-#define S2U(STRING) OStringToOUString(STRING, RTL_TEXTENCODING_UTF8)
-#define U2S(STRING) OUStringToOString(STRING, RTL_TEXTENCODING_UTF8)
-
//________________________________________________________________________________________________________________________
// macros for declaration and definition of uno-services
//________________________________________________________________________________________________________________________