diff options
-rw-r--r-- | sw/source/filter/rtf/swparrtf.cxx | 12 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.hxx | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx index 50fd2448857d..d5928bf88fa7 100644 --- a/sw/source/filter/rtf/swparrtf.cxx +++ b/sw/source/filter/rtf/swparrtf.cxx @@ -158,9 +158,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT Reader* SAL_CALL ImportRTF() 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); 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)); xDocSh->DoInitNew(); - SwDoc *pD = static_cast<SwDocShell*>((&xDocSh))->GetDoc(); + SwDoc* pD = static_cast<SwDocShell*>((&xDocSh))->GetDoc(); SwNodeIndex aIdx( *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); bool bRet = false; try diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx index 152f5a66af8a..83d205b87237 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx @@ -282,7 +282,7 @@ public: /// point to the buffer of the current destination OUStringBuffer* pDestinationText; - void appendDestinationText(const OUString &rString) + void appendDestinationText(const OUString& rString) { if (pDestinationText) pDestinationText->append(rString); |