summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-05 11:48:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-05 12:22:17 +0100
commit059cc67245a4f0a62589a0c877aea85e8859c435 (patch)
treed3633336b040ecdd35911421503d2b3beb818c1b /svtools
parentb38629ae210b204a6d24d6e9c5c62eaaf563d494 (diff)
Remove obsolete SEQTYPE workaround
Change-Id: I366b29038be034b03a16fa6d7f6873dc78d8d88f
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/unoimap.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx
index d128c9f86752..ad57fccc693c 100644
--- a/svtools/source/uno/unoimap.cxx
+++ b/svtools/source/uno/unoimap.cxx
@@ -42,14 +42,6 @@
#include <svtools/imaprect.hxx>
#include <svtools/imappoly.hxx>
-#ifndef SEQTYPE
- #if defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)
- #define SEQTYPE(x) (new ::com::sun::star::uno::Type( x ))
- #else
- #define SEQTYPE(x) &(x)
- #endif
-#endif
-
#define MAP_LEN(x) x, sizeof(x)-1
@@ -148,7 +140,7 @@ PropertySetInfo* SvUnoImageMapObject::createPropertySetInfo( sal_uInt16 nType )
{ MAP_LEN( "Target" ), HANDLE_TARGET, &::getCppuType((const OUString*)0), 0, 0 },
{ MAP_LEN( "Name" ), HANDLE_NAME, &::getCppuType((const OUString*)0), 0, 0 },
{ MAP_LEN( "IsActive" ), HANDLE_ISACTIVE, &::getBooleanCppuType(), 0, 0 },
- { MAP_LEN( "Polygon" ), HANDLE_POLYGON, SEQTYPE(::getCppuType((const PointSequence*)0)), 0, 0 },
+ { MAP_LEN( "Polygon" ), HANDLE_POLYGON, &::getCppuType((const PointSequence*)0), 0, 0 },
{0,0,0,0,0,0}
};