[openoffice] branch AOO42X updated: Fixed typos, removed whitespace

2020-11-08 Thread mseidel
This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
 new e27da66  Fixed typos, removed whitespace
e27da66 is described below

commit e27da661ef0dd40c653e9f67c13291cfcd592aa8
Author: mseidel 
AuthorDate: Sun Nov 8 15:46:02 2020 +0100

Fixed typos, removed whitespace

(cherry picked from commit 46d9d3979fdc0063f6d44c300d3225cf267eae57)
---
 main/extensions/source/dbpilots/controlwizard.cxx  |  64 ++---
 .../source/xml/acceleratorconfigurationreader.cxx  |  89 +++
 main/framework/source/xml/imagesconfiguration.cxx  |  18 +-
 .../framework/source/xml/imagesdocumenthandler.cxx |  29 +--
 main/l10ntools/source/directory.cxx|  74 +++---
 main/sw/source/core/doc/doc.cxx| 277 +++--
 6 files changed, 276 insertions(+), 275 deletions(-)

diff --git a/main/extensions/source/dbpilots/controlwizard.cxx 
b/main/extensions/source/dbpilots/controlwizard.cxx
index 045e55b..565a242 100644
--- a/main/extensions/source/dbpilots/controlwizard.cxx
+++ b/main/extensions/source/dbpilots/controlwizard.cxx
@@ -1,5 +1,5 @@
 /**
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  */
 
 
@@ -184,7 +184,7 @@ namespace dbp
// nothing to do
return;
 
-ModuleRes aModuleRes(RID_PAGE_FORM_DATASOURCE_STATUS);
+   ModuleRes aModuleRes(RID_PAGE_FORM_DATASOURCE_STATUS);
OLocalResourceAccess aLocalControls(aModuleRes, RSC_TABPAGE);
 
m_pFormSettingsSeparator= new FixedLine(this,  
ModuleRes(FL_FORMSETINGS));
@@ -402,7 +402,7 @@ namespace dbp
Reference< XController > xController = 
xModel->getCurrentController();
DBG_ASSERT(xController.is(), 
"OControlWizard::implDeterminePage: no current controller!");
 
-   // maybe it's a spredsheet
+   // maybe it's a spreadsheet
Reference< XSpreadsheetView > 
xView(xController, UNO_QUERY);
if (xView.is())
{   // okay, it is one
@@ -413,7 +413,7 @@ namespace dbp
xPage = 
xPageSupp->getDrawPage();
}
else
-   {   // can be a draw/impress doc 
only
+   {   // can be a Draw/Impress doc 
only
Reference< XDrawView > 
xDrawView(xController, UNO_QUERY);
DBG_ASSERT(xDrawView.is(), 
"OControlWizard::implDeterminePage: no alternatives left ... can't determine 
the page!");
if (xDrawView.is())
@@ -422,7 +422,7 @@ namespace dbp
}
}
else
-   {   
+   {
DBG_ASSERT(xPage.is(), 
"OControlWizard::implDeterminePage: can't determine the page (no model)!");
}
m_aContext.xDrawPage = xPage;
@@ -457,17 +457,17 @@ namespace dbp
 
//-
Reference< XConnection > OControlWizard::getFormConnection(const 
OAccessRegulator&) const
-   {   
+   {
return getFormConnection();
}
-//-
+   //-
Reference< XConnection > OControlWizard::getFormConnection() const
{
Reference< XConnection > xConn;
 

[openoffice] branch trunk updated: Fixed typos, removed whitespace

2020-11-08 Thread mseidel
This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
 new 46d9d39  Fixed typos, removed whitespace
46d9d39 is described below

commit 46d9d3979fdc0063f6d44c300d3225cf267eae57
Author: mseidel 
AuthorDate: Sun Nov 8 15:46:02 2020 +0100

Fixed typos, removed whitespace
---
 main/extensions/source/dbpilots/controlwizard.cxx  |  64 ++---
 .../source/xml/acceleratorconfigurationreader.cxx  |  89 +++
 main/framework/source/xml/imagesconfiguration.cxx  |  18 +-
 .../framework/source/xml/imagesdocumenthandler.cxx |  29 +--
 main/l10ntools/source/directory.cxx|  74 +++---
 main/sw/source/core/doc/doc.cxx| 277 +++--
 6 files changed, 276 insertions(+), 275 deletions(-)

diff --git a/main/extensions/source/dbpilots/controlwizard.cxx 
b/main/extensions/source/dbpilots/controlwizard.cxx
index 045e55b..565a242 100644
--- a/main/extensions/source/dbpilots/controlwizard.cxx
+++ b/main/extensions/source/dbpilots/controlwizard.cxx
@@ -1,5 +1,5 @@
 /**
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  */
 
 
@@ -184,7 +184,7 @@ namespace dbp
// nothing to do
return;
 
-ModuleRes aModuleRes(RID_PAGE_FORM_DATASOURCE_STATUS);
+   ModuleRes aModuleRes(RID_PAGE_FORM_DATASOURCE_STATUS);
OLocalResourceAccess aLocalControls(aModuleRes, RSC_TABPAGE);
 
m_pFormSettingsSeparator= new FixedLine(this,  
ModuleRes(FL_FORMSETINGS));
@@ -402,7 +402,7 @@ namespace dbp
Reference< XController > xController = 
xModel->getCurrentController();
DBG_ASSERT(xController.is(), 
"OControlWizard::implDeterminePage: no current controller!");
 
-   // maybe it's a spredsheet
+   // maybe it's a spreadsheet
Reference< XSpreadsheetView > 
xView(xController, UNO_QUERY);
if (xView.is())
{   // okay, it is one
@@ -413,7 +413,7 @@ namespace dbp
xPage = 
xPageSupp->getDrawPage();
}
else
-   {   // can be a draw/impress doc 
only
+   {   // can be a Draw/Impress doc 
only
Reference< XDrawView > 
xDrawView(xController, UNO_QUERY);
DBG_ASSERT(xDrawView.is(), 
"OControlWizard::implDeterminePage: no alternatives left ... can't determine 
the page!");
if (xDrawView.is())
@@ -422,7 +422,7 @@ namespace dbp
}
}
else
-   {   
+   {
DBG_ASSERT(xPage.is(), 
"OControlWizard::implDeterminePage: can't determine the page (no model)!");
}
m_aContext.xDrawPage = xPage;
@@ -457,17 +457,17 @@ namespace dbp
 
//-
Reference< XConnection > OControlWizard::getFormConnection(const 
OAccessRegulator&) const
-   {   
+   {
return getFormConnection();
}
-//-
+   //-
Reference< XConnection > OControlWizard::getFormConnection() const
{
Reference< XConnection > xConn;
try
{
if (