diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/html/htmlexp.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/inc/reffact.hxx | 8 | ||||
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 19 |
3 files changed, 0 insertions, 33 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx index a51925064a1a..fa41eecb971e 100644 --- a/sc/source/filter/html/htmlexp.cxx +++ b/sc/source/filter/html/htmlexp.cxx @@ -122,22 +122,16 @@ const sal_Char ScHTMLExport::sIndentSource[nIndentMax+1] = //======================================================================== // Makros fuer HTML-Export //======================================================================== -#define OUT_PROLOGUE() (rStrm << sHTML30_Prologue << ScExportBase::sNewLine \ - << ScExportBase::sNewLine) #define TAG_ON( tag ) HTMLOutFuncs::Out_AsciiTag( rStrm, tag ) #define TAG_OFF( tag ) HTMLOutFuncs::Out_AsciiTag( rStrm, tag, false ) #define OUT_STR( str ) HTMLOutFuncs::Out_String( rStrm, str, eDestEnc, &aNonConvertibleChars ) -#define OUT_STR_NO_CONV( str ) HTMLOutFuncs::Out_String( rStrm, str, eDestEnc ) #define OUT_LF() rStrm << ScExportBase::sNewLine << GetIndentStr() -#define lcl_OUT_LF() rStrm << ScExportBase::sNewLine #define TAG_ON_LF( tag ) (TAG_ON( tag ) << ScExportBase::sNewLine << GetIndentStr()) #define TAG_OFF_LF( tag ) (TAG_OFF( tag ) << ScExportBase::sNewLine << GetIndentStr()) #define OUT_HR() TAG_ON_LF( OOO_STRING_SVTOOLS_HTML_horzrule ) #define OUT_COMMENT( comment ) (rStrm << sMyBegComment, OUT_STR( comment ) \ << sMyEndComment << ScExportBase::sNewLine \ << GetIndentStr()) -#define lcl_OUT_COMMENT( comment ) (rStrm << sMyBegComment, OUT_STR_NO_CONV( comment ) \ - << sMyEndComment << ScExportBase::sNewLine) #define OUT_SP_CSTR_ASS( s ) rStrm << ' ' << s << '=' #define APPEND_SPACE( s ) s.AppendAscii(" ") diff --git a/sc/source/ui/inc/reffact.hxx b/sc/source/ui/inc/reffact.hxx index e1db89dfa956..e7d728f5150d 100644 --- a/sc/source/ui/inc/reffact.hxx +++ b/sc/source/ui/inc/reffact.hxx @@ -33,14 +33,6 @@ #include "dbfunc.hxx" -#define DECL_WRAPPER(Class) \ - class Class : public SfxChildWindow \ - { \ - public: \ - Class( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* ); \ - SFX_DECL_CHILDWINDOW(Class); \ - }; - #define DECL_WRAPPER_WITHID(Class) \ class Class : public SfxChildWindow \ { \ diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 7d2cd76e88ad..7d98e4514f3e 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -1033,22 +1033,6 @@ void ScFormatShell::ExecuteNumFormat( SfxRequest& rReq ) //------------------------------------------------------------------ -#define APPLY_HOR_JUSTIFY(j) \ - { \ - if ( !pHorJustify || (eHorJustify != (j) ) ) \ - pTabViewShell->ApplyAttr( SvxHorJustifyItem( (j) ) ); \ - else \ - pTabViewShell->ApplyAttr( SvxHorJustifyItem( SVX_HOR_JUSTIFY_STANDARD ) ); \ - } - -#define APPLY_VER_JUSTIFY(j) \ - { \ - if ( !pVerJustify || (eVerJustify != (j) ) ) \ - pTabViewShell->ApplyAttr( SvxVerJustifyItem( (j) ) ); \ - else \ - pTabViewShell->ApplyAttr( SvxVerJustifyItem( SVX_VER_JUSTIFY_STANDARD ) ); \ - } - void ScFormatShell::ExecuteAlignment( SfxRequest& rReq ) { ScTabViewShell* pTabViewShell = GetViewData()->GetViewShell(); @@ -1396,9 +1380,6 @@ void ScFormatShell::ExecuteTextAttr( SfxRequest& rReq ) } -#undef APPLY_HOR_JUSTIFY -#undef APPLY_VER_JUSTIFY - //------------------------------------------------------------------ void ScFormatShell::ExecuteAttr( SfxRequest& rReq ) |