summaryrefslogtreecommitdiff
path: root/pyuno/source/module
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-06-04 23:25:40 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-06-04 23:26:57 +0900
commit54a908a003db858874d85ca528983882e85e5c2e (patch)
tree70ab2d33ee0073b5629e37ec068d4dfcc34eacaf /pyuno/source/module
parent47e0df5cebc05576e55210c5dd408a6f3eb91700 (diff)
nuke unused defines
Change-Id: I7924da4bff73ca8f82c76eb8cb211401530acdeb
Diffstat (limited to 'pyuno/source/module')
-rw-r--r--pyuno/source/module/pyuno.cxx2
-rw-r--r--pyuno/source/module/pyuno_util.cxx1
2 files changed, 0 insertions, 3 deletions
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 <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XMaterialHolder.hpp>
-#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 )