summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authordennisroczek <dennisroczek@libreoffice.org>2017-03-18 13:46:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-29 08:12:10 +0000
commitb0a3a48c1dc4edc652bdf7cd67db5151832f328c (patch)
treed82c27dad94b6e528507a279a58170962c0a83a1 /sfx2
parent26909d9de4c6e7165fc8f5d938ee6ef55b87cc5c (diff)
expand vis to visible; fix typos
* 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 <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/new.cxx3
-rw-r--r--sfx2/source/doc/objcont.cxx10
-rw-r--r--sfx2/source/view/viewsh.cxx1
3 files changed, 6 insertions, 8 deletions
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<document::XDocumentProperties> 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()<pImpl->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<document::XDocumentProperties> 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: