[Libreoffice-commits] .: 2 commits - basctl/source cui/source svx/source
Takeshi Abe
tabe at kemper.freedesktop.org
Thu Apr 19 10:06:12 PDT 2012
basctl/source/basicide/bastypes.cxx | 2 --
basctl/source/basicide/macrodlg.hxx | 2 --
basctl/source/dlged/propbrw.cxx | 5 -----
cui/source/customize/cfgutil.cxx | 6 ------
cui/source/dialogs/SpellDialog.cxx | 1 -
cui/source/dialogs/cuigaldlg.cxx | 7 -------
cui/source/dialogs/cuiimapwnd.cxx | 2 --
cui/source/dialogs/linkdlg.cxx | 5 -----
cui/source/inc/scriptdlg.hxx | 6 ------
svx/source/form/fmPropBrw.cxx | 6 ------
svx/source/form/tabwin.cxx | 6 ------
11 files changed, 48 deletions(-)
New commits:
commit ac7f7b04627c9ee8321b1696fa609d9632763b8b
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Fri Apr 20 01:56:39 2012 +0900
removed unused defines
diff --git a/basctl/source/basicide/macrodlg.hxx b/basctl/source/basicide/macrodlg.hxx
index ef4f3bf..ee4ce3e 100644
--- a/basctl/source/basicide/macrodlg.hxx
+++ b/basctl/source/basicide/macrodlg.hxx
@@ -42,8 +42,6 @@
#define MACRO_OK_RUN 11
#define MACRO_NEW 12
#define MACRO_EDIT 14
-#define MACRO_ORGANIZE 15
-#define MACRO_ASSIGN 16
#define MACROCHOOSER_ALL 1
#define MACROCHOOSER_CHOOSEONLY 2
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index fe1e39d..200cd39 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -79,7 +79,6 @@ using namespace ::com::sun::star::linguistic2;
using ::rtl::OUString;
-#define C2U(cChar) ::rtl::OUString::createFromAscii(cChar)
// struct SpellDialog_Impl ---------------------------------------------
struct SpellDialog_Impl
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index fd80ad3..9c14228 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -73,13 +73,6 @@ using namespace ::com::sun::star::ucb;
using namespace ::com::sun::star::ui::dialogs;
using namespace ::com::sun::star::uno;
-
-// -----------
-// - Defines -
-// -----------
-
-#define MAXPATH 1024
-
// ----------------
// - SearchThread -
// ----------------
diff --git a/cui/source/dialogs/cuiimapwnd.cxx b/cui/source/dialogs/cuiimapwnd.cxx
index f04dc99..bdaef5f 100644
--- a/cui/source/dialogs/cuiimapwnd.cxx
+++ b/cui/source/dialogs/cuiimapwnd.cxx
@@ -53,8 +53,6 @@
#include <sot/formats.hxx>
-#define TRANSCOL Color( COL_WHITE )
-
/*************************************************************************
|*
|* URLDlg
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index 11c714a..b61e721 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -53,11 +53,6 @@
#include <svl/svstdarr.hxx>
-#define MAX_FILENAME 18
-#define MAX_LINKNAME 18
-#define MAX_TYPENAME 15
-#define MAX_UPDATENAME 10
-
#define FILEOBJECT ( OBJECT_CLIENT_FILE & ~OBJECT_CLIENT_SO )
using namespace sfx2;
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx
index 394f289..c347063 100644
--- a/cui/source/inc/scriptdlg.hxx
+++ b/cui/source/inc/scriptdlg.hxx
@@ -51,12 +51,6 @@
#define OBJTYPE_SCRIPTCONTAINER 3L
#define OBJTYPE_SFROOT 4L
-#define BROWSEMODE_MODULES 0x01
-#define BROWSEMODE_SUBS 0x02
-#define BROWSEMODE_OBJS 0x04
-#define BROWSEMODE_PROPS 0x08
-#define BROWSEMODE_SUBOBJS 0x10
-
#define INPUTMODE_NEWLIB 1
#define INPUTMODE_NEWMACRO 2
#define INPUTMODE_RENAME 3
commit 3f7c2623633ccce76cb5523d9dc2a268226b34ab
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Fri Apr 20 01:56:13 2012 +0900
removed unused const/static data
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index cde8bdc..eb079eb 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -52,8 +52,6 @@ using ::std::vector;
DBG_NAME( IDEBaseWindow )
-const char* pRegName = "BasicIDETabBar";
-
TYPEINIT0( IDEBaseWindow )
TYPEINIT1( SbxItem, SfxPoolItem );
diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx
index 4e1f90f..3dddfbc 100644
--- a/basctl/source/dlged/propbrw.cxx
+++ b/basctl/source/dlged/propbrw.cxx
@@ -102,12 +102,7 @@ const long STD_WIN_SIZE_Y = 350;
const long STD_MIN_SIZE_X = 250;
const long STD_MIN_SIZE_Y = 250;
-const long STD_WIN_POS_X = 50;
-const long STD_WIN_POS_Y = 50;
const long WIN_BORDER = 2;
-const long MIN_WIN_SIZE_X = 50;
-const long MIN_WIN_SIZE_Y = 50;
-
DBG_NAME(PropBrw)
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index 932b1fb..bb3e085 100644
--- a/cui/source/customize/cfgutil.cxx
+++ b/cui/source/customize/cfgutil.cxx
@@ -87,12 +87,6 @@ void SfxStylesInfo_Impl::setModel(const ::com::sun::star::uno::Reference< ::com:
m_xDoc = xModel;
}
-static ::rtl::OUString FAMILY_CHARACTERSTYLE (RTL_CONSTASCII_USTRINGPARAM("CharacterStyles") );
-static ::rtl::OUString FAMILY_PARAGRAPHSTYLE (RTL_CONSTASCII_USTRINGPARAM("ParagraphStyles") );
-static ::rtl::OUString FAMILY_FRAMESTYLE (RTL_CONSTASCII_USTRINGPARAM("FrameStyles" ) );
-static ::rtl::OUString FAMILY_PAGESTYLE (RTL_CONSTASCII_USTRINGPARAM("PageStyles" ) );
-static ::rtl::OUString FAMILY_NUMBERINGSTYLE (RTL_CONSTASCII_USTRINGPARAM("NumberingStyles") );
-
static ::rtl::OUString CMDURL_SPART (RTL_CONSTASCII_USTRINGPARAM(".uno:StyleApply?Style:string=") );
static ::rtl::OUString CMDURL_FPART2 (RTL_CONSTASCII_USTRINGPARAM("&FamilyName:string=") );
diff --git a/svx/source/form/fmPropBrw.cxx b/svx/source/form/fmPropBrw.cxx
index 2600f5d..a355e81 100644
--- a/svx/source/form/fmPropBrw.cxx
+++ b/svx/source/form/fmPropBrw.cxx
@@ -109,12 +109,6 @@ const long STD_WIN_SIZE_Y = 350;
const long STD_MIN_SIZE_X = 250;
const long STD_MIN_SIZE_Y = 250;
-const long STD_WIN_POS_X = 50;
-const long STD_WIN_POS_Y = 50;
-const long WIN_BORDER = 2;
-const long MIN_WIN_SIZE_X = 50;
-const long MIN_WIN_SIZE_Y = 50;
-
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::form;
diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx
index b63eb0e..7948ad3 100644
--- a/svx/source/form/tabwin.cxx
+++ b/svx/source/form/tabwin.cxx
@@ -63,15 +63,9 @@
#include <sfx2/frame.hxx>
#include <svx/dataaccessdescriptor.hxx>
-const long STD_WIN_POS_X = 50;
-const long STD_WIN_POS_Y = 50;
-
const long STD_WIN_SIZE_X = 120;
const long STD_WIN_SIZE_Y = 150;
-const long MIN_WIN_SIZE_X = 50;
-const long MIN_WIN_SIZE_Y = 50;
-
const long LISTBOX_BORDER = 2;
using namespace ::com::sun::star::sdbc;
More information about the Libreoffice-commits
mailing list