Kaydet (Commit) cc1554a4 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: indentation fixes

Change-Id: I07311146c16ee273f094f74da1d095279d3b2cbf
üst 01d422d8
...@@ -788,23 +788,23 @@ SwDoc::GetXmlIdRegistry() ...@@ -788,23 +788,23 @@ SwDoc::GetXmlIdRegistry()
void SwDoc::InitTOXTypes() void SwDoc::InitTOXTypes()
{ {
ShellResource* pShellRes = SwViewShell::GetShellRes(); ShellResource* pShellRes = SwViewShell::GetShellRes();
SwTOXType * pNew = new SwTOXType(TOX_CONTENT, pShellRes->aTOXContentName ); SwTOXType * pNew = new SwTOXType(TOX_CONTENT, pShellRes->aTOXContentName );
mpTOXTypes->push_back( pNew ); mpTOXTypes->push_back( pNew );
pNew = new SwTOXType(TOX_INDEX, pShellRes->aTOXIndexName ); pNew = new SwTOXType(TOX_INDEX, pShellRes->aTOXIndexName );
mpTOXTypes->push_back( pNew ); mpTOXTypes->push_back( pNew );
pNew = new SwTOXType(TOX_USER, pShellRes->aTOXUserName ); pNew = new SwTOXType(TOX_USER, pShellRes->aTOXUserName );
mpTOXTypes->push_back( pNew ); mpTOXTypes->push_back( pNew );
pNew = new SwTOXType(TOX_ILLUSTRATIONS, pShellRes->aTOXIllustrationsName ); pNew = new SwTOXType(TOX_ILLUSTRATIONS, pShellRes->aTOXIllustrationsName );
mpTOXTypes->push_back( pNew ); mpTOXTypes->push_back( pNew );
pNew = new SwTOXType(TOX_OBJECTS, pShellRes->aTOXObjectsName ); pNew = new SwTOXType(TOX_OBJECTS, pShellRes->aTOXObjectsName );
mpTOXTypes->push_back( pNew ); mpTOXTypes->push_back( pNew );
pNew = new SwTOXType(TOX_TABLES, pShellRes->aTOXTablesName ); pNew = new SwTOXType(TOX_TABLES, pShellRes->aTOXTablesName );
mpTOXTypes->push_back( pNew ); mpTOXTypes->push_back( pNew );
pNew = new SwTOXType(TOX_AUTHORITIES, pShellRes->aTOXAuthoritiesName ); pNew = new SwTOXType(TOX_AUTHORITIES, pShellRes->aTOXAuthoritiesName );
mpTOXTypes->push_back( pNew ); mpTOXTypes->push_back( pNew );
pNew = new SwTOXType(TOX_CITATION, pShellRes->aTOXCitationName ); pNew = new SwTOXType(TOX_CITATION, pShellRes->aTOXCitationName );
mpTOXTypes->push_back( pNew ); mpTOXTypes->push_back( pNew );
} }
void SwDoc::ReplaceDefaults(const SwDoc& rSource) void SwDoc::ReplaceDefaults(const SwDoc& rSource)
......
...@@ -593,7 +593,7 @@ void RtfAttributeOutput::TableDefinition(ww8::WW8TableNodeInfoInner::Pointer_t p ...@@ -593,7 +593,7 @@ void RtfAttributeOutput::TableDefinition(ww8::WW8TableNodeInfoInner::Pointer_t p
{ {
const SwNode* pNode = pTableTextNodeInfoInner->getNode(); const SwNode* pNode = pTableTextNodeInfoInner->getNode();
const SwFrameFormat* pFrameFormat = GetExport().m_pParentFrame ? &GetExport().m_pParentFrame->GetFrameFormat() : const SwFrameFormat* pFrameFormat = GetExport().m_pParentFrame ? &GetExport().m_pParentFrame->GetFrameFormat() :
GetExport().m_pDoc->GetPageDesc(0).GetPageFormatOfNode(*pNode, false); GetExport().m_pDoc->GetPageDesc(0).GetPageFormatOfNode(*pNode, false);
const SvxLRSpaceItem& rLR = pFrameFormat->GetLRSpace(); const SvxLRSpaceItem& rLR = pFrameFormat->GetLRSpace();
nPageSize = pFrameFormat->GetFrmSize().GetWidth() - nPageSize = pFrameFormat->GetFrmSize().GetWidth() -
......
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