diff options
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/inc/rtfparse.hxx | 9 | ||||
-rw-r--r-- | sc/source/filter/rtf/rtfparse.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/dbgui/consdlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/dbgui/pfiltdlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/areasdlg.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/consdlg.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/crnrdlg.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/filldlg.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/instbdlg.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/pfiltdlg.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/solvrdlg.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/tphf.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/tpusrlst.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/crnrdlg.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/filldlg.cxx | 7 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/instbdlg.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/solvrdlg.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpusrlst.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/pagedlg/areasdlg.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/pagedlg/tphf.cxx | 6 |
20 files changed, 1 insertions, 72 deletions
diff --git a/sc/source/filter/inc/rtfparse.hxx b/sc/source/filter/inc/rtfparse.hxx index 7da08722d3c2..644a33150317 100644 --- a/sc/source/filter/inc/rtfparse.hxx +++ b/sc/source/filter/inc/rtfparse.hxx @@ -22,7 +22,6 @@ #include "eeparser.hxx" -#ifdef SC_RTFPARSE_CXX #include <boost/ptr_container/ptr_vector.hpp> #include <o3tl/sorted_vector.hxx> @@ -44,14 +43,6 @@ struct ScRTFCellDefault class ScRTFColTwips : public o3tl::sorted_vector<sal_uLong> {}; -#else // SC_RTFPARSE_CXX - -struct ScRTFCellDefault; -class ScRTFColTwips; - -#endif // SC_RTFPARSE_CXX - - class EditEngine; class ScRTFParser : public ScEEParser diff --git a/sc/source/filter/rtf/rtfparse.cxx b/sc/source/filter/rtf/rtfparse.cxx index 3449bb177cb5..f8df0288812e 100644 --- a/sc/source/filter/rtf/rtfparse.cxx +++ b/sc/source/filter/rtf/rtfparse.cxx @@ -19,15 +19,12 @@ #include "scitems.hxx" #include <editeng/eeitem.hxx> - - #include <editeng/editeng.hxx> #include <editeng/fhgtitem.hxx> #include <editeng/svxrtf.hxx> #include <vcl/outdev.hxx> #include <svtools/rtftoken.h> -#define SC_RTFPARSE_CXX #include "rtfparse.hxx" #include "global.hxx" #include "document.hxx" diff --git a/sc/source/ui/dbgui/consdlg.cxx b/sc/source/ui/dbgui/consdlg.cxx index 0f8e3281df35..3bd36c39c5ff 100644 --- a/sc/source/ui/dbgui/consdlg.cxx +++ b/sc/source/ui/dbgui/consdlg.cxx @@ -31,9 +31,7 @@ #include "globstr.hrc" #include "sc.hrc" -#define _CONSDLG_CXX #include "consdlg.hxx" -#undef _CONSDLG_CXX #include <vcl/msgbox.hxx> #define INFOBOX(id) InfoBox(this, ScGlobal::GetRscString(id)).Execute() diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx index 2d68f0b488d3..2133fc05f1b8 100644 --- a/sc/source/ui/dbgui/pfiltdlg.cxx +++ b/sc/source/ui/dbgui/pfiltdlg.cxx @@ -36,9 +36,7 @@ #include "filter.hrc" #include "globstr.hrc" -#define _PFILTDLG_CXX #include "pfiltdlg.hxx" -#undef _PFILTDLG_CXX #include <svl/zforlist.hxx> #include <svl/sharedstringpool.hxx> diff --git a/sc/source/ui/inc/areasdlg.hxx b/sc/source/ui/inc/areasdlg.hxx index 2800ac44894c..d7c6789865bb 100644 --- a/sc/source/ui/inc/areasdlg.hxx +++ b/sc/source/ui/inc/areasdlg.hxx @@ -22,6 +22,7 @@ #include "address.hxx" +#include <svl/stritem.hxx> #include <vcl/lstbox.hxx> #include <vcl/fixed.hxx> #include "anyrefdg.hxx" @@ -67,8 +68,6 @@ private: ScViewData* pViewData; SCTAB nCurTab; -#ifdef _AREASDLG_CXX -private: void Impl_Reset(); bool Impl_CheckRefStrings(); void Impl_FillLists(); @@ -79,7 +78,6 @@ private: DECL_LINK( Impl_ModifyHdl, formula::RefEdit* ); DECL_LINK( Impl_BtnHdl, PushButton* ); DECL_LINK( Impl_GetFocusHdl, Control* ); -#endif }; #endif diff --git a/sc/source/ui/inc/consdlg.hxx b/sc/source/ui/inc/consdlg.hxx index b7ff60d46f97..30ce8f61a292 100644 --- a/sc/source/ui/inc/consdlg.hxx +++ b/sc/source/ui/inc/consdlg.hxx @@ -87,8 +87,6 @@ private: formula::RefEdit* pRefInputEdit; bool bDlgLostFocus; -#ifdef _CONSDLG_CXX -private: void Init (); void FillAreaLists (); bool VerifyEdit ( formula::RefEdit* pEd ); @@ -101,7 +99,6 @@ private: ScSubTotalFunc LbPosToFunc( sal_uInt16 nPos ); sal_uInt16 FuncToLbPos( ScSubTotalFunc eFunc ); -#endif // _CONSDLG_CXX }; #endif // INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX diff --git a/sc/source/ui/inc/crnrdlg.hxx b/sc/source/ui/inc/crnrdlg.hxx index b6fcd927afd7..5337886961ce 100644 --- a/sc/source/ui/inc/crnrdlg.hxx +++ b/sc/source/ui/inc/crnrdlg.hxx @@ -72,8 +72,6 @@ private: formula::RefEdit* pEdActive; bool bDlgLostFocus; -#ifdef _CRNRDLG_CXX -private: void Init (); void UpdateNames (); void UpdateRangeData ( const ScRange& rRange, bool bColName ); @@ -90,7 +88,6 @@ private: DECL_LINK( Range2DataModifyHdl, void * ); DECL_LINK( GetFocusHdl, Control* ); DECL_LINK( LoseFocusHdl, void* ); -#endif }; #endif // INCLUDED_SC_SOURCE_UI_INC_CRNRDLG_HXX diff --git a/sc/source/ui/inc/filldlg.hxx b/sc/source/ui/inc/filldlg.hxx index 954b8244cb69..cc8710d91f7d 100644 --- a/sc/source/ui/inc/filldlg.hxx +++ b/sc/source/ui/inc/filldlg.hxx @@ -96,8 +96,6 @@ private: bool bStartValFlag; -#ifdef _FILLDLG_CXX -private: void Init( sal_uInt16 nPossDir ); bool CheckStartVal(); bool CheckIncrementVal(); @@ -105,7 +103,6 @@ private: DECL_LINK( OKHdl, void * ); DECL_LINK( DisableHdl, Button * ); -#endif }; #endif // INCLUDED_SC_SOURCE_UI_INC_FILLDLG_HXX diff --git a/sc/source/ui/inc/instbdlg.hxx b/sc/source/ui/inc/instbdlg.hxx index d247b356214f..ad68712fe22a 100644 --- a/sc/source/ui/inc/instbdlg.hxx +++ b/sc/source/ui/inc/instbdlg.hxx @@ -84,7 +84,6 @@ private: SCTAB nTableCount; OUString m_sSheetDotDotDot; -#ifdef SC_INSTBDLG_CXX void Init_Impl( bool bFromFile ); void SetNewTable_Impl(); void SetFromTo_Impl(); @@ -98,7 +97,6 @@ private: DECL_LINK(DoEnterHdl, void *); DECL_LINK(BrowseTimeoutHdl, void *); DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper* ); -#endif }; #endif // INCLUDED_SC_SOURCE_UI_INC_INSTBDLG_HXX diff --git a/sc/source/ui/inc/pfiltdlg.hxx b/sc/source/ui/inc/pfiltdlg.hxx index 6c5654a3379f..7dfe935b7fe4 100644 --- a/sc/source/ui/inc/pfiltdlg.hxx +++ b/sc/source/ui/inc/pfiltdlg.hxx @@ -82,7 +82,6 @@ private: std::vector<ScTypedStrData>* pEntryLists[MAXCOLCOUNT]; -#ifdef _PFILTDLG_CXX private: void Init ( const SfxItemSet& rArgSet ); void FillFieldLists (); @@ -94,7 +93,6 @@ private: DECL_LINK( LbSelectHdl, ListBox* ); DECL_LINK( ValModifyHdl, ComboBox* ); DECL_LINK( CheckBoxHdl, CheckBox* ); -#endif }; diff --git a/sc/source/ui/inc/solvrdlg.hxx b/sc/source/ui/inc/solvrdlg.hxx index 7ffa45084ade..e0a728791f6d 100644 --- a/sc/source/ui/inc/solvrdlg.hxx +++ b/sc/source/ui/inc/solvrdlg.hxx @@ -77,8 +77,6 @@ private: const OUString errMsgNoFormula; const OUString errMsgInvalidVal; - -#ifdef _SOLVRDLG_CXX void Init(); bool CheckTargetValue( const OUString& rStrVal ); void RaiseError( ScSolverErr eError ); @@ -86,7 +84,6 @@ private: DECL_LINK( BtnHdl, PushButton* ); DECL_LINK( GetFocusHdl, Control* ); DECL_LINK( LoseFocusHdl, void* ); -#endif // _SOLVERDLG_CXX }; #endif // INCLUDED_SC_SOURCE_UI_INC_SOLVRDLG_HXX diff --git a/sc/source/ui/inc/tphf.hxx b/sc/source/ui/inc/tphf.hxx index 733242df0229..2f4fff087ac8 100644 --- a/sc/source/ui/inc/tphf.hxx +++ b/sc/source/ui/inc/tphf.hxx @@ -52,12 +52,9 @@ private: sal_uInt16 nPageUsage; const ScStyleDlg* pStyleDlg; -#ifdef _TPHF_CXX -private: DECL_LINK(BtnHdl, void *); DECL_LINK( HFEditHdl, void* ); DECL_LINK(TurnOnHdl, void *); -#endif }; class ScHeaderPage : public ScHFPage diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx index 39590b24149a..9e3564976e87 100644 --- a/sc/source/ui/inc/tpusrlst.hxx +++ b/sc/source/ui/inc/tpusrlst.hxx @@ -81,8 +81,6 @@ private: bool bCopyDone; sal_Int32 nCancelPos; -#ifdef _TPUSRLST_CXX -private: void Init (); size_t UpdateUserListBox (); void UpdateEntries ( size_t nList ); @@ -98,7 +96,6 @@ private: DECL_LINK( LbSelectHdl, ListBox* ); DECL_LINK( BtnClickHdl, PushButton* ); DECL_LINK( EdEntriesModHdl, VclMultiLineEdit* ); -#endif }; #endif // INCLUDED_SC_SOURCE_UI_INC_TPUSRLST_HXX diff --git a/sc/source/ui/miscdlgs/crnrdlg.cxx b/sc/source/ui/miscdlgs/crnrdlg.cxx index 294cf79d42da..ea118ed27f8e 100644 --- a/sc/source/ui/miscdlgs/crnrdlg.cxx +++ b/sc/source/ui/miscdlgs/crnrdlg.cxx @@ -22,10 +22,7 @@ #include "scresid.hxx" #include "globstr.hrc" #include "docsh.hxx" - -#define _CRNRDLG_CXX #include "crnrdlg.hxx" -#undef _CRNRDLG_CXX #include <vcl/msgbox.hxx> #include <boost/scoped_array.hpp> diff --git a/sc/source/ui/miscdlgs/filldlg.cxx b/sc/source/ui/miscdlgs/filldlg.cxx index aa654deb2978..c9b51ad81d86 100644 --- a/sc/source/ui/miscdlgs/filldlg.cxx +++ b/sc/source/ui/miscdlgs/filldlg.cxx @@ -17,11 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #undef SC_DLLIMPLEMENTATION - - #include <svl/zforlist.hxx> #include <vcl/msgbox.hxx> #include <limits.h> @@ -30,11 +27,7 @@ #include "document.hxx" #include "globstr.hrc" #include "miscdlgs.hrc" - -#define _FILLDLG_CXX #include "filldlg.hxx" -#undef _FILLDLG_CXX - // class ScFillSeriesDlg diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx b/sc/source/ui/miscdlgs/instbdlg.cxx index 248504c31696..676012cd03ba 100644 --- a/sc/source/ui/miscdlgs/instbdlg.cxx +++ b/sc/source/ui/miscdlgs/instbdlg.cxx @@ -17,11 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #undef SC_DLLIMPLEMENTATION - - #include <sfx2/app.hxx> #include <sfx2/docfile.hxx> #include <sfx2/docinsert.hxx> @@ -35,8 +32,6 @@ #include "viewdata.hxx" #include "scresid.hxx" #include "globstr.hrc" - -#define SC_INSTBDLG_CXX #include "instbdlg.hxx" ScInsertTableDlg::ScInsertTableDlg( Window* pParent, ScViewData& rData, SCTAB nTabCount, bool bFromFile ) diff --git a/sc/source/ui/miscdlgs/solvrdlg.cxx b/sc/source/ui/miscdlgs/solvrdlg.cxx index c1cb88a94a1e..d6cae3ac54a7 100644 --- a/sc/source/ui/miscdlgs/solvrdlg.cxx +++ b/sc/source/ui/miscdlgs/solvrdlg.cxx @@ -29,10 +29,7 @@ #include "scresid.hxx" #include "globstr.hrc" #include "sc.hrc" - -#define _SOLVRDLG_CXX #include "solvrdlg.hxx" -#undef _SOLVRDLG_CXX namespace { diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx index 47d7fb73acf2..19c432f81f7f 100644 --- a/sc/source/ui/optdlg/tpusrlst.cxx +++ b/sc/source/ui/optdlg/tpusrlst.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #undef SC_DLLIMPLEMENTATION #include <comphelper/string.hxx> @@ -34,10 +33,7 @@ #include "scresid.hxx" #include "sc.hrc" #include "globstr.hrc" - -#define _TPUSRLST_CXX #include "tpusrlst.hxx" -#undef _TPUSRLST_CXX // STATIC DATA ----------------------------------------------------------- diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx index cde8be668da5..097a1bb1e510 100644 --- a/sc/source/ui/pagedlg/areasdlg.cxx +++ b/sc/source/ui/pagedlg/areasdlg.cxx @@ -26,10 +26,7 @@ #include <unotools/charclass.hxx> #include <stdlib.h> -#define _AREASDLG_CXX #include "areasdlg.hxx" -#undef _AREASDLG_CXX - #include "scresid.hxx" #include "rangenam.hxx" #include "reffact.hxx" diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx index 0d22eed7306f..3d495da48f0b 100644 --- a/sc/source/ui/pagedlg/tphf.cxx +++ b/sc/source/ui/pagedlg/tphf.cxx @@ -17,12 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #undef SC_DLLIMPLEMENTATION - - -#define _TPHF_CXX #include "scitems.hxx" #include <sfx2/basedlgs.hxx> #include <svl/style.hxx> @@ -40,10 +36,8 @@ #include "styledlg.hxx" #include "scresid.hxx" #include "scuitphfedit.hxx" -#undef _TPHF_CXX #include <boost/scoped_ptr.hpp> - // class ScHFPage |