From 54a908a003db858874d85ca528983882e85e5c2e Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Mon, 4 Jun 2012 23:25:40 +0900 Subject: nuke unused defines Change-Id: I7924da4bff73ca8f82c76eb8cb211401530acdeb --- pyuno/source/module/pyuno.cxx | 2 -- pyuno/source/module/pyuno_util.cxx | 1 - 2 files changed, 3 deletions(-) (limited to 'pyuno') diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index 827c0a388b2f..f9bcc612bc64 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -38,8 +38,6 @@ #include #include -#define TO_ASCII(x) OUStringToOString( x , RTL_TEXTENCODING_ASCII_US).getStr() - using rtl::OStringBuffer; using rtl::OUStringBuffer; using rtl::OUStringToOString; diff --git a/pyuno/source/module/pyuno_util.cxx b/pyuno/source/module/pyuno_util.cxx index ae645a7c32e4..06a22982e7c7 100644 --- a/pyuno/source/module/pyuno_util.cxx +++ b/pyuno/source/module/pyuno_util.cxx @@ -60,7 +60,6 @@ using com::sun::star::lang::XSingleServiceFactory; using com::sun::star::script::XTypeConverter; using com::sun::star::beans::XMaterialHolder; -#define USTR_ASCII(x) OUString( RTL_CONSTASCII_USTRINGPARAM( x ) ) namespace pyuno { PyRef ustring2PyUnicode( const OUString & str ) -- cgit