Kaydet (Commit) 3b328186 authored tarafından Takeshi Abe's avatar Takeshi Abe

removed unused defines

Change-Id: I892902a8a4c6c01092d53019bc8a1b3f88667a4f
üst d50f02be
......@@ -81,14 +81,6 @@ using rtl::OUString;
#define NUM_PAGETYPE_SINGLENUM 1
#define NUM_PAGETYPE_NUM 2
#define NUM_PAGETYPE_BMP 3
#define PAGETYPE_USER_START 10
#define SHOW_NUMBERING 0
#define SHOW_BULLET 1
#define SHOW_BITMAP 2
#define MAX_BMP_WIDTH 16
#define MAX_BMP_HEIGHT 16
static const sal_Char cNumberingType[] = "NumberingType";
static const sal_Char cValue[] = "Value";
......
......@@ -85,8 +85,6 @@
#include <svx/sdr/contact/viewcontactofe3dscene.hxx>
#include <svx/e3dsceneupdater.hxx>
#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
//////////////////////////////////////////////////////////////////////////////
using namespace com::sun::star;
......
......@@ -43,8 +43,6 @@
#include <svx/xtable.hxx>
#include <svx/xlnwtit.hxx>
#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TYPEINIT1(E3dPolyScene, E3dScene);
......
......@@ -55,8 +55,6 @@
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <svx/e3dsceneupdater.hxx>
#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
//////////////////////////////////////////////////////////////////////////////
class ImpRemap3DDepth
......
......@@ -191,9 +191,6 @@ static rtl::OUString Smartify( const rtl::OUString &rPath )
return aURL.GetMainURL( INetURLObject::NO_DECODE );
}
#define OUSTRING_CSTR( str ) \
rtl::OUStringToOString( str, RTL_TEXTENCODING_ASCII_US ).getStr()
void GalApp::Init()
{
if( getenv( "OOO_INSTALL_PREFIX" ) == NULL ) {
......
......@@ -50,17 +50,13 @@
#define RECOVERY_CMDPART_PROTOCOL rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:"))
#define RECOVERY_CMDPART_DO_PREPARE_EMERGENCY_SAVE rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doPrepareEmergencySave" ))
#define RECOVERY_CMDPART_DO_EMERGENCY_SAVE rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doEmergencySave" ))
#define RECOVERY_CMDPART_DO_RECOVERY rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doAutoRecovery" ))
#define RECOVERY_CMDPART_DO_CRASHREPORT rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doCrashReport" ))
#define RECOVERY_CMDPART_DO_ENTRY_BACKUP rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doEntryBackup" ))
#define RECOVERY_CMDPART_DO_ENTRY_CLEANUP rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/doEntryCleanUp" ))
#define RECOVERY_CMD_DO_PREPARE_EMERGENCY_SAVE rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doPrepareEmergencySave"))
#define RECOVERY_CMD_DO_EMERGENCY_SAVE rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doEmergencySave" ))
#define RECOVERY_CMD_DO_RECOVERY rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doAutoRecovery" ))
#define RECOVERY_CMD_DO_CRASHREPORT rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doCrashReport" ))
#define RECOVERY_CMD_DO_ENTRY_BACKUP rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doEntryBackup" ))
#define RECOVERY_CMD_DO_ENTRY_CLEANUP rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.autorecovery:/doEntryCleanUp" ))
......
......@@ -40,14 +40,6 @@ class FmFormShell;
class FmFormPage;
class SvLBoxEntry;
//========================================================================
// Exchange types
#define SVX_FM_FIELD_EXCH String("SvxFormFieldExch", sizeof("SvxFormFieldExch"))
#define SVX_FM_CONTROL_EXCH String("SvxFormExplCtrlExch", sizeof("SvxFormExplCtrlExch"))
#define SVX_FM_CONTROLS_AS_PATH String("SvxFormControlsAsPathExchange", sizeof("SvxFormControlsAsPathExchange"))
#define SVX_FM_HIDDEN_CONTROLS String("SvxFormHiddenControlsExchange", sizeof("SvxFormHiddenControlsExchange"))
#define SVX_FM_FILTER_FIELDS String("SvxFilterFieldExchange", sizeof("SvxFilterFieldExchange"))
//========================================================================
class SvTreeListBox;
......
......@@ -29,7 +29,6 @@
#ifndef _SVX_FMURL_HXX
#define _SVX_FMURL_HXX
#define FMURL_FORMSLOTS_PREFIX rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FormController/" ) )
#define FMURL_FORM_POSITION rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FormController/positionForm" ) )
#define FMURL_FORM_RECORDCOUNT rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FormController/RecordCount" ) )
#define FMURL_RECORD_MOVEFIRST rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FormController/moveToFirst" ) )
......
......@@ -34,8 +34,6 @@
#include <svx/svdpagv.hxx>
#include <svx/svdview.hxx>
#define ALL_GHOSTED_DRAWMODES (DRAWMODE_GHOSTEDLINE|DRAWMODE_GHOSTEDFILL|DRAWMODE_GHOSTEDTEXT|DRAWMODE_GHOSTEDBITMAP|DRAWMODE_GHOSTEDGRADIENT)
//////////////////////////////////////////////////////////////////////////////
namespace sdr
......
......@@ -51,10 +51,6 @@
//////////////////////////////////////////////////////////////////////////////
#define PAPER_SHADOW(SIZE) (SIZE >> 8)
//////////////////////////////////////////////////////////////////////////////
namespace sdr
{
namespace contact
......
......@@ -57,23 +57,6 @@ using namespace ::com::sun::star::lang;
// STATIC DATA -----------------------------------------------------------
#define RESIZE_VALUE_POPUP(value_set) \
{ \
Size aSize = GetOutputSizePixel(); \
aSize.Width() -= 4; \
aSize.Height() -= 4; \
(value_set).SetPosSizePixel( Point(2,2), aSize ); \
}
#define CALCSIZE_VALUE_POPUP(value_set,item_size) \
{ \
Size aSize = (value_set).CalcWindowSizePixel( (item_size) ); \
aSize.Width() += 4; \
aSize.Height() += 4; \
SetOutputSizePixel( aSize ); \
}
SFX_IMPL_TOOLBOX_CONTROL( SvxLineStyleToolBoxControl, XLineStyleItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxLineWidthToolBoxControl, XLineWidthItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxLineColorToolBoxControl, XLineColorItem );
......
......@@ -34,8 +34,6 @@
#include <vcl/bmpacc.hxx>
#include <tools/debug.hxx>
#define IMAGE_COL_TRANSPARENT COL_LIGHTMAGENTA
//........................................................................
namespace svx
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment