diff options
Diffstat (limited to 'sal/textenc/textenc.cxx')
-rw-r--r-- | sal/textenc/textenc.cxx | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/sal/textenc/textenc.cxx b/sal/textenc/textenc.cxx index 05550a505365..cc226100e58e 100644 --- a/sal/textenc/textenc.cxx +++ b/sal/textenc/textenc.cxx @@ -26,26 +26,28 @@ * ************************************************************************/ +/* TODO! This file should not be called textenc.c, because it is not the + implementation of rtl/textenc.h. Rather, it should be called + gettextencodingdata.c. */ + #include "sal/config.h" #include <cstdlib> -/* TODO! This file should not be called textenc.c, because it is not the - implementation of rtl/textenc.h. Rather, it should be called - gettextencodingdata.c. */ -#include "context.h" -#include "gettextencodingdata.h" -#include "tenchelp.h" -#include "rtl/textenc.h" -#include <sal/macros.h> #include "boost/noncopyable.hpp" #include "osl/diagnose.h" #include "osl/module.hxx" #include "rtl/instance.hxx" +#include "rtl/textenc.h" #include "rtl/ustring.h" #include "rtl/ustring.hxx" +#include "sal/macros.h" #include "sal/types.h" +#include "context.hxx" +#include "gettextencodingdata.hxx" +#include "tenchelp.hxx" + #ifndef INCLUDED_STDDEF_H #include <stddef.h> #define INCLUDED_STDDEF_H @@ -421,7 +423,7 @@ struct FullTextEncodingDataSingleton: } ImplTextEncodingData const * -Impl_getTextEncodingData(rtl_TextEncoding nEncoding) SAL_THROW_EXTERN_C() +Impl_getTextEncodingData(rtl_TextEncoding nEncoding) { switch(nEncoding) { |