You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2025/02/02 00:29:23 UTC
(openoffice) branch AOO42X updated (3a73b3123e -> 0000282a53)
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a change to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
from 3a73b3123e Remove 'oldref' entries (work in progress)
new ebdd2c59b8 Fixed typos, cleanup
new 0000282a53 Fix spelling (#264)
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../source/controller/main/UndoCommandDispatch.cxx | 2 +-
main/cui/source/customize/eventdlg.hrc | 2 +-
.../source/ext/adabas/Acomponentmodule.hxx | 2 +-
main/dbaccess/source/ui/inc/moduledbu.hxx | 2 +-
.../source/processor2d/vclpixelprocessor2d.cxx | 113 ++++++++++-----------
main/extensions/source/inc/componentmodule.hxx | 2 +-
main/formula/source/ui/inc/ModuleHelper.hxx | 2 +-
main/framework/inc/jobs/job.hxx | 4 +-
main/framework/inc/services/logindialog.hxx | 14 +--
main/framework/source/classes/taskcreator.cxx | 2 +-
.../framework/source/dispatch/mailtodispatcher.cxx | 2 +-
main/framework/source/unotypes/fwl.xml | 2 +-
main/idl/source/prj/command.cxx | 2 +-
main/l10ntools/inc/export.hxx | 2 +-
.../com/sun/star/tooling/converter/GSIReader.java | 4 +-
main/l10ntools/source/srclex.l | 2 +-
.../DesktopEnvironment/CustomizeView.java | 20 ++--
.../sun/star/document/ExtendedTypeDetection.idl | 2 +-
.../sun/star/document/StandaloneDocumentInfo.idl | 2 +-
.../com/sun/star/document/XTypeDetection.idl | 2 +-
main/offapi/com/sun/star/frame/XFrameLoader.idl | 2 +-
main/offapi/com/sun/star/frame/XModel.idl | 4 +-
.../com/sun/star/frame/XSynchronousFrameLoader.idl | 2 +-
main/reportdesign/inc/ModuleHelper.hxx | 2 +-
main/rsc/source/rsc/rsc.cxx | 2 +-
main/sal/rtl/source/tres.c | 19 ++--
main/sc/source/ui/pagedlg/hfedtdlg.src | 2 +-
main/sfx2/source/doc/printhelper.cxx | 2 +-
main/solenv/bin/deliver.pl | 2 +-
main/svtools/inc/svtools/fileview.hxx | 73 ++++++-------
main/svx/source/sidebar/line/LinePropertyPanel.hxx | 2 +-
main/unotools/inc/unotools/componentresmodule.hxx | 2 +-
main/uui/source/iahndl-ssl.cxx | 4 +-
main/vcl/source/gdi/outdev2.cxx | 2 +-
34 files changed, 150 insertions(+), 155 deletions(-)
(openoffice) 01/02: Fixed typos, cleanup
Posted by ms...@apache.org.
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
commit ebdd2c59b84f88c9468e657a3530b322d8640ece
Author: mseidel <ms...@apache.org>
AuthorDate: Sun Feb 2 01:27:17 2025 +0100
Fixed typos, cleanup
(cherry picked from commit 922709c981a892574cf33806b25c024a3e6c51ed)
---
.../source/processor2d/vclpixelprocessor2d.cxx | 113 ++++++++++-----------
main/sal/rtl/source/tres.c | 19 ++--
main/svtools/inc/svtools/fileview.hxx | 73 ++++++-------
3 files changed, 100 insertions(+), 105 deletions(-)
diff --git a/main/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/main/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index d8798c804c..1179243cb5 100644
--- a/main/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/main/drawinglayer/source/processor2d/vclpixelprocessor2d.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,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.
- *
+ *
*************************************************************/
-
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_drawinglayer.hxx"
@@ -75,33 +73,33 @@ namespace drawinglayer
// prepare maCurrentTransformation matrix with viewTransformation to target directly to pixels
maCurrentTransformation = rViewInformation.getObjectToViewTransformation();
- // prepare output directly to pixels
- mpOutputDevice->Push(PUSH_MAPMODE);
- mpOutputDevice->SetMapMode();
+ // prepare output directly to pixels
+ mpOutputDevice->Push(PUSH_MAPMODE);
+ mpOutputDevice->SetMapMode();
- // react on AntiAliasing settings
- if(getOptionsDrawinglayer().IsAntiAliasing())
- {
- mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() | ANTIALIASING_ENABLE_B2DDRAW);
- }
- else
- {
- mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() & ~ANTIALIASING_ENABLE_B2DDRAW);
- }
- }
+ // react on AntiAliasing settings
+ if(getOptionsDrawinglayer().IsAntiAliasing())
+ {
+ mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() | ANTIALIASING_ENABLE_B2DDRAW);
+ }
+ else
+ {
+ mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() & ~ANTIALIASING_ENABLE_B2DDRAW);
+ }
+ }
VclPixelProcessor2D::~VclPixelProcessor2D()
{
- // restore MapMode
- mpOutputDevice->Pop();
+ // restore MapMode
+ mpOutputDevice->Pop();
- // restore AntiAliasing
- mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() & ~ANTIALIASING_ENABLE_B2DDRAW);
+ // restore AntiAliasing
+ mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() & ~ANTIALIASING_ENABLE_B2DDRAW);
}
- bool VclPixelProcessor2D::tryDrawPolyPolygonColorPrimitive2DDirect(const drawinglayer::primitive2d::PolyPolygonColorPrimitive2D& rSource, double fTransparency)
- {
- basegfx::B2DPolyPolygon aLocalPolyPolygon(rSource.getB2DPolyPolygon());
+ bool VclPixelProcessor2D::tryDrawPolyPolygonColorPrimitive2DDirect(const drawinglayer::primitive2d::PolyPolygonColorPrimitive2D& rSource, double fTransparency)
+ {
+ basegfx::B2DPolyPolygon aLocalPolyPolygon(rSource.getB2DPolyPolygon());
if(!aLocalPolyPolygon.count())
{
@@ -115,7 +113,7 @@ namespace drawinglayer
mpOutputDevice->SetLineColor();
aLocalPolyPolygon.transform(maCurrentTransformation);
mpOutputDevice->DrawTransparent(
- aLocalPolyPolygon,
+ aLocalPolyPolygon,
fTransparency);
return true;
@@ -139,8 +137,8 @@ namespace drawinglayer
// try drawing; if it did not work, use standard fallback
if(mpOutputDevice->TryDrawPolyLineDirect(
- aLocalPolygon,
- 0.0,
+ aLocalPolygon,
+ 0.0,
fTransparency))
{
return true;
@@ -171,10 +169,10 @@ namespace drawinglayer
{
// apply LineStyle
basegfx::tools::applyLineDashing(
- aLocalPolygon,
- rSource.getStrokeAttribute().getDotDashArray(),
- &aHairLinePolyPolygon,
- 0,
+ aLocalPolygon,
+ rSource.getStrokeAttribute().getDotDashArray(),
+ &aHairLinePolyPolygon,
+ 0,
rSource.getStrokeAttribute().getFullDotDashLen());
}
@@ -214,8 +212,8 @@ namespace drawinglayer
bHasPoints = true;
if(mpOutputDevice->TryDrawPolyLineDirect(
- aSingle,
- fLineWidth,
+ aSingle,
+ fLineWidth,
fTransparency,
rSource.getLineAttribute().getLineJoin(),
rSource.getLineAttribute().getLineCap()))
@@ -248,8 +246,8 @@ namespace drawinglayer
const primitive2d::WrongSpellPrimitive2D& rWrongSpellPrimitive = static_cast< const primitive2d::WrongSpellPrimitive2D& >(rCandidate);
if(!renderWrongSpellPrimitive2D(
- rWrongSpellPrimitive,
- *mpOutputDevice,
+ rWrongSpellPrimitive,
+ *mpOutputDevice,
maCurrentTransformation,
maBColorModifierStack))
{
@@ -280,10 +278,10 @@ namespace drawinglayer
{
process(rCandidate.get2DDecomposition(getViewInformation2D()));
}
-
+
// restore DrawMode
mpOutputDevice->SetDrawMode(nOriginalDrawMode);
-
+
break;
}
case PRIMITIVE2D_ID_TEXTDECORATEDPORTIONPRIMITIVE2D :
@@ -453,12 +451,12 @@ namespace drawinglayer
// use new Metafile decomposition
process(rCandidate.get2DDecomposition(getViewInformation2D()));
-
+
if(bForceLineSnap)
{
mpOutputDevice->SetAntialiasing(nOldAntiAliase);
}
-
+
break;
}
case PRIMITIVE2D_ID_MASKPRIMITIVE2D :
@@ -492,7 +490,7 @@ namespace drawinglayer
bool bDrawTransparentUsed(false);
// since DEV300 m33 DrawTransparent is supported in VCL (for some targets
- // natively), so i am now enabling this shortcut
+ // natively), so I am now enabling this shortcut
static bool bAllowUsingDrawTransparent(true);
if(bAllowUsingDrawTransparent && 1 == rContent.getLength())
@@ -521,7 +519,7 @@ namespace drawinglayer
// do no tallow by default - problem is that self-overlapping parts of this geometry will
// not be in a all-same transparency but will already alpha-cover themselves with blending.
// This is not what the UnifiedTransparencePrimitive2D defines: It requires all it's
- // content to be uniformely transparent.
+ // content to be uniformly transparent.
// For hairline the effect is pretty minimal, but still not correct.
static bool bAllowed(false);
@@ -537,8 +535,8 @@ namespace drawinglayer
// do no tallow by default - problem is that self-overlapping parts of this geometry will
// not be in a all-same transparency but will already alpha-cover themselves with blending.
// This is not what the UnifiedTransparencePrimitive2D defines: It requires all it's
- // content to be uniformely transparent.
- // To check, acitvate and draw a wide transparent self-crossing line/curve
+ // content to be uniformly transparent.
+ // To check, activate and draw a wide transparent self-crossing line/curve
static bool bAllowed(false);
bDrawTransparentUsed = bAllowed && tryDrawPolygonStrokePrimitive2DDirect(*pPoStroke, rUniTransparenceCandidate.getTransparence());
@@ -614,17 +612,17 @@ namespace drawinglayer
// it does not need to be painted at all.
uno::Reference< awt::XWindow2 > xControlWindow(rXControl, uno::UNO_QUERY_THROW);
const bool bControlIsVisibleAsChildWindow(rXControl->getPeer().is() && xControlWindow->isVisible());
-
+
if(!bControlIsVisibleAsChildWindow)
{
// draw it. Do not forget to use the evtl. offsetted origin of the target device,
// e.g. when used with mask/transparence buffer device
const Point aOrigin(mpOutputDevice->GetMapMode().GetOrigin());
xControlView->draw(
- aOrigin.X() + basegfx::fround(aTopLeftPixel.getX()),
+ aOrigin.X() + basegfx::fround(aTopLeftPixel.getX()),
aOrigin.Y() + basegfx::fround(aTopLeftPixel.getY()));
}
-
+
// restore original graphics
xControlView->setGraphics(xOriginalGraphics);
}
@@ -634,7 +632,7 @@ namespace drawinglayer
// #i116763# removing since there is a good alternative when the xControlView
// is not found and it is allowed to happen
// DBG_UNHANDLED_EXCEPTION();
-
+
// process recursively and use the decomposition as Bitmap
process(rCandidate.get2DDecomposition(getViewInformation2D()));
}
@@ -675,8 +673,8 @@ namespace drawinglayer
}
else
{
- // Lines with 1 and 2 pixel width without AA need special treatment since their vsiualisation
- // as filled polygons is geometrically corret but looks wrong since polygon filling avoids
+ // Lines with 1 and 2 pixel width without AA need special treatment since their visualization
+ // as filled polygons is geometrically correct but looks wrong since polygon filling avoids
// the right and bottom pixels. The used method evaluates that and takes the correct action,
// including calling recursively with decomposition if line is wide enough
RenderPolygonStrokePrimitive2D(rPolygonStrokePrimitive2D);
@@ -693,19 +691,19 @@ namespace drawinglayer
if(bForceIgnoreHatchSmoothing || getOptionsDrawinglayer().IsAntiAliasing())
{
- // if AA is used (or ignore smoothing is on), there is no need to smooth
+ // if AA is used (or ignore smoothing is on), there is no need to smooth
// hatch painting, use decomposition
process(rCandidate.get2DDecomposition(getViewInformation2D()));
}
else
{
- // without AA, use VCL to draw the hatch. It snaps hatch distances to the next pixel
- // and forces hatch distance to be >= 3 pixels to make the hatch display look smoother.
+ // without AA, use VCL to draw the hatch. It snaps hatch distances to the next pixel
+ // and forces hatch distance to be >= 3 pixels to make the hatch display look smoother.
// This is wrong in principle, but looks nicer. This could also be done here directly
// without VCL usage if needed
const primitive2d::FillHatchPrimitive2D& rFillHatchPrimitive = static_cast< const primitive2d::FillHatchPrimitive2D& >(rCandidate);
const attribute::FillHatchAttribute& rFillHatchAttributes = rFillHatchPrimitive.getFillHatch();
-
+
// create hatch polygon in range size and discrete coordinates
basegfx::B2DRange aHatchRange(rFillHatchPrimitive.getOutputRange());
aHatchRange.transform(maCurrentTransformation);
@@ -715,7 +713,7 @@ namespace drawinglayer
{
// #i111846# background fill is active; draw fill polygon
const basegfx::BColor aPolygonColor(maBColorModifierStack.getModifiedColor(rFillHatchPrimitive.getBColor()));
-
+
mpOutputDevice->SetFillColor(Color(aPolygonColor));
mpOutputDevice->SetLineColor();
mpOutputDevice->DrawPolygon(aHatchPolygon);
@@ -837,5 +835,4 @@ namespace drawinglayer
} // end of namespace processor2d
} // end of namespace drawinglayer
-//////////////////////////////////////////////////////////////////////////////
-// eof
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/sal/rtl/source/tres.c b/main/sal/rtl/source/tres.c
index 2a81700891..892c1fc17d 100644
--- a/main/sal/rtl/source/tres.c
+++ b/main/sal/rtl/source/tres.c
@@ -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.
- *
+ *
*************************************************************/
-
-
#include <stdio.h>
#include <rtl/tres.h>
#include <osl/diagnose.h>
@@ -158,7 +156,7 @@ static rtl_TestResult_vtable trVTable =
* create and initialize data struct for TestResult
*
* @param const sal_Char* meth = name of the method (entryname)
- * @param sal_uInt32 flags = bitmap of comandline and status flags
+ * @param sal_uInt32 flags = bitmap of commandline and status flags
*
* @return rtl_TestResult* = pointer to a new allocated testresult struct
*/
@@ -321,7 +319,7 @@ rtl_CmpState* SAL_CALL rtl_tres_create_cmpstate(
* rtl_tres_destroy
* free allocated memory of testresult data struct
*
- * @param rtl_TestResult* pThis_ = ponter to a valid testresult struct
+ * @param rtl_TestResult* pThis_ = pointer to a valid testresult struct
*/
void SAL_CALL rtl_tres_destroy( rtl_TestResult* pThis_ )
{
@@ -332,7 +330,7 @@ void SAL_CALL rtl_tres_destroy( rtl_TestResult* pThis_ )
if ( pData->m_state )
rtl_tres_destroy_funcstates( pData->m_state );
- /* free allocted memory and reinitialize to zero */
+ /* free allocated memory and reinitialize to zero */
/* to be able to prevent dangling pointer access*/
free( pData ); pData = NULL;
}
@@ -454,7 +452,7 @@ static sal_Bool SAL_CALL rtl_tres_state(
/* indicate this state as substate */
rtl_tres_setbit( pFunc, rtl_tres_Flag_SUB );
- /* indicate prvious state as passed if no masterstate */
+ /* indicate previous state as passed if no masterstate */
if ( pFunc->m_prev != pData->m_state )
rtl_tres_setbit( pFunc->m_prev, rtl_tres_Flag_PASSED );
}
@@ -679,4 +677,3 @@ rtl_cmpstate SAL_CALL rtl_tres_getnextcmpstate( rtl_cmpstate cstate)
// }
//} // </method_logPrintf>
*/
-
diff --git a/main/svtools/inc/svtools/fileview.hxx b/main/svtools/inc/svtools/fileview.hxx
index 7245e4cb35..22e334cc89 100644
--- a/main/svtools/inc/svtools/fileview.hxx
+++ b/main/svtools/inc/svtools/fileview.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 _SVT_FILEVIEW_HXX
#define _SVT_FILEVIEW_HXX
@@ -54,30 +53,30 @@ class IUrlFilter;
/// the result of an action in the FileView
enum FileViewResult
{
- eSuccess,
- eFailure,
- eTimeout,
- eStillRunning
+ eSuccess,
+ eFailure,
+ eTimeout,
+ eStillRunning
};
/// describes parameters for doing an action on the FileView asynchronously
struct FileViewAsyncAction
{
- sal_uInt32 nMinTimeout; /// minimum time to wait for a result, in milliseconds
- sal_uInt32 nMaxTimeout; /// maximum time to wait for a result, in milliseconds, until eTimeout is returned
- Link aFinishHandler; /// the handler to be called when the action is finished. Called in every case, no matter of the result
-
- FileViewAsyncAction()
- {
- nMinTimeout = nMaxTimeout = 0;
- }
+ sal_uInt32 nMinTimeout; /// minimum time to wait for a result, in milliseconds
+ sal_uInt32 nMaxTimeout; /// maximum time to wait for a result, in milliseconds, until eTimeout is returned
+ Link aFinishHandler; /// the handler to be called when the action is finished. Called in every case, no matter of the result
+
+ FileViewAsyncAction()
+ {
+ nMinTimeout = nMaxTimeout = 0;
+ }
};
class SVT_DLLPUBLIC SvtFileView : public Control
{
private:
- SvtFileView_Impl* mpImp;
-
+ SvtFileView_Impl* mpImp;
+
::com::sun::star::uno::Sequence< ::rtl::OUString > mpBlackList;
SVT_DLLPRIVATE void OpenFolder( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aContents );
@@ -93,20 +92,20 @@ public:
SvtFileView( Window* pParent, const ResId& rResId, sal_Int8 nFlags );
~SvtFileView();
- const String& GetViewURL() const;
+ const String& GetViewURL() const;
String GetURL( SvLBoxEntry* pEntry ) const;
String GetCurrentURL() const;
- sal_Bool GetParentURL( String& _rParentURL ) const;
+ sal_Bool GetParentURL( String& _rParentURL ) const;
sal_Bool CreateNewFolder( const String& rNewFolder );
void SetHelpId( const rtl::OString& rHelpId );
const rtl::OString& GetHelpId( ) const;
void SetSizePixel( const Size& rNewSize );
- using Window::SetPosSizePixel;
+ using Window::SetPosSizePixel;
virtual void SetPosSizePixel( const Point& rNewPos, const Size& rNewSize );
- /** initialize the view with the content of a folder given by URL, and aply an immediate filter
+ /** initialize the view with the content of a folder given by URL, and apply an immediate filter
@param rFolderURL
the URL of the folder whose content is to be read
@@ -127,7 +126,7 @@ public:
const String& rFolderURL,
const String& rFilter,
const FileViewAsyncAction* pAsyncDescriptor );
- /** initialze the view with a sequence of contents, which have already been obtained elsewhere
+ /** initialize the view with a sequence of contents, which have already been obtained elsewhere
This method will never return <member>eStillRunning</member>, since it will fill the
view synchronously
@@ -136,7 +135,7 @@ public:
/** initializes the view with the content of a folder given by an UCB content
*/
- sal_Bool Initialize( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent>& _xContent,
+ sal_Bool Initialize( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent>& _xContent,
const String& rFilter );
/** reads the current content of the current folder again, and applies the given filter to it
@@ -178,12 +177,12 @@ public:
const FileViewAsyncAction* pAsyncDescriptor
);
- void SetNoSelection();
+ void SetNoSelection();
void ResetCursor();
void SetSelectHdl( const Link& rHdl );
void SetDoubleClickHdl( const Link& rHdl );
- void SetOpenDoneHdl( const Link& rHdl );
+ void SetOpenDoneHdl( const Link& rHdl );
sal_uLong GetSelectionCount() const;
SvLBoxEntry* FirstSelected() const;
@@ -191,8 +190,8 @@ public:
void EnableAutoResize();
void SetFocus();
- void EnableContextMenu( sal_Bool bEnable );
- void EnableDelete( sal_Bool bEnable );
+ void EnableContextMenu( sal_Bool bEnable );
+ void EnableDelete( sal_Bool bEnable );
void EnableNameReplacing( sal_Bool bEnable = sal_True );
// translate folder names or display doc-title instead of file name
// EnableContextMenu( sal_True )/EnableDelete(sal_True) disable name replacing!
@@ -201,13 +200,13 @@ public:
String GetConfigString() const;
void SetConfigString( const String& rCfgStr );
- void SetUrlFilter( const IUrlFilter* _pFilter );
- const IUrlFilter* GetUrlFilter( ) const;
+ void SetUrlFilter( const IUrlFilter* _pFilter );
+ const IUrlFilter* GetUrlFilter( ) const;
- void EndInplaceEditing( bool _bCancel );
+ void EndInplaceEditing( bool _bCancel );
protected:
- virtual void StateChanged( StateChangedType nStateChange );
+ virtual void StateChanged( StateChangedType nStateChange );
};
// struct SvtContentEntry ------------------------------------------------
@@ -246,7 +245,7 @@ class SVT_DLLPUBLIC QueryDeleteDlg_Impl : public ModalDialog
PushButton _aNoButton;
CancelButton _aCancelButton;
- QueryDeleteResult_Impl _eResult;
+ QueryDeleteResult_Impl _eResult;
private:
@@ -257,10 +256,12 @@ public:
QueryDeleteDlg_Impl( Window* pParent,
const String& rName );
- void EnableAllButton() { _aAllButton.Enable( sal_True ); }
- QueryDeleteResult_Impl GetResult() const { return _eResult; }
+ void EnableAllButton() { _aAllButton.Enable( sal_True ); }
+ QueryDeleteResult_Impl GetResult() const { return _eResult; }
};
}
#endif // _SVT_FILEVIEW_HXX
+
+/* vim: set noet sw=4 ts=4: */
(openoffice) 02/02: Fix spelling (#264)
Posted by ms...@apache.org.
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
commit 0000282a53efebaf4bde5420fa4cc015ec57c997
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Sun Feb 2 10:25:02 2025 +1000
Fix spelling (#264)
* Fix spelling
* Update ignored words list
* Update main/idl/source/prj/command.cxx
* Update taskcreator.cxx
---------
Co-authored-by: Matthias Seidel <ms...@apache.org>
(cherry picked from commit 02f6802c77ace808e269c1d4bacf01c937aadce1)
---
.../source/controller/main/UndoCommandDispatch.cxx | 2 +-
main/cui/source/customize/eventdlg.hrc | 2 +-
main/dbaccess/source/ext/adabas/Acomponentmodule.hxx | 2 +-
main/dbaccess/source/ui/inc/moduledbu.hxx | 2 +-
main/extensions/source/inc/componentmodule.hxx | 2 +-
main/formula/source/ui/inc/ModuleHelper.hxx | 2 +-
main/framework/inc/jobs/job.hxx | 4 ++--
main/framework/inc/services/logindialog.hxx | 14 +++++++-------
main/framework/source/classes/taskcreator.cxx | 2 +-
main/framework/source/dispatch/mailtodispatcher.cxx | 2 +-
main/framework/source/unotypes/fwl.xml | 2 +-
main/idl/source/prj/command.cxx | 2 +-
main/l10ntools/inc/export.hxx | 2 +-
.../com/sun/star/tooling/converter/GSIReader.java | 4 ++--
main/l10ntools/source/srclex.l | 2 +-
.../OfficeDev/DesktopEnvironment/CustomizeView.java | 20 ++++++++++----------
.../com/sun/star/document/ExtendedTypeDetection.idl | 2 +-
.../com/sun/star/document/StandaloneDocumentInfo.idl | 2 +-
main/offapi/com/sun/star/document/XTypeDetection.idl | 2 +-
main/offapi/com/sun/star/frame/XFrameLoader.idl | 2 +-
main/offapi/com/sun/star/frame/XModel.idl | 4 ++--
.../com/sun/star/frame/XSynchronousFrameLoader.idl | 2 +-
main/reportdesign/inc/ModuleHelper.hxx | 2 +-
main/rsc/source/rsc/rsc.cxx | 2 +-
main/sc/source/ui/pagedlg/hfedtdlg.src | 2 +-
main/sfx2/source/doc/printhelper.cxx | 2 +-
main/solenv/bin/deliver.pl | 2 +-
main/svx/source/sidebar/line/LinePropertyPanel.hxx | 2 +-
main/unotools/inc/unotools/componentresmodule.hxx | 2 +-
main/uui/source/iahndl-ssl.cxx | 4 ++--
main/vcl/source/gdi/outdev2.cxx | 2 +-
31 files changed, 50 insertions(+), 50 deletions(-)
diff --git a/main/chart2/source/controller/main/UndoCommandDispatch.cxx b/main/chart2/source/controller/main/UndoCommandDispatch.cxx
index 8ed0033f5d..48322cb203 100644
--- a/main/chart2/source/controller/main/UndoCommandDispatch.cxx
+++ b/main/chart2/source/controller/main/UndoCommandDispatch.cxx
@@ -35,7 +35,7 @@
#include <vcl/svapp.hxx>
#include <tools/diagnose_ex.h>
-// for ressource strings STR_UNDO and STR_REDO
+// for resource strings STR_UNDO and STR_REDO
#include <svtools/svtools.hrc>
#include <svtools/svtdata.hxx>
diff --git a/main/cui/source/customize/eventdlg.hrc b/main/cui/source/customize/eventdlg.hrc
index 0f414c8ebb..f83ee67356 100644
--- a/main/cui/source/customize/eventdlg.hrc
+++ b/main/cui/source/customize/eventdlg.hrc
@@ -21,7 +21,7 @@
-/* StarView ressource header file */
+/* StarView resource header file */
////DF temp to figure out what's needed from these
//DF #include "sfx.hrc"
diff --git a/main/dbaccess/source/ext/adabas/Acomponentmodule.hxx b/main/dbaccess/source/ext/adabas/Acomponentmodule.hxx
index f200e24938..3450ed5d17 100644
--- a/main/dbaccess/source/ext/adabas/Acomponentmodule.hxx
+++ b/main/dbaccess/source/ext/adabas/Acomponentmodule.hxx
@@ -175,7 +175,7 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService
//=========================================================================
//= ModuleRes
//=========================================================================
- /** specialized ResId, using the ressource manager provided by the global module
+ /** specialized ResId, using the resource manager provided by the global module
*/
class ModuleRes : public ::ResId
{
diff --git a/main/dbaccess/source/ui/inc/moduledbu.hxx b/main/dbaccess/source/ui/inc/moduledbu.hxx
index 32620629a2..20240d7ecb 100644
--- a/main/dbaccess/source/ui/inc/moduledbu.hxx
+++ b/main/dbaccess/source/ui/inc/moduledbu.hxx
@@ -87,7 +87,7 @@ public:
//=========================================================================
//= ModuleRes
//=========================================================================
-/** specialized ResId, using the ressource manager provided by the global module
+/** specialized ResId, using the resource manager provided by the global module
*/
class ModuleRes : public ::ResId
{
diff --git a/main/extensions/source/inc/componentmodule.hxx b/main/extensions/source/inc/componentmodule.hxx
index 9afcc31775..16d9310cb4 100644
--- a/main/extensions/source/inc/componentmodule.hxx
+++ b/main/extensions/source/inc/componentmodule.hxx
@@ -159,7 +159,7 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService
//=========================================================================
//= ModuleRes
//=========================================================================
- /** specialized ResId, using the ressource manager provided by the global module
+ /** specialized ResId, using the resource manager provided by the global module
*/
class ModuleRes : public ::ResId
{
diff --git a/main/formula/source/ui/inc/ModuleHelper.hxx b/main/formula/source/ui/inc/ModuleHelper.hxx
index 723a4cdb6a..d4a7781135 100644
--- a/main/formula/source/ui/inc/ModuleHelper.hxx
+++ b/main/formula/source/ui/inc/ModuleHelper.hxx
@@ -79,7 +79,7 @@ namespace formula
//=========================================================================
//= ModuleRes
//=========================================================================
- /** specialized ResId, using the ressource manager provided by the global module
+ /** specialized ResId, using the resource manager provided by the global module
*/
class FORMULA_DLLPUBLIC ModuleRes : public ::ResId
{
diff --git a/main/framework/inc/jobs/job.hxx b/main/framework/inc/jobs/job.hxx
index e91e7a4a07..8d14257bb7 100644
--- a/main/framework/inc/jobs/job.hxx
+++ b/main/framework/inc/jobs/job.hxx
@@ -123,7 +123,7 @@ class Job : public css::lang::XTypeProvider
/**
For some special cases we must know the environment, in which
this job runs. Means the frame inside which we may was triggered.
- We use it too, to listen for closing events of this ressource.
+ We use it too, to listen for closing events of this resource.
Please note: If m_xFrame is set - m_xModel should be NULL.
Only one environment can be supported really.
@@ -133,7 +133,7 @@ class Job : public css::lang::XTypeProvider
/**
For some special cases we must know the environment, in which
this job runs. Means the document inside which we may was triggered.
- We use it too, to listen for closing events of this ressource.
+ We use it too, to listen for closing events of this resource.
Please note: If m_xModel is set - m_xFrame should be NULL.
Only one environment can be supported really.
diff --git a/main/framework/inc/services/logindialog.hxx b/main/framework/inc/services/logindialog.hxx
index 297f1f86e2..23f6cf8f5b 100644
--- a/main/framework/inc/services/logindialog.hxx
+++ b/main/framework/inc/services/logindialog.hxx
@@ -282,11 +282,11 @@ class cIMPL_Dialog : public ModalDialog
@short default ctor
@descr This ctor initialize the dialog, load ressources but not set values on edits or check boxes!
These is implemented by setValues() on the same class.
- You must give us a language identifier to describe which ressource should be used!
+ You must give us a language identifier to describe which resource should be used!
@seealso method setValues()
- @param "aLanguage" , identifier to describe ressource language
+ @param "aLanguage" , identifier to describe resource language
@param "pParent" , parent window handle for dialog! If is it NULL -> no parent exist ...
@return -
@@ -368,16 +368,16 @@ class cIMPL_Dialog : public ModalDialog
void getProxyHostPort( const OUSTRING& aProxyHostPort, OUSTRING& aHost, OUSTRING& aPort );
/*-****************************************************************************************************//**
- @short get a ressource for given id from right ressource file
- @descr This dialog need his own ressource. We can't use the global ressource manager!
+ @short get a resource for given id from right resource file
+ @descr This dialog need his own resource. We can't use the global resource manager!
We must use our own.
- You must give us the ressource language. If no right ressource could be found -
+ You must give us the resource language. If no right resource could be found -
any existing one is used automatically!
@seealso method setValues()
- @param "nId" ; id to convert it in right ressource id
- @param "aLanguage" ; type of ressource language
+ @param "nId" ; id to convert it in right resource id
+ @param "aLanguage" ; type of resource language
@return -
@onerror -
diff --git a/main/framework/source/classes/taskcreator.cxx b/main/framework/source/classes/taskcreator.cxx
index 59a52be401..722fca9443 100644
--- a/main/framework/source/classes/taskcreator.cxx
+++ b/main/framework/source/classes/taskcreator.cxx
@@ -85,7 +85,7 @@ TaskCreator::TaskCreator( const css::uno::Reference< css::lang::XMultiServiceFac
/*-****************************************************************************************************//**
@short deinitialize instance
- @descr We should release all used ressource which are not needed any longer.
+ @descr We should release all used resources which are not needed any longer.
@modified 16.05.2002 09:33, as96863
*//*-*****************************************************************************************************/
diff --git a/main/framework/source/dispatch/mailtodispatcher.cxx b/main/framework/source/dispatch/mailtodispatcher.cxx
index fab1bb4074..ab7efaa445 100644
--- a/main/framework/source/dispatch/mailtodispatcher.cxx
+++ b/main/framework/source/dispatch/mailtodispatcher.cxx
@@ -257,7 +257,7 @@ void SAL_CALL MailToDispatcher::dispatchWithNotification( const css::util::URL&
@return <TRUE/> if dispatch could be started successfully
Note: Our internal used shell executor doesn't return any state value - so we must
believe that call was successfully.
- <FALSE/> if necessary ressource couldn't be created or an exception was thrown.
+ <FALSE/> if necessary resource couldn't be created or an exception was thrown.
@modified 30.04.2002 14:49, as96863
*/
diff --git a/main/framework/source/unotypes/fwl.xml b/main/framework/source/unotypes/fwl.xml
index 1b1a61bc80..72d05f50ea 100644
--- a/main/framework/source/unotypes/fwl.xml
+++ b/main/framework/source/unotypes/fwl.xml
@@ -31,7 +31,7 @@
<author> Andreas Schluens </author>
<name> com.sun.star.comp.framework.TypeDetection </name>
<description>
- Supports a type detection of a specified ressource (document).
+ Supports a type detection of a specified resource (document).
</description>
<loader-name> com.sun.star.loader.SharedLibrary </loader-name>
<language> c++ </language>
diff --git a/main/idl/source/prj/command.cxx b/main/idl/source/prj/command.cxx
index a1db81ae2a..e8fe7b919e 100644
--- a/main/idl/source/prj/command.cxx
+++ b/main/idl/source/prj/command.cxx
@@ -122,7 +122,7 @@ char CommandLineSyntax[] =
"-fs<slotmap file> -fl<listing file>\n"
"-fo<odl file> -fd<data base file>\n"
"-fi<item implementation> -ft<type library file> (not OLE)\n"
-"-fr<ressource file> -fm<makefile target file>\n"
+"-fr<resource file> -fm<makefile target file>\n"
"-fC<c++ source file> -fH<c++ header file>\n"
"-fc<c source file> -fh<c header file>\n"
"-rsc <*.srs header line>\n"
diff --git a/main/l10ntools/inc/export.hxx b/main/l10ntools/inc/export.hxx
index 82c6e7136d..29fa34823f 100644
--- a/main/l10ntools/inc/export.hxx
+++ b/main/l10ntools/inc/export.hxx
@@ -438,7 +438,7 @@ public:
//
/******************************************************************************
-* Purpose: holds information of data to merge (one ressource)
+* Purpose: holds information of data to merge (one resource)
******************************************************************************/
class MergeDataFile;
diff --git a/main/l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/GSIReader.java b/main/l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/GSIReader.java
index 4c4409b603..f5b1748501 100644
--- a/main/l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/GSIReader.java
+++ b/main/l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/GSIReader.java
@@ -178,7 +178,7 @@ public class GSIReader extends DataReader {
if ((lang = languageResolver.getISOfromNr((String) GSILine
.get("languageNr"))).equals(this.sourceLanguage)) {
// ok..store it as Source String under the depending
- // ressource type
+ // resource type
((Map) GSIBlock.get(sourceLanguage)).put("Source"
+ ResTypeResolver.getInternKey((String) GSILine
@@ -193,7 +193,7 @@ public class GSIReader extends DataReader {
if (lang.equals(this.targetLanguage)) {
// ok..store it as target String under the depending
- // ressource type
+ // resource type
((Map) GSIBlock.get(targetLanguage)).put("Target"
+ ResTypeResolver.getInternKey((String) GSILine
.get("resType")), GSILine
diff --git a/main/l10ntools/source/srclex.l b/main/l10ntools/source/srclex.l
index b1d0a45280..06a439f02a 100644
--- a/main/l10ntools/source/srclex.l
+++ b/main/l10ntools/source/srclex.l
@@ -21,7 +21,7 @@
*
*************************************************************/
/*
- * lexer for parsing ressource source files (*.src)
+ * lexer for parsing resource source files (*.src)
*
*/
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index 7f170b2df5..162b52eab4 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -121,8 +121,8 @@ public class CustomizeView extends JPanel
/**
* set new frame for this view
- * We start listening for frame action/status and click events instandly.
- * If an event occure we use it to synchronize our controls
+ * We start listening for frame action/status and click events instantly.
+ * If an event occurred we use it to synchronize our controls
* with states of a (my be) new document view of this frame.
*
* @param xFrame
@@ -139,7 +139,7 @@ public class CustomizeView extends JPanel
return;
// be listener for click events
- // They will toogle the UI controls.
+ // They will toggle the UI controls.
ClickListener aMenuBarHandler = new ClickListener(FEATUREURL_MENUBAR ,FEATUREPROP_MENUBAR ,xFrame);
ClickListener aToolBarHandler = new ClickListener(FEATUREURL_TOOLBAR ,FEATUREPROP_TOOLBAR ,xFrame);
ClickListener aObjectBarHandler = new ClickListener(FEATUREURL_OBJECTBAR,FEATUREPROP_OBJECTBAR,xFrame);
@@ -165,9 +165,9 @@ public class CustomizeView extends JPanel
/**
* react for click events of the used check boxes
* We use our internal set dispatch objects to
- * call it. This calls toogle the menu/object- or toolbar.
+ * call it. This calls toggle the menu/object- or toolbar.
* Note: Because we are listener status events too - hopefully
- * we get a notification, if toogling was successfully or not.
+ * we get a notification, if toggling was successfully or not.
* We use this information to update our check boxes again.
* But such update doesn't force (hopefully) an action event. Otherwise
* we can produce a never ending recursion!
@@ -179,7 +179,7 @@ public class CustomizeView extends JPanel
class ClickListener implements ActionListener,
com.sun.star.lang.XEventListener
{
- /// URL, to toogle the requested UI item
+ /// URL, to toggle the requested UI item
String m_sURL;
/// name of the property which must be used in combination with the URL
String m_sProp;
@@ -205,15 +205,15 @@ public class CustomizeView extends JPanel
/**
* callback for action events
- * Such events occure if somehwere click the
+ * Such events occur if somewhere click the
* JCheckBox control on which we are registered.
- * Such events doesn't occure if we set it programmaticly
+ * Such events doesn't occur if we set it programmatically
* (e.g. if we get status events to -> see class StatusListener too)
*
* @param aEvent
* describes the check box and his state
- * we can use to toogle the requested office
- * ressource.
+ * we can use to toggle the requested office
+ * resource.
*/
public void actionPerformed(ActionEvent aEvent)
{
diff --git a/main/offapi/com/sun/star/document/ExtendedTypeDetection.idl b/main/offapi/com/sun/star/document/ExtendedTypeDetection.idl
index 470fa00d06..c7fb05e604 100644
--- a/main/offapi/com/sun/star/document/ExtendedTypeDetection.idl
+++ b/main/offapi/com/sun/star/document/ExtendedTypeDetection.idl
@@ -87,7 +87,7 @@ published service ExtendedTypeDetection
May be that given descriptor already includes the opened document stream as parameter
<member>MediaDescriptor::InputStream</member>. Then this one should be used every time.
If it's not included in descriptor the value of <member>MediaDescriptor::URL</member>
- must be used to open requested ressource by this service.
+ must be used to open requested resource by this service.
<br>
Note: The stream should be added to the descriptor if it wasn't a part of them before.
So further steps on the whole detection process can use it and will perform her work.
diff --git a/main/offapi/com/sun/star/document/StandaloneDocumentInfo.idl b/main/offapi/com/sun/star/document/StandaloneDocumentInfo.idl
index ffb36e7456..7dae7b171a 100644
--- a/main/offapi/com/sun/star/document/StandaloneDocumentInfo.idl
+++ b/main/offapi/com/sun/star/document/StandaloneDocumentInfo.idl
@@ -54,7 +54,7 @@
published service StandaloneDocumentInfo
{
//-------------------------------------------------------------------------
- /** use it to specify ressource or target of document info data
+ /** use it to specify resource or target of document info data
<p>
Must be the first action on this service. Otherwise all properties will be void.
diff --git a/main/offapi/com/sun/star/document/XTypeDetection.idl b/main/offapi/com/sun/star/document/XTypeDetection.idl
index 999c5a2460..8b0d8772b3 100644
--- a/main/offapi/com/sun/star/document/XTypeDetection.idl
+++ b/main/offapi/com/sun/star/document/XTypeDetection.idl
@@ -96,7 +96,7 @@ published interface XTypeDetection: com::sun::star::uno::XInterface
</p>
@param Descriptor
- means the <type>MediaDescriptor</type> which specify the ressource for detection
+ means the <type>MediaDescriptor</type> which specify the resource for detection
@param AllowDeep
if it is set to <TRUE/> a "deep" detection will be follow a "flat" detection
diff --git a/main/offapi/com/sun/star/frame/XFrameLoader.idl b/main/offapi/com/sun/star/frame/XFrameLoader.idl
index 089e053400..05d9d5c5a5 100644
--- a/main/offapi/com/sun/star/frame/XFrameLoader.idl
+++ b/main/offapi/com/sun/star/frame/XFrameLoader.idl
@@ -64,7 +64,7 @@ published interface XFrameLoader: com::sun::star::uno::XInterface
specifies the loading target
@param URL
- describes the ressource of loading component
+ describes the resource of loading component
Support of special protocols are implementation details
and depends from the environment.
diff --git a/main/offapi/com/sun/star/frame/XModel.idl b/main/offapi/com/sun/star/frame/XModel.idl
index 9d505f8b18..f02b6fe91f 100644
--- a/main/offapi/com/sun/star/frame/XModel.idl
+++ b/main/offapi/com/sun/star/frame/XModel.idl
@@ -81,10 +81,10 @@ published interface XModel: com::sun::star::lang::XComponent
/** informs a model about its resource description.
@param URL
- specifies the ressource
+ specifies the resource
@param Arguments
- are optional arguments for that ressource
+ are optional arguments for that resource
(see <type scope="com::sun::star::document">MediaDescriptor</type>)
@return
diff --git a/main/offapi/com/sun/star/frame/XSynchronousFrameLoader.idl b/main/offapi/com/sun/star/frame/XSynchronousFrameLoader.idl
index 95618bcc55..9da45b6aa2 100644
--- a/main/offapi/com/sun/star/frame/XSynchronousFrameLoader.idl
+++ b/main/offapi/com/sun/star/frame/XSynchronousFrameLoader.idl
@@ -54,7 +54,7 @@ published interface XSynchronousFrameLoader: com::sun::star::uno::XInterface
/** starts the loading of the specified resource into the specified <type>Frame</type>.
@param Descriptor
- describes the ressource which should be loaded
+ describes the resource which should be loaded
It use a <type scope="com::sun::star::document">MediaDescriptor</type> for that.
@param Frame
diff --git a/main/reportdesign/inc/ModuleHelper.hxx b/main/reportdesign/inc/ModuleHelper.hxx
index 95c12f299b..0e9d8c0b50 100644
--- a/main/reportdesign/inc/ModuleHelper.hxx
+++ b/main/reportdesign/inc/ModuleHelper.hxx
@@ -80,7 +80,7 @@ namespace rptui
//=========================================================================
//= ModuleRes
//=========================================================================
- /** specialized ResId, using the ressource manager provided by the global module
+ /** specialized ResId, using the resource manager provided by the global module
*/
class REPORTDESIGN_DLLPUBLIC ModuleRes : public ::ResId
{
diff --git a/main/rsc/source/rsc/rsc.cxx b/main/rsc/source/rsc/rsc.cxx
index 84e3d8d66f..699db6fbd8 100644
--- a/main/rsc/source/rsc/rsc.cxx
+++ b/main/rsc/source/rsc/rsc.cxx
@@ -1047,7 +1047,7 @@ ERRTYPE RscCompiler::Link()
if ( NULL == (fExitFile = foutput = fopen( aTmpOutputRcCtor.GetBuffer(), "w" )) )
pTC->pEH->FatalError( ERR_OPENFILE, RscId(), aTmpOutputRcCtor.GetBuffer() );
- pTC->pEH->StdOut( "Generating .cxx ressource constructor file\n" );
+ pTC->pEH->StdOut( "Generating .cxx resource constructor file\n" );
// Schreibe Datei
pTC->WriteRcCtor( foutput );
diff --git a/main/sc/source/ui/pagedlg/hfedtdlg.src b/main/sc/source/ui/pagedlg/hfedtdlg.src
index 5fe85f4212..ad3887074e 100644
--- a/main/sc/source/ui/pagedlg/hfedtdlg.src
+++ b/main/sc/source/ui/pagedlg/hfedtdlg.src
@@ -20,7 +20,7 @@
*************************************************************/
-/* StarView ressource file */
+/* StarView resource file */
#include "hfedtdlg.hrc"
#define HFEDIT_DLGTITLE \
Text [ en-US ] = "Headers/Footers" ; \
diff --git a/main/sfx2/source/doc/printhelper.cxx b/main/sfx2/source/doc/printhelper.cxx
index 005ee0d141..2d6eafd2a9 100644
--- a/main/sfx2/source/doc/printhelper.cxx
+++ b/main/sfx2/source/doc/printhelper.cxx
@@ -777,7 +777,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >&
// b)
else
{
- // Note: we create(d) some ressource on the heap. (thread and tep file)
+ // Note: we create(d) some resource on the heap. (thread and tep file)
// They will be delected by the thread automatically if he finish his run() method.
ImplUCBPrintWatcher* pWatcher = new ImplUCBPrintWatcher( pPrinter, pUCBPrintTempFile, sUcbUrl );
pWatcher->create();
diff --git a/main/solenv/bin/deliver.pl b/main/solenv/bin/deliver.pl
index 497757b9a9..79ceb3e5fb 100755
--- a/main/solenv/bin/deliver.pl
+++ b/main/solenv/bin/deliver.pl
@@ -595,7 +595,7 @@ sub parse_dlst
next;
}
push(@action_data, ['copy', $_]);
- # for each ressource file (.res) copy its image list (.ilst)
+ # for each resource file (.res) copy its image list (.ilst)
if ( /\.res\s/ ) {
my $imagelist = $_;
$imagelist =~ s/\.res/\.$ilst_ext/g;
diff --git a/main/svx/source/sidebar/line/LinePropertyPanel.hxx b/main/svx/source/sidebar/line/LinePropertyPanel.hxx
index 45d0c1ca19..1355f65d33 100644
--- a/main/svx/source/sidebar/line/LinePropertyPanel.hxx
+++ b/main/svx/source/sidebar/line/LinePropertyPanel.hxx
@@ -144,7 +144,7 @@ private:
ColorPopup maColorPopup;
LineWidthPopup maLineWidthPopup;
- // images from ressource
+ // images from resource
Image maIMGColor;
Image maIMGNone;
diff --git a/main/unotools/inc/unotools/componentresmodule.hxx b/main/unotools/inc/unotools/componentresmodule.hxx
index e33235564f..b3b352ea7d 100644
--- a/main/unotools/inc/unotools/componentresmodule.hxx
+++ b/main/unotools/inc/unotools/componentresmodule.hxx
@@ -71,7 +71,7 @@ namespace utl
//=========================================================================
//= ModuleRes
//=========================================================================
- /** specialized ResId, using the ressource manager provided by a given <type>OModule</type>
+ /** specialized ResId, using the resource manager provided by a given <type>OModule</type>
*/
class UNOTOOLS_DLLPUBLIC ModuleRes : public ::ResId
{
diff --git a/main/uui/source/iahndl-ssl.cxx b/main/uui/source/iahndl-ssl.cxx
index 00cfdb01e5..67317f2e5b 100644
--- a/main/uui/source/iahndl-ssl.cxx
+++ b/main/uui/source/iahndl-ssl.cxx
@@ -158,7 +158,7 @@ executeUnknownAuthDialog(
xServiceFactory,
xManager.get()));
- // Get correct ressource string
+ // Get correct resource string
rtl::OUString aMessage;
std::vector< rtl::OUString > aArguments;
@@ -207,7 +207,7 @@ executeSSLWarnDialog(
xServiceFactory,
xManager.get()));
- // Get correct ressource string
+ // Get correct resource string
rtl::OUString aMessage_1;
std::vector< rtl::OUString > aArguments_1;
diff --git a/main/vcl/source/gdi/outdev2.cxx b/main/vcl/source/gdi/outdev2.cxx
index 9426bcf655..bf4e840445 100644
--- a/main/vcl/source/gdi/outdev2.cxx
+++ b/main/vcl/source/gdi/outdev2.cxx
@@ -899,7 +899,7 @@ void OutputDevice::DrawTransformedBitmapEx(
// limit maximum area to something looking good for non-pixel-based targets (metafile, printer)
// by using a fixed minimum (allow at least, but no need to utilize) for good smooting and an area
// dependent of original size for good quality when e.g. rotated/sheared. Still, limit to a maximum
- // to avoid crashes/ressource problems (ca. 1500x3000 here)
+ // to avoid crashes/resource problems (ca. 1500x3000 here)
const Size& rOriginalSizePixel(rBitmapEx.GetSizePixel());
const double fOrigArea(rOriginalSizePixel.Width() * rOriginalSizePixel.Height() * 0.5);
const double fOrigAreaScaled(bSheared || bRotated ? fOrigArea * 1.44 : fOrigArea);