sw, writerfilter: fix indentation

These files had a consistent style before, keep it that way.

Change-Id: I325e13e402abb01c347d1185b85468f23a18bba3
Reviewed-on: https://gerrit.libreoffice.org/27773
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
Miklos Vajna 2016-08-01 12:49:16 +02:00
parent 06cc80bb95
commit f63a85d8f9
2 changed files with 7 additions and 7 deletions

View File

@ -158,9 +158,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT Reader* SAL_CALL ImportRTF()
return new SwRTFReader(); return new SwRTFReader();
} }
extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportRTF(const OUString &rURL) extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportRTF(const OUString& rURL)
{ {
Reader *pReader = ImportRTF(); Reader* pReader = ImportRTF();
SvFileStream aFileStream(rURL, StreamMode::READ); SvFileStream aFileStream(rURL, StreamMode::READ);
tools::SvRef<SotStorage> xStorage; tools::SvRef<SotStorage> xStorage;
@ -171,15 +171,15 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportRTF(const OUString &rURL
SfxObjectShellLock xDocSh(new SwDocShell(SfxObjectCreateMode::INTERNAL)); SfxObjectShellLock xDocSh(new SwDocShell(SfxObjectCreateMode::INTERNAL));
xDocSh->DoInitNew(); xDocSh->DoInitNew();
SwDoc *pD = static_cast<SwDocShell*>((&xDocSh))->GetDoc(); SwDoc* pD = static_cast<SwDocShell*>((&xDocSh))->GetDoc();
SwNodeIndex aIdx( SwNodeIndex aIdx(
*pD->GetNodes().GetEndOfContent().StartOfSectionNode(), 1); *pD->GetNodes().GetEndOfContent().StartOfSectionNode(), 1);
if( !aIdx.GetNode().IsTextNode() ) if (!aIdx.GetNode().IsTextNode())
{ {
pD->GetNodes().GoNext( &aIdx ); pD->GetNodes().GoNext(&aIdx);
} }
SwPaM aPaM( aIdx ); SwPaM aPaM(aIdx);
aPaM.GetPoint()->nContent.Assign(aIdx.GetNode().GetContentNode(), 0); aPaM.GetPoint()->nContent.Assign(aIdx.GetNode().GetContentNode(), 0);
bool bRet = false; bool bRet = false;
try try

View File

@ -282,7 +282,7 @@ public:
/// point to the buffer of the current destination /// point to the buffer of the current destination
OUStringBuffer* pDestinationText; OUStringBuffer* pDestinationText;
void appendDestinationText(const OUString &rString) void appendDestinationText(const OUString& rString)
{ {
if (pDestinationText) if (pDestinationText)
pDestinationText->append(rString); pDestinationText->append(rString);