diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-06 17:13:43 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-06 17:19:54 +0200 |
commit | c4c51709eaa02a5c9a2af3e5d436790307109813 (patch) | |
tree | c67362b4f2c3d3f34655ca65ec10d54e1509cf73 /sc/source/filter/oox/pagesettings.cxx | |
parent | c78f918a7cb267a713804b8feacc3425196d4428 (diff) |
whitespace cleanup in sc
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
Diffstat (limited to 'sc/source/filter/oox/pagesettings.cxx')
-rw-r--r-- | sc/source/filter/oox/pagesettings.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sc/source/filter/oox/pagesettings.cxx b/sc/source/filter/oox/pagesettings.cxx index 81fc024c238d..fdaed2281738 100644 --- a/sc/source/filter/oox/pagesettings.cxx +++ b/sc/source/filter/oox/pagesettings.cxx @@ -47,16 +47,12 @@ namespace oox { namespace xls { - - using namespace ::com::sun::star; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; using ::oox::core::Relations; - - namespace { const double OOX_MARGIN_DEFAULT_LR = 0.748; /// Left/right default margin in inches. @@ -90,8 +86,6 @@ const sal_uInt16 BIFF12_CHARTPAGESETUP_DRAFTQUALITY = 0x0020; } // namespace - - PageSettingsModel::PageSettingsModel() : mfLeftMargin( OOX_MARGIN_DEFAULT_LR ), mfRightMargin( OOX_MARGIN_DEFAULT_LR ), @@ -133,8 +127,6 @@ void PageSettingsModel::setBiffPrintErrors( sal_uInt8 nPrintErrors ) mnPrintErrors = STATIC_ARRAY_SELECT( spnErrorIds, nPrintErrors, XML_none ); } - - PageSettings::PageSettings( const WorksheetHelper& rHelper ) : WorksheetHelper( rHelper ) { @@ -332,8 +324,6 @@ void PageSettings::importPictureData( const Relations& rRelations, const OUStrin } - - enum HFPortionId { HF_LEFT, @@ -342,8 +332,6 @@ enum HFPortionId HF_COUNT }; - - struct HFPortionInfo { Reference<text::XText> mxText; /// XText interface of this portion. @@ -369,8 +357,6 @@ bool HFPortionInfo::initialize( const Reference<text::XText>& rxText ) return bRet; } - - class HeaderFooterParser : public WorkbookHelper { public: @@ -441,8 +427,6 @@ private: FontModel maFontModel; /// Font attributes of current text range. }; - - namespace { // different names for bold font style (lowercase) @@ -468,8 +452,6 @@ static const sal_Char* const sppcItalicNames[] = } // namespace - - HeaderFooterParser::HeaderFooterParser( const WorkbookHelper& rHelper ) : WorkbookHelper( rHelper ), maPageNumberService( "com.sun.star.text.TextField.PageNumber" ), @@ -881,8 +863,6 @@ void HeaderFooterParser::setNewPortion( HFPortionId ePortion ) - - PageSettingsConverter::HFHelperData::HFHelperData( sal_Int32 nLeftPropId, sal_Int32 nRightPropId ) : mnLeftPropId( nLeftPropId ), mnRightPropId( nRightPropId ), @@ -894,8 +874,6 @@ PageSettingsConverter::HFHelperData::HFHelperData( sal_Int32 nLeftPropId, sal_In { } - - PageSettingsConverter::PageSettingsConverter( const WorkbookHelper& rHelper ) : WorkbookHelper( rHelper ), mxHFParser( new HeaderFooterParser( rHelper ) ), @@ -1063,8 +1041,6 @@ sal_Int32 PageSettingsConverter::writeHeaderFooter( return nHeight; } - - } // namespace xls } // namespace oox |