From b0a3a48c1dc4edc652bdf7cd67db5151832f328c Mon Sep 17 00:00:00 2001 From: dennisroczek Date: Sat, 18 Mar 2017 13:46:00 +0000 Subject: expand vis to visible; fix typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * translate German source code comments * remove bogus surce code comments * remove ascii art * removed old StarOffice/Sun internal bug tracker references * remove left over from commit dcd5dee88e3c1185638b190553bef65c2ef6566f Change-Id: I3c5cce621c43e4a03afb76f4cc5a12065914e5ad Reviewed-on: https://gerrit.libreoffice.org/35404 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sfx2/source/doc/new.cxx | 3 +-- sfx2/source/doc/objcont.cxx | 10 +++++----- sfx2/source/view/viewsh.cxx | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx index 0212d0ef2d30..21399295814b 100644 --- a/sfx2/source/doc/new.cxx +++ b/sfx2/source/doc/new.cxx @@ -73,7 +73,7 @@ void SfxPreviewWin_Impl::ImpPaint(vcl::RenderContext& rRenderContext, const Rect rRenderContext.DrawRect(Rectangle(Point(0,0), rRenderContext.GetOutputSize())); Size aTmpSize = pFile ? pFile->GetPrefSize() : Size(1, 1); - DBG_ASSERT(aTmpSize.Height() != 0 && aTmpSize.Width() != 0, "size of first page is 0, override GetFirstPageSize or set vis-area!"); + DBG_ASSERT(aTmpSize.Height() != 0 && aTmpSize.Width() != 0, "size of first page is 0, override GetFirstPageSize or set visible-area!"); #define FRAME 4 @@ -161,7 +161,6 @@ public: // Returns sal_False if '- No -' is set as a template // Template name can only be obtained if IsTemplate() is TRUE - // erfragt werden bool IsTemplate() const; OUString GetTemplateFileName() const; diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 75740733f486..68e53aade461 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -152,7 +152,7 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( bool bFullContent ) const xFile->SetPrefSize( aTmpSize ); DBG_ASSERT( aTmpSize.Height() != 0 && aTmpSize.Width() != 0, - "size of first page is 0, override GetFirstPageSize or set vis-area!" ); + "size of first page is 0, override GetFirstPageSize or set visible-area!" ); xFile->Record( pDevice ); @@ -179,7 +179,7 @@ void SfxObjectShell::UpdateDocInfoForSave() { uno::Reference xDocProps(getDocProperties()); - // clear user data if recommend (see 'Tools - Options - Open/StarOffice - Security') + // clear user data if recommend (see 'Tools - Options - LibreOffice - Security') if ( SvtSecurityOptions().IsOptionSet( SvtSecurityOptions::EOption::DocWarnRemovePersonalInfo ) ) { @@ -236,7 +236,7 @@ void SfxObjectShell::UpdateTime_Impl( sal_uIntPtr nDays = 0 ; // Count of days between now and last editing tools::Time nAddTime (0) ; // Value to add on aOldTime - // Safe impossible cases! + // Save impossible cases! // User has changed time to the past between last editing and now ... it's not possible!!! DBG_ASSERT( !(aNow.GetDate()nTime.GetDate()), "Timestamp of last change is in the past ?!..." ); @@ -340,7 +340,7 @@ void SfxObjectShell::LoadStyles { pDest = &pMyPool->Make( pSource->GetName(), pSource->GetFamily(), pSource->GetMask()); - // Setting of Parents, the next style + // Setting of parents, the next style } pFound[nFound].pSource = pSource; pFound[nFound].pDest = pDest; @@ -513,7 +513,7 @@ bool SfxObjectShell::IsHelpDocument() const void SfxObjectShell::ResetFromTemplate( const OUString& rTemplateName, const OUString& rFileName ) { - // only care about resetting this data for openoffice formats otherwise + // only care about resetting this data for LibreOffice formats otherwise if ( IsOwnStorageFormat( *GetMedium()) ) { uno::Reference xDocProps(getDocProperties()); diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 329ded27bf28..86dd7a1c5ece 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -467,7 +467,6 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq ) rReq.Done(); } break; - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - case SID_MAIL_SENDDOCASMS: case SID_MAIL_SENDDOCASOOO: -- cgit