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 0a1e220dee Cleanup
0a1e220dee is described below
commit 0a1e220dee0308663a065fb3bbe3e59d2252f393
Author: mseidel <[email protected]>
AuthorDate: Thu Jun 5 12:12:04 2025 +0200
Cleanup
---
.../source/parser_i/inc/s2_luidl/pe_tydf2.hxx | 36 ++++++++------------
main/basebmp/inc/basebmp/endian.hxx | 22 ++++++------
main/desktop/source/deployment/gui/descedit.hxx | 38 ++++++++++-----------
main/editeng/inc/editeng/unoviwed.hxx | 30 ++++++++---------
main/forms/source/xforms/resourcehelper.hxx | 29 ++++++++--------
main/vcl/aqua/source/gdi/atsfonts.hxx | 14 ++++----
main/vcl/inc/salvd.hxx | 39 ++++++++++------------
.../source/style/XMLFootnoteSeparatorExport.hxx | 16 ++++-----
8 files changed, 104 insertions(+), 120 deletions(-)
diff --git a/main/autodoc/source/parser_i/inc/s2_luidl/pe_tydf2.hxx
b/main/autodoc/source/parser_i/inc/s2_luidl/pe_tydf2.hxx
index d1ff7b9b42..0811a4acb3 100644
--- a/main/autodoc/source/parser_i/inc/s2_luidl/pe_tydf2.hxx
+++ b/main/autodoc/source/parser_i/inc/s2_luidl/pe_tydf2.hxx
@@ -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,25 +7,21 @@
* 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.
- *
+ *
*************************************************************/
-
-
#ifndef LUIDL_PE_TYDF2_HXX
#define LUIDL_PE_TYDF2_HXX
-
-
// USED SERVICES
// BASE CLASSES
#include <s2_luidl/parsenv2.hxx>
@@ -33,9 +29,6 @@
// COMPONENTS
// PARAMETERS
-
-
-
namespace csi
{
namespace uidl
@@ -43,11 +36,10 @@ namespace uidl
class PE_Type;
-
class PE_Typedef : public UnoIDL_PE,
public ParseEnvState
{
- public:
+public:
PE_Typedef();
virtual void EstablishContacts(
UnoIDL_PE *
io_pParentPE,
@@ -67,7 +59,7 @@ class PE_Typedef : public UnoIDL_PE,
i_rToken );
virtual void Process_Default();
- private:
+private:
enum E_State
{
e_none = 0,
@@ -76,7 +68,7 @@ class PE_Typedef : public UnoIDL_PE,
got_name,
e_STATES_MAX
};
- enum E_TokenType /// @ATTENTION Do not change existing values
(except of tt_MAX) !!! Else array-indices will break.
+ enum E_TokenType // @ATTENTION Do not change existing values (except
of tt_MAX) !!! Else array-indices will break.
{
tt_any = 0,
tt_identifier,
@@ -100,20 +92,18 @@ class PE_Typedef : public UnoIDL_PE,
virtual void TransferData();
virtual UnoIDL_PE & MyPE();
- // DATA
+ // DATA
static F_TOK aDispatcher[e_STATES_MAX][tt_MAX];
- E_State eState;
+ E_State eState;
Dyn<PE_Type> pPE_Type;
ary::idl::Type_id nType;
String sName;
};
-
-
-} // namespace uidl
-} // namespace csi
-
-
+} // namespace uidl
+} // namespace csi
#endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/basebmp/inc/basebmp/endian.hxx
b/main/basebmp/inc/basebmp/endian.hxx
index df3746fb3f..93bacd2f76 100644
--- a/main/basebmp/inc/basebmp/endian.hxx
+++ b/main/basebmp/inc/basebmp/endian.hxx
@@ -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,20 +7,18 @@
* 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.
- *
+ *
*************************************************************/
-
-
#ifndef INCLUDED_BASEBMP_ENDIAN_HXX
#define INCLUDED_BASEBMP_ENDIAN_HXX
@@ -29,14 +27,14 @@
namespace basebmp
{
-/// Swap the order of bytes for the given POD type
+// Swap the order of bytes for the given POD type
template< typename T > inline T byteSwap( T );
#define BASEBMP_BYTE_SWAP(Type,SwapFunc) \
- template<> inline Type byteSwap<Type>( Type v ) \
- { \
- return SwapFunc(v); \
- }
+ template<> inline Type byteSwap<Type>( Type v ) \
+ { \
+ return SwapFunc(v); \
+ }
// byteSwap<T> shall fail for any type T not in the list below
BASEBMP_BYTE_SWAP(sal_Int8,)
@@ -51,3 +49,5 @@ BASEBMP_BYTE_SWAP(sal_uInt32,OSL_SWAPDWORD)
} // namespace basebmp
#endif /* INCLUDED_BASEBMP_ENDIAN_HXX */
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/desktop/source/deployment/gui/descedit.hxx
b/main/desktop/source/deployment/gui/descedit.hxx
index 8e9cc49d3d..e6f9f49b76 100644
--- a/main/desktop/source/deployment/gui/descedit.hxx
+++ b/main/desktop/source/deployment/gui/descedit.hxx
@@ -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,46 +7,46 @@
* 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.
- *
+ *
*************************************************************/
-
-
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DESCEDIT_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DESCEDIT_HXX
#include "svtools/svmedit2.hxx"
-/// @HTML
+// @HTML
namespace dp_gui
{
- class DescriptionEdit : public ExtMultiLineEdit
- {
- private:
- bool m_bIsVerticalScrollBarHidden;
+ class DescriptionEdit : public ExtMultiLineEdit
+ {
+ private:
+ bool m_bIsVerticalScrollBarHidden;
- void Init();
- void UpdateScrollBar();
+ void Init();
+ void UpdateScrollBar();
- public:
- DescriptionEdit( Window* pParent, const ResId& rResId );
- inline ~DescriptionEdit() {}
+ public:
+ DescriptionEdit( Window* pParent, const ResId& rResId );
+ inline ~DescriptionEdit() {}
- void Clear();
- void SetDescription( const String& rDescription );
- };
+ void Clear();
+ void SetDescription( const String&
rDescription );
+ };
} // namespace dp_gui
#endif // INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DESCEDIT_HXX
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/editeng/inc/editeng/unoviwed.hxx
b/main/editeng/inc/editeng/unoviwed.hxx
index 296069ca97..e501e0efe7 100644
--- a/main/editeng/inc/editeng/unoviwed.hxx
+++ b/main/editeng/inc/editeng/unoviwed.hxx
@@ -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,20 +7,18 @@
* 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.
- *
+ *
*************************************************************/
-
-
#ifndef _SVX_UNOVIWED_HXX
#define _SVX_UNOVIWED_HXX
@@ -30,7 +28,7 @@
class EditView;
-/// Specialization for Calc
+// Specialization for Calc
class SvxEditEngineViewForwarder : public SvxEditViewForwarder
{
private:
@@ -42,16 +40,18 @@ public:
virtual sal_Bool IsValid() const;
- virtual Rectangle GetVisArea() const;
- virtual Point LogicToPixel( const Point& rPoint, const
MapMode& rMapMode ) const;
- virtual Point PixelToLogic( const Point& rPoint, const
MapMode& rMapMode ) const;
+ virtual Rectangle GetVisArea() const;
+ virtual Point LogicToPixel( const Point& rPoint, const
MapMode& rMapMode ) const;
+ virtual Point PixelToLogic( const Point& rPoint, const
MapMode& rMapMode ) const;
- virtual sal_Bool GetSelection( ESelection& rSelection ) const;
- virtual sal_Bool SetSelection( const ESelection& rSelection );
- virtual sal_Bool Copy();
- virtual sal_Bool Cut();
- virtual sal_Bool Paste();
+ virtual sal_Bool GetSelection( ESelection& rSelection ) const;
+ virtual sal_Bool SetSelection( const ESelection& rSelection );
+ virtual sal_Bool Copy();
+ virtual sal_Bool Cut();
+ virtual sal_Bool Paste();
};
#endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/forms/source/xforms/resourcehelper.hxx
b/main/forms/source/xforms/resourcehelper.hxx
index d3693c2f0d..9de362b9c6 100644
--- a/main/forms/source/xforms/resourcehelper.hxx
+++ b/main/forms/source/xforms/resourcehelper.hxx
@@ -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,19 +7,18 @@
* 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.
- *
+ *
*************************************************************/
-
#ifndef _RESOURCEHELPER_HXX
#define _RESOURCEHELPER_HXX
@@ -32,17 +31,19 @@ namespace rtl { class OUString; }
namespace xforms
{
- /// get a resource string for the current language
- rtl::OUString getResource( sal_uInt16 );
+ // get a resource string for the current language
+ rtl::OUString getResource( sal_uInt16 );
- // overloaded: get a resource string, and substitute parameters
- rtl::OUString getResource( sal_uInt16, const rtl::OUString& );
- rtl::OUString getResource( sal_uInt16, const rtl::OUString&,
- const rtl::OUString& );
- rtl::OUString getResource( sal_uInt16, const rtl::OUString&,
- const rtl::OUString&,
- const rtl::OUString& );
+ // overloaded: get a resource string, and substitute parameters
+ rtl::OUString getResource( sal_uInt16, const rtl::OUString& );
+ rtl::OUString getResource( sal_uInt16, const rtl::OUString&,
+
const rtl::OUString& );
+ rtl::OUString getResource( sal_uInt16, const rtl::OUString&,
+
const rtl::OUString&,
+
const rtl::OUString& );
} // namespace
#endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/vcl/aqua/source/gdi/atsfonts.hxx
b/main/vcl/aqua/source/gdi/atsfonts.hxx
index df6513b7d6..2eb5f89709 100644
--- a/main/vcl/aqua/source/gdi/atsfonts.hxx
+++ b/main/vcl/aqua/source/gdi/atsfonts.hxx
@@ -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,20 +7,18 @@
* 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.
- *
+ *
*************************************************************/
-// =======================================================================
-
class AtsTextStyle
: public ImplMacTextStyle
{
@@ -37,8 +35,8 @@ public:
virtual void SetTextColor( const RGBAColor& );
private:
- /// ATSU text style object
+ // ATSU text style object
ATSUStyle maATSUStyle;
};
-// =======================================================================
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/vcl/inc/salvd.hxx b/main/vcl/inc/salvd.hxx
index 6c9fb7bf4f..592958e64f 100644
--- a/main/vcl/inc/salvd.hxx
+++ b/main/vcl/inc/salvd.hxx
@@ -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,20 +7,18 @@
* 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.
- *
+ *
*************************************************************/
-
-
#ifndef _SV_SALVD_HXX
#define _SV_SALVD_HXX
@@ -29,26 +27,25 @@
class SalGraphics;
-// --------------------
-// - SalVirtualDevice -
-// --------------------
-
+// SalVirtualDevice
class VCL_PLUGIN_PUBLIC SalVirtualDevice
{
-public: // public for Sal Implementation
- SalVirtualDevice() {}
- virtual ~SalVirtualDevice();
+public: // public for Sal
Implementation
+ SalVirtualDevice() {}
+ virtual ~SalVirtualDevice();
- // SalGraphics or NULL, but two Graphics for all SalVirtualDevices
- // must be returned
- virtual SalGraphics* GetGraphics() = 0;
- virtual void ReleaseGraphics(
SalGraphics* pGraphics ) = 0;
+ // SalGraphics or NULL, but two Graphics for all SalVirtualDevices
+ // must be returned
+ virtual SalGraphics* GetGraphics() = 0;
+ virtual void ReleaseGraphics(
SalGraphics* pGraphics ) = 0;
- // Set new size, without saving the old contents
- virtual sal_Bool SetSize( long nNewDX, long nNewDY ) =
0;
+ // Set new size,
without saving the old contents
+ virtual sal_Bool SetSize( long
nNewDX, long nNewDY ) = 0;
- /// Get actual VDev size in pixel
- virtual void GetSize( long& rWidth,
long& rHeight ) = 0;
+ // Get actual VDev size in pixel
+ virtual void GetSize( long& rWidth,
long& rHeight ) = 0;
};
#endif // _SV_SALVD_HXX
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/xmloff/source/style/XMLFootnoteSeparatorExport.hxx
b/main/xmloff/source/style/XMLFootnoteSeparatorExport.hxx
index 9642720754..3ad8e631d6 100644
--- a/main/xmloff/source/style/XMLFootnoteSeparatorExport.hxx
+++ b/main/xmloff/source/style/XMLFootnoteSeparatorExport.hxx
@@ -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,20 +7,18 @@
* 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.
- *
+ *
*************************************************************/
-
-
#ifndef _XMLOFF_XMLFOOTNOTESEPARATOREXPORT_HXX
#define _XMLOFF_XMLFOOTNOTESEPARATOREXPORT_HXX
@@ -31,10 +29,8 @@ class XMLPropertySetMapper;
struct XMLPropertyState;
template<class X> class UniReference;
-
#include <vector>
-
/**
* export footnote separator element in page styles
*/
@@ -51,8 +47,10 @@ public:
void exportXML(
const ::std::vector<XMLPropertyState> * pProperties,
sal_uInt32 nIdx,
- /// used only for debugging
+ // used only for debugging
const UniReference<XMLPropertySetMapper> & rMapper);
};
#endif
+
+/* vim: set noet sw=4 ts=4: */