fix typos (wich instead of which)

This commit is contained in:
Philipp Riemer
2013-05-06 20:07:23 +02:00
parent 928d86d8a2
commit 2ce25faffd
70 changed files with 85 additions and 85 deletions
@@ -583,7 +583,7 @@ int ScaleTabPage::DeactivatePage(SfxItemSet* pItemSet)
if( chart2::AxisType::REALNUMBER != m_nAxisType )
aCbxLogarithm.Show( false );
//check wich entries need user action
//check which entries need user action
if ( aCbxLogarithm.IsChecked() &&
( ( !aCbxAutoMin.IsChecked() && fMin <= 0.0 )
+1 -1
View File
@@ -551,7 +551,7 @@ OUString ObjectIdentifier::createParticleForLegend(
OUStringBuffer aRet;
Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( xChartModel ) );
//todo: if more than one diagram is implemeted, find the correct diagram wich is owner of the given legend
//todo: if more than one diagram is implemeted, find the correct diagram which is owner of the given legend
aRet.append( ObjectIdentifier::createParticleForDiagram( xDiagram, xChartModel ) );
aRet.appendAscii(":");
+1 -1
View File
@@ -1472,7 +1472,7 @@ void VCartesianAxis::createMaximumLabels()
pTickFactory2D->updateScreenValues( m_aAllTickInfos );
//create tick mark text shapes
//@todo: iterate through all tick depth wich should be labeled
//@todo: iterate through all tick depth which should be labeled
AxisLabelProperties aAxisLabelProperties( m_aAxisLabelProperties );
if( isAutoStaggeringOfLabelsAllowed( aAxisLabelProperties, pTickFactory2D->isHorizontalAxis(), pTickFactory2D->isVerticalAxis() ) )
+1 -1
View File
@@ -176,7 +176,7 @@ void VPolarAngleAxis::createLabels()
boost::scoped_ptr< TickFactory > apTickFactory( this->createTickFactory() );
//create tick mark text shapes
//@todo: iterate through all tick depth wich should be labeled
//@todo: iterate through all tick depth which should be labeled
EquidistantTickIter aTickIter( m_aAllTickInfos, m_aIncrement, 0, 0 );
this->updateUnscaledValuesAtTicks( aTickIter );
@@ -137,7 +137,7 @@ protected: //member
bool m_bAllowShiftZAxisPos;
};
//describes wich axis of the drawinglayer scene or sreen axis are the normal axis
//describes which axis of the drawinglayer scene or sreen axis are the normal axis
enum NormalAxis
{
NormalAxis_X
+1 -1
View File
@@ -169,7 +169,7 @@ const tMakePropertyNameMap& PropertyMapper::getPropertyNameMapForCharacterProper
tMakePropertyNameMap
( "CharColor", "CharColor" )
( "CharContoured", "CharContoured" )
( "CharEmphasis", "CharEmphasis" )//the service style::CharacterProperties describes a property called 'CharEmphasize' wich is nowhere implemented
( "CharEmphasis", "CharEmphasis" )//the service style::CharacterProperties describes a property called 'CharEmphasize' which is nowhere implemented
( "CharFontFamily", "CharFontFamily" )
( "CharFontFamilyAsian", "CharFontFamilyAsian" )
@@ -73,7 +73,7 @@ namespace connectivity
OConnection* m_pConnection;
rtl_TextEncoding m_nTextEncoding;
sal_Int32 m_nRowPos;
sal_Int32 m_nDriverColumnCount; // column count of the driver wich can sometimes be less than the metadata count
sal_Int32 m_nDriverColumnCount; // column count of the driver which can sometimes be less than the metadata count
SQLRETURN m_nCurrentFetchState;
sal_Bool m_bWasNull;
sal_Bool m_bEOF; // after last record
+1 -1
View File
@@ -46,7 +46,7 @@
#include "hlmarkwn.hxx"
#include "iconcdlg.hxx"
/// ComboBox-Control, wich is filled with all current framenames
/// ComboBox-Control, which is filled with all current framenames
class SvxFramesComboBox : public ComboBox
{
public:
+1 -1
View File
@@ -193,7 +193,7 @@ namespace dbaui
/** how many connection belongs to single table
@param _pFromWin the table for which connections should be found
@return the count of connections wich belongs to this table
@return the count of connections which belongs to this table
*/
sal_Int32 getConnectionCount(const OTableWindow* _pFromWin) const;
+1 -1
View File
@@ -68,7 +68,7 @@ Things to watch for:
"OK" (replace) preselected if x < y, and "Cancel" otherwise.
- If replacing an installed version x of an extension e with a version y fails
because y has unsatisfied dependencies, or because y has a license to wich the
because y has unsatisfied dependencies, or because y has a license to which the
user does not agree, version x is left installed afterwards.
- Checking for already installed versions of an extension is only done within a
@@ -1613,7 +1613,7 @@ namespace
/** This is the main interpreter method. It is designed to handle the given Metafile
completely inside the given context and target. It may use and modify the context and
target. This design allows to call itself recursively wich adapted contexts and
target. This design allows to call itself recursively which adapted contexts and
targets as e.g. needed for the META_FLOATTRANSPARENT_ACTION where the content is expressed
as a metafile as sub-content.
+1 -1
View File
@@ -26,7 +26,7 @@ namespace bib
// source in bibbeam.cxx
void HandleTaskPaneList( Window* pWindow, sal_Bool bAddToList );
// pWindow: just an system window or something wich is child of a system window
// pWindow: just an system window or something which is child of a system window
inline void AddToTaskPaneList( Window* pWindowToBeHandled )
{
+1 -1
View File
@@ -823,7 +823,7 @@ sal_Bool BibGeneralPage::HandleShortCutKey( const KeyEvent& rKeyEvent )
DBG_ASSERT( aControls[ nCtrlIndex ].is(), "-BibGeneralPage::HandleShortCutKey(): valid index and no control?" );
uno::Reference< awt::XControl > xControl( aControls[ nCtrlIndex ], UNO_QUERY );
DBG_ASSERT( xControl.is(), "-BibGeneralPage::HandleShortCutKey(): a control wich is not a control!" );
DBG_ASSERT( xControl.is(), "-BibGeneralPage::HandleShortCutKey(): a control which is not a control!" );
Window* pWindow = VCLUnoHelper::GetWindow( xControl->getPeer() );
@@ -100,7 +100,7 @@ namespace pcr
// and insert all entries below this root into the listbox
if (xSearch.is())
{
// check wich service the allowed components must suppport
// check which service the allowed components must suppport
sal_Int16 nClassId = 0;
try { nClassId = ::comphelper::getINT16(m_xControlModel->getPropertyValue(PROPERTY_CLASSID)); } catch(...) { }
m_sRequiredService = (FormComponentType::RADIOBUTTON == nClassId) ? OUString(SERVICE_COMPONENT_GROUPBOX) : OUString(SERVICE_COMPONENT_FIXEDTEXT);
+1 -1
View File
@@ -65,7 +65,7 @@ class PictWriter {
private:
sal_Bool bStatus;
sal_uLong nLastPercent; // with wich number pCallback has been called the last time
sal_uLong nLastPercent; // with which number pCallback has been called the last time
com::sun::star::uno::Reference< com::sun::star::task::XStatusIndicator > xStatusIndicator;
SvStream * pPict;
+2 -2
View File
@@ -4831,7 +4831,7 @@ sal_uInt32 EscherEx::EnterGroup( const OUString& rShapeName, const Rectangle* pB
AddAtom( 16, ESCHER_Spgr, 1 );
PtReplaceOrInsert( ESCHER_Persist_Grouping_Snap | mnGroupLevel,
mpOutStrm->Tell() );
*mpOutStrm << (sal_Int32)aRect.Left() // Bounding box for the grouped shapes the wich they will be attached
*mpOutStrm << (sal_Int32)aRect.Left() // Bounding box for the grouped shapes to which they will be attached
<< (sal_Int32)aRect.Top()
<< (sal_Int32)aRect.Right()
<< (sal_Int32)aRect.Bottom();
@@ -4881,7 +4881,7 @@ sal_Bool EscherEx::SetGroupSnapRect( sal_uInt32 nGroupLevel, const Rectangle& rR
sal_uInt32 nCurrentPos = mpOutStrm->Tell();
if ( DoSeek( ESCHER_Persist_Grouping_Snap | ( nGroupLevel - 1 ) ) )
{
*mpOutStrm << (sal_Int32)rRect.Left() // Bounding box for the grouped shapes the wich they will be attached
*mpOutStrm << (sal_Int32)rRect.Left() // Bounding box for the grouped shapes to which they will be attached
<< (sal_Int32)rRect.Top()
<< (sal_Int32)rRect.Right()
<< (sal_Int32)rRect.Bottom();
@@ -261,7 +261,7 @@ class VistaFilePickerImpl : private ::cppu::BaseMutex
* @see enableControl()
*
* @param nFeatures
* flag field(!) knows all features wich must be enabled.
* flag field(!) knows all features which must be enabled.
*/
void impl_sta_enableFeatures(::sal_Int32 nFeatures, ::sal_Int32 nTemplate);
@@ -121,7 +121,7 @@ class PersistentWindowState : // interfaces
needed to create needed uno resources.
@param xFrame
contains the component, wich must be identified.
contains the component, which must be identified.
@return [string]
a module identifier for the current frame component.
+1 -1
View File
@@ -139,7 +139,7 @@ class TitleBarUpdate : // interfaces
of our frame.
@param xFrame
contains the component, wich must be identified.
contains the component, which must be identified.
@param rInfo
describe the module in its details.
+1 -1
View File
@@ -33,7 +33,7 @@
// 2) LOGFILE_ASSERTIONS use it to define the file name to log assertions if LOGTYPE=LOGTYPE_FILE...
// 3) LOGFILE_WARNINGS use it to define the file name to log warnings if LOGTYPE=LOGTYPE_FILE...
// active for "non product":
// 4) LOG_ASSERT( BCONDITION, STEXT ) assert some critical errors wich depend from given condition
// 4) LOG_ASSERT( BCONDITION, STEXT ) assert some critical errors which depend from given condition
// 4a) LOG_ASSERT2( BCONDITION, SMETHOD, STEXT ) same like 4) + additional location of error
// 5) LOG_ERROR( SMETHOD, STEXT ) show errors without any condition
// active for debug only!
@@ -467,7 +467,7 @@ public class EventTest {
/**
* Creates an instacne of this class. The parameter <CODE>eType</CODE> represents
* the kind of event wich will be triggert at <CODE>run()</CODE>
* the kind of event which will be triggert at <CODE>run()</CODE>
* @param model the model of a document
* @param eType the kind of event which should be trigger
*/
@@ -478,7 +478,7 @@ public class EventTest {
}
/**
* Triggers the event wich is represented by <CODE>eventType</CODE>
* Triggers the event which is represented by <CODE>eventType</CODE>
* The scenarios are:
* <ul>
* <li>EventTest.EventTriggerType.MOUSE_KLICK_INTO_DOC
@@ -272,7 +272,7 @@ public class RecoveryTools {
* This function uses accessibility to handle modal dialogs like the
* "Are you sure" dialog.
* It clicks the named button given in parameter <CODE>buttonName</CODE>
* @param buttonName the name of the button wich should be clicked
* @param buttonName the name of the button which should be clicked
*/
public void handleModalDialog(XMultiServiceFactory xMSF, String buttonName)
throws com.sun.star.accessibility.IllegalAccessibleComponentStateException
@@ -98,7 +98,7 @@ MailToDispatcher::~MailToDispatcher()
@short decide if this dispatch implementation can be used for requested URL or not
@descr A protocol handler is registerd for an URL pattern inside configuration and will
be asked by the generic dispatch mechanism inside framework, if he can handle this
special URL wich match his registration. He can agree by returning of a valid dispatch
special URL which match his registration. He can agree by returning of a valid dispatch
instance or disagree by returning <NULL/>.
We don't create new dispatch instances here realy - we return THIS as result to handle it
at the same implementation.
+1 -1
View File
@@ -100,7 +100,7 @@ ServiceHandler::~ServiceHandler()
@short decide if this dispatch implementation can be used for requested URL or not
@descr A protocol handler is registerd for an URL pattern inside configuration and will
be asked by the generic dispatch mechanism inside framework, if he can handle this
special URL wich match his registration. He can agree by returning of a valid dispatch
special URL which match his registration. He can agree by returning of a valid dispatch
instance or disagree by returning <NULL/>.
We don't create new dispatch instances here realy - we return THIS as result to handle it
at the same implementation.
@@ -57,7 +57,7 @@ namespace drawinglayer
geometry::ViewInformation3D maViewInformation3D;
/** if the embedded 3D primitives contain shadow, these parameters are needed
to extract the shadow wich is a sequence od 2D primitives and may expand
to extract the shadow which is a sequence od 2D primitives and may expand
the 2D range. Since every single 3D object in a scene may individually
have shadow or not, these values need to be provided and prepared. The shadow
distance itself (a 2D transformation) is part of the 3D shadow definition
+2 -2
View File
@@ -149,7 +149,7 @@ typedef void* oslProcess;
[in] The number of environment variables to set.
@param pProcess
[out] Pointer to a oslProcess variable, wich receives the handle of the newly created process.
[out] Pointer to a oslProcess variable, which receives the handle of the newly created process.
This parameter must not be NULL.
@return
@@ -219,7 +219,7 @@ SAL_DLLPUBLIC oslProcessError SAL_CALL osl_executeProcess(
[in] The number of environment variables to set.
@param pProcess
[out] Pointer to a oslProcess variable, wich receives the handle of the newly created process.
[out] Pointer to a oslProcess variable, which receives the handle of the newly created process.
This parameter must not be NULL.
@param pChildInputWrite
+1 -1
View File
@@ -74,7 +74,7 @@ SAL_DLLPUBLIC oslSecurityError SAL_CALL osl_loginUser(
the maped drive on this server.
@param[in] strUserName denotes the name of the user to logg in.
@param[in] strPasswd the password for this user.
@param[in] strFileServer denotes the file server on wich the user is logged in.
@param[in] strFileServer denotes the file server on which the user is logged in.
@param[out] pSecurity returns the security handle if user could be logged in.
@return osl_Security_E_None if user could be logged in, otherwise an error-code.
@see osl_freeSecurityHandle
+1 -1
View File
@@ -111,7 +111,7 @@ namespace sdr
// LazyInvalidate request. This is used from the VOCs to mark that they
// got invalidated by an ActionCanged() call. An active view needs to remember
// this and take action on it. Default implementation directly calls back
// triggerLazyInvalidate() wich promptly handles the request
// triggerLazyInvalidate() which promptly handles the request
virtual void setLazyInvalidate(ViewObjectContact& rVOC);
// call this to support evtl. preparations for repaint. Default does nothing
@@ -58,7 +58,7 @@ namespace sdr
// LazyInvalidate request. This is used from the VOCs to mark that they
// got invalidated by an ActionCanged() call. An active view needs to remember
// this and take action on it. Default implementation directly calls back
// triggerLazyInvalidate() wich promptly handles the request
// triggerLazyInvalidate() which promptly handles the request
virtual void setLazyInvalidate(ViewObjectContact& rVOC);
// call this to support evtl. preparations for repaint
+1 -1
View File
@@ -34,7 +34,7 @@ struct XMLPropertyMapEntry
{
const sal_Char* msApiName; /// Property-Name
sal_Int32 nApiNameLength; /// length of property name
sal_uInt16 mnNameSpace; /** declares the Namespace in wich this
sal_uInt16 mnNameSpace; /** declares the Namespace in which this
property exists */
enum ::xmloff::token::XMLTokenEnum meXMLName; /// XML-Name
sal_uInt32 mnType; /** Bit 0..23 : XML-Type of its value
+1 -1
View File
@@ -29,7 +29,7 @@
* An instance of this class holds a pointer to an object. The lifetime of
* the object is controled by the instance. The constructor calls
* acquire() and the destructor calls release().
* You could delive your class from the baseclass UniRefBase wich implements
* You could derive your class from the baseclass UniRefBase which implements
* the methods acquire and release, yet.
*/
template< class T > class UniReference
+1 -1
View File
@@ -148,7 +148,7 @@ public:
sal_uInt32 nPropType,
sal_Int32 nStartAt = -1 ) const;
/** Retrieves a PropertyHandler for that property wich placed at nIndex in the XMLPropertyMapEntry-array */
/** Retrieves a PropertyHandler for that property which placed at nIndex in the XMLPropertyMapEntry-array */
const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nIndex ) const
{
DBG_ASSERT( (nIndex >= 0) && (nIndex < (sal_Int32)aMapEntries.size() ), "illegal access to invalid entry!" );
@@ -860,7 +860,7 @@ XMultiPropertySet
* a XVetoableChangeListener is meant. For XPropertyChangeListener and XPropertiesChangeListener
* it is to be set to false.
*
* @param properties Properties wich will be or have been affected.
* @param properties Properties which will be or have been affected.
* @param newValues the new values of the properties.
* @param oldValues the old values of the properties.
* @param bVetoable true means fire to VetoableChangeListener, false means fire to
@@ -156,7 +156,7 @@ Guess SimpleGuesser::GuessPrimaryLanguage(const char* text)
return ret.empty() ? Guess() : ret[0];
}
/**
* Is used to know wich language is available, unavailable or both
* Is used to know which language is available, unavailable or both
* when mask = 0xF0, return only Available
* when mask = 0x0F, return only Unavailable
* when mask = 0xFF, return both Available and Unavailable
@@ -46,7 +46,7 @@ import java.awt.event.WindowEvent;
// __________ Implementation __________
/**
* This implement a java frame wich contains
* This implement a java frame which contains
* an office document, shows some status information
* about that, provides simple functionality on it
* (e.g. toggle menubar, save document) and
@@ -78,7 +78,7 @@ public class DocumentView extends JFrame
/**
* @member mxFrame office frame which contains the document of this view
*
* @member maStatusView special panel wich show available status information of currently loaded document
* @member maStatusView special panel which shows available status information of currently loaded document
* @member maDocumentView use JNI mechanism to plug an office window into our own java UI container (used for inplace mode only!)
* @member maCustomizeView special panel makes it possible to toggle menubar/toolbar or objectbar of loaded document
* @member maInterceptor interceptor thread which intercept "new" menu of office frame to open new frames inside this java application
@@ -434,7 +434,7 @@ public class FunctionHelper
* till he deosn't need it any longer. Otherwise the dispatcher can(!)
* die by decreasing his refcount.
*
* @param xFrame frame wich should be the target of this dispatch
* @param xFrame frame which should be the target of this dispatch
* @param aURL full parsed and converted office URL for dispatch
* @param lProperties optional arguments for dispatch
* @param xListener optional listener which is registered automaticly for status events
@@ -497,7 +497,7 @@ public class FunctionHelper
* Returning of the dispatch object isn't neccessary.
* Nobody must hold it alive longer the dispatch needs.
*
* @param xFrame frame wich should be the target of this dispatch
* @param xFrame frame which should be the target of this dispatch
* @param aURL full parsed and converted office URL for dispatch
* @param lProperties optional arguments for dispatch
* @param xListener optional listener which is registered automaticly for status events
@@ -542,7 +542,7 @@ public class FunctionHelper
* The result of this operation will be the loaded document for success
* or null if loading failed.
*
* @param xFrame frame wich should be the target of this load call
* @param xFrame frame which should be the target of this load call
* @param sURL unparsed URL for loading
* @param lProperties optional arguments
*
@@ -44,7 +44,7 @@ import com.sun.star.uno.UnoRuntime;
/**
* This class can be used to intercept dispatched URL's
* on any frame used in this demo application.
* It intercept all URL's wich try to create a new empty frame.
* It intercept all URL's which try to create a new empty frame.
* (e.g. "private:factory/swriter")
* Nobody can guarantee that this interception will be realy used -
* because another interceptor (registered at a later time then this one!)
@@ -86,7 +86,7 @@ public class OfficeConnect
* ctor
* We try to open the connection in our ctor ... transparently for user.
* After it was successfully you will find an internal set member
* m_xRemoteContext wich means remote component context of the connected office.
* m_xRemoteContext which means remote component context of the connected office.
* The context can be used to get the remote service manager from the office.
* We made it private to support singleton pattern of these implementation.
* see getConnection() for further information
@@ -141,7 +141,7 @@ public class ViewContainer extends Thread
// hook at the runtime class. So our run() method will be called.
// Our view container should be empty - but
// our listener container can include some references.
// These objects wich to be informed then and release e.g. some
// These objects will be informed then and release e.g. some
// remote references.
if (nViewCount<1)
{
@@ -362,7 +362,7 @@ public class AsciiReplaceFilter
/**
* Makes the filter process breakable. To do so the outside code may use threads.
* We use a internal "condition" variable wich is queried by the real filter method on
* We use a internal "condition" variable which is queried by the real filter method on
* every loop they do. So it's more a polling mechanism.
*/
public void cancel()
+1 -1
View File
@@ -68,7 +68,7 @@ struct StorInternalData_Impl
::cppu::OMultiTypeInterfaceContainerHelper m_aListenersContainer; // list of listeners
::cppu::OTypeCollection* m_pTypeCollection;
sal_Bool m_bIsRoot;
sal_Int32 m_nStorageType; // the mode in wich the storage is used
sal_Int32 m_nStorageType; // the mode in which the storage is used
sal_Bool m_bReadOnlyWrap;
OChildDispListener_Impl* m_pSubElDispListener;
+1 -1
View File
@@ -160,7 +160,7 @@ struct OStorage_Impl
SwitchablePersistenceStream* m_pSwitchStream;
sal_Int32 m_nStorageType; // the mode in wich the storage is used
sal_Int32 m_nStorageType; // the mode in which the storage is used
// the _rels substorage that is handled in a special way in embed::StorageFormats::OFOPXML
SotElement_Impl* m_pRelStorElement;
+1 -1
View File
@@ -42,7 +42,7 @@ public class CalcTools {
/**
* fills a range of a calc sheet with computed data of type
* <CODE>Double</CODE>.
* @param xSheetDoc the Clac documents wich should be filled
* @param xSheetDoc the Clac documents which should be filled
* @param sheetNumber the number of the sheet of <CODE>xSheetDoc</CODE>
* @param startCellX the cell number of the X start point (row) of the range to fill
* @param startCellY the cell number of the Y start point (column) of the range to fill
+5 -5
View File
@@ -425,7 +425,7 @@ public class SOfficeFactory {
}
/**
* creates a Diagram wich specified in kind(String)
* creates a Diagram as specified in kind
*/
public XDiagram createDiagram(XComponent oDoc, String kind) {
XInterface oInterface = null;
@@ -444,8 +444,8 @@ public class SOfficeFactory {
return oDiagram;
}
/*
// create a Control-Instance which specified in kind(String)
/**
* creates a control instance as specified in kind
*/
public XInterface createControl(XComponent oDoc, String kind) {
@@ -462,8 +462,8 @@ public class SOfficeFactory {
return oControl;
}
/*
// create an Instance which is specified in kind(String)
/**
* create an Instance as specified in kind
*/
public Object createInstance(XComponent oDoc, String kind) {
+1 -1
View File
@@ -260,7 +260,7 @@ public class utils {
public static String getOfficeUserPath(XMultiServiceFactory msf) {
String userPath = null;
// get a folder wich is located in the user dir
// get a folder located in the user dir
try {
userPath = getOfficeSettingsValue(msf, "UserConfig");
} catch (Exception e) {
@@ -412,7 +412,7 @@ public class _XUserInputInterception extends MultiMethodTest {
/**
* Creates an instacne of this class. The parameter <CODE>eType</CODE> represents
* the kind of event wich will be triggert at <CODE>run()</CODE>
* the kind of event which will be triggert at <CODE>run()</CODE>
* @param model the model of a document
* @param eType the kind of event which should be trigger
*/
@@ -423,7 +423,7 @@ public class _XUserInputInterception extends MultiMethodTest {
}
/**
* Triggers the event wich is represented by <CODE>eventType</CODE>
* Triggers the event which is represented by <CODE>eventType</CODE>
* The scenarios are:
* <ul>
* <li>EventTest.EventTriggerType.MOUSE_KLICK_INTO_DOC
@@ -61,7 +61,7 @@ public class FilterFactory extends TestCase {
* <code>com.sun.star.comp.framework.FilterFactory</code>.
* Prepares relation for
* <code>XMultiServiceFactory.createInstanceWithArguments</code> method
* test. Only filters wich have their service names can be instantiated
* test. Only filters which have their service names can be instantiated
* in some reasons (?). For instantiation used filter type as service
* name and its name as a parameter. <p>
*/
+1 -1
View File
@@ -268,7 +268,7 @@ static sal_Bool InitSignal()
Signals[i].Action = ACT_IGNORE;
#endif
/* hack: stomcatd is attaching JavaVM wich dont work with an sigaction(SEGV) */
/* hack: stomcatd is attaching JavaVM which does not work with an sigaction(SEGV) */
if ((bSetSEGVHandler || Signals[i].Signal != SIGSEGV)
&& (bSetWINCHHandler || Signals[i].Signal != SIGWINCH)
&& (bSetILLHandler || Signals[i].Signal != SIGILL))
+2 -2
View File
@@ -838,7 +838,7 @@ ScChangeActionDel::ScChangeActionDel(
const sal_uLong nActionNumber, const ScChangeActionState eStateP,
const sal_uLong nRejectingNumber, const ScBigRange& aBigRangeP,
const OUString& aUserP, const DateTime& aDateTimeP, const OUString &sComment,
const ScChangeActionType eTypeP, const SCsCOLROW nD, ScChangeTrack* pTrackP) : // wich of nDx and nDy is set is depend on the type
const ScChangeActionType eTypeP, const SCsCOLROW nD, ScChangeTrack* pTrackP) : // which of nDx and nDy is set depends on the type
ScChangeAction(eTypeP, aBigRangeP, nActionNumber, nRejectingNumber, eStateP, aDateTimeP, aUserP, sComment),
pTrack( pTrackP ),
pFirstCell( NULL ),
@@ -1184,7 +1184,7 @@ ScChangeActionMove::ScChangeActionMove(
const sal_uLong nRejectingNumber, const ScBigRange& aToBigRange,
const OUString& aUserP, const DateTime& aDateTimeP,
const OUString &sComment, const ScBigRange& aFromBigRange,
ScChangeTrack* pTrackP) : // wich of nDx and nDy is set is depend on the type
ScChangeTrack* pTrackP) : // which of nDx and nDy is set depends on the type
ScChangeAction(SC_CAT_MOVE, aToBigRange, nActionNumber, nRejectingNumber, eStateP, aDateTimeP, aUserP, sComment),
aFromRange(aFromBigRange),
pTrack( pTrackP ),
+1 -1
View File
@@ -697,7 +697,7 @@ void XclExpFmlaCompImpl::RecalcTokenClass( const XclExpTokenConvInfo& rConvInfo,
case EXC_PARAMCONV_RPX:
/* If parent token has REF class (REF token in REFTYPE
function parameter), then RPX repeats the previous
effective conversion (wich will be either ORG or ARR,
effective conversion (which will be either ORG or ARR,
but never VAL), otherwise falls back to ORG conversion. */
eClassConv = bWasRefClass ? ePrevClassConv : EXC_CLASSCONV_ORG;
break;
@@ -73,7 +73,7 @@ ScAccessibleCell::~ScAccessibleCell()
{
// increment refcount to prevent double call off dtor
osl_atomic_increment( &m_refCount );
// call dispose to inform object wich have a weak reference to this object
// call dispose to inform object which have a weak reference to this object
dispose();
}
}
@@ -63,7 +63,7 @@ ScAccessibleContextBase::~ScAccessibleContextBase(void)
{
// increment refcount to prevent double call off dtor
osl_atomic_increment( &m_refCount );
// call dispose to inform object wich have a weak reference to this object
// call dispose to inform object which have a weak reference to this object
dispose();
}
}
@@ -156,7 +156,7 @@ ScAccessibleDataPilotControl::~ScAccessibleDataPilotControl(void)
{
// increment refcount to prevent double call off dtor
osl_atomic_increment( &m_refCount );
// call dispose to inform object wich have a weak reference to this object
// call dispose to inform object which have a weak reference to this object
dispose();
}
}
@@ -565,7 +565,7 @@ ScAccessibleDataPilotButton::~ScAccessibleDataPilotButton(void)
{
// increment refcount to prevent double call off dtor
osl_atomic_increment( &m_refCount );
// call dispose to inform object wich have a weak reference to this object
// call dispose to inform object which have a weak reference to this object
dispose();
}
}
@@ -1266,7 +1266,7 @@ ScAccessibleDocumentPagePreview::~ScAccessibleDocumentPagePreview(void)
{
// increment refcount to prevent double call off dtor
osl_atomic_increment( &m_refCount );
// call dispose to inform object wich have a weak reference to this object
// call dispose to inform object which have a weak reference to this object
dispose();
}
}
@@ -63,7 +63,7 @@ ScAccessibleEditObject::~ScAccessibleEditObject()
{
// increment refcount to prevent double call off dtor
osl_atomic_increment( &m_refCount );
// call dispose to inform object wich have a weak reference to this object
// call dispose to inform object which have a weak reference to this object
dispose();
}
}
@@ -59,7 +59,7 @@ ScAccessiblePreviewCell::~ScAccessiblePreviewCell()
{
// increment refcount to prevent double call off dtor
osl_atomic_increment( &m_refCount );
// call dispose to inform object wich have a weak reference to this object
// call dispose to inform object which have a weak reference to this object
dispose();
}
}
+1 -1
View File
@@ -95,7 +95,7 @@ void ScTabPageProtection::Reset( const SfxItemSet& rCoreAttrs )
bDontCare = bTriEnabled;
if (bTriEnabled)
{
// Defaults wich appear when a TriState will be clicked away:
// Defaults which appear when a TriState will be clicked away:
// (because everything combined is an attribute, and also only
// everything combined as DontCare can be available - #38543#)
+1 -1
View File
@@ -230,7 +230,7 @@ private:
OUString aIntName;
sal_uInt16 nUINameID;
sal_uInt16 nDescrID; // leads also to parameter descriptions!
sal_Bool bDouble; // flag for names, wich already exist in Calc
sal_Bool bDouble; // flag for names that already exist in Calc
sal_Bool bWithOpt; // has internal parameter on first position
sal_uInt16 nParam; // num of parameters
+1 -1
View File
@@ -187,7 +187,7 @@ public:
*/
::boost::shared_ptr<controller::Properties> GetProperties (void) const;
/** Return the active theme wich gives access to colors and fonts.
/** Return the active theme which gives access to colors and fonts.
*/
::boost::shared_ptr<view::Theme> GetTheme (void) const;
+1 -1
View File
@@ -535,7 +535,7 @@ SfxPrinter* SfxViewShell::SetPrinter_Impl( SfxPrinter *pNewPrinter )
if ( ( bOriChg || bPgSzChg ) &&
RET_YES == QueryBox(0, WB_YES_NO | WB_DEF_OK, aMsg).Execute() )
{
// Flags wich changes for <SetPrinter(SfxPrinter*)> are maintained
// Flags with changes for <SetPrinter(SfxPrinter*)> are maintained
nChangedFlags |= nNewOpt;
}
@@ -259,7 +259,7 @@ void ChildrenManagerImpl::CreateListOfVisibleShapes (
Rectangle aVisibleArea = maShapeTreeInfo.GetViewForwarder()->GetVisibleArea();
// Add the visible shapes for wich the accessible objects already exist.
// Add the visible shapes for which the accessible objects already exist.
AccessibleShapeList::iterator I,aEnd = maAccessibleShapes.end();
for (I=maAccessibleShapes.begin(); I != aEnd; ++I)
{
@@ -554,7 +554,7 @@ void SAL_CALL SvxRectCtlAccessibleContext::selectAccessibleChild( sal_Int32 nInd
DBG_ASSERT( pData,
"SvxRectCtlAccessibleContext::selectAccessibleChild(): this is an impossible state! Or at least should be..." );
// this does all wich is needed, including the change of the child's state!
// this does all what is needed, including the change of the child's state!
mpRepr->SetActualRP( pData->ePoint );
}
+1 -1
View File
@@ -21,7 +21,7 @@ interface TextDocument : BaseTextDocument
uuid = "0D960120-111C-101D-9757-6E74207A7520"
]
{
// Slots, wich are not needed in the WebDocShell
// Slots, which are not needed in the WebDocShell
FN_OUTLINE_TO_IMPRESS
[
+1 -1
View File
@@ -43,7 +43,7 @@ interface TextEditView : BaseTextEditView
uuid = "09782660-111A-101D-9757-6E74207A7520"
]
{
// Slots, wich are not needed in the WebDocShell
// Slots, which are not needed in the WebDocShell
FN_INSERT_OBJ_CTRL
[
ExecMethod = Execute ;
+1 -1
View File
@@ -1206,7 +1206,7 @@ void _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
//immediately.
//The advantage is, that on one hand already a nearly realistic number of
//pages are created, but above all there are no almost endless long chain
//of paragraphs, wich must be moved expensively until it reaches a tolarable
//of paragraphs, which must be moved expensively until it reaches a tolarable
//reduced level.
//We'd like to think that 20 Paragraphs fit on one page.
//So that it does not become in extremly situations so violent we calculate depending
+2 -2
View File
@@ -43,14 +43,14 @@
struct SvXMLItemMapEntry
{
sal_uInt16 nNameSpace; // declares the Namespace in wich this item
sal_uInt16 nNameSpace; // declares the Namespace in which this item
// exists
enum ::xmloff::token::XMLTokenEnum eLocalName;
// the local name for the item inside
// the Namespace (as an XMLTokenEnum)
sal_uInt16 nWhichId; // the WichId to identify the item
// in the pool
sal_uInt32 nMemberId; // the memberid specifies wich part
sal_uInt32 nMemberId; // the memberid specifies which part
// of the item should be imported or
// exported with this Namespace
// and localName
+1 -1
View File
@@ -179,7 +179,7 @@ long SwWrtShell::DelLeft()
EnterStdMode();
}
// JP 29.06.95: never erase a table wich standing in front of.
// JP 29.06.95: never erase a table standing in front of it.
bool bSwap = false;
const SwTableNode * pWasInTblNd = SwCrsrShell::IsCrsrInTbl();
@@ -37,7 +37,7 @@ published interface XPropertiesChangeListener: com::sun::star::lang::XEventListe
@param aEvent
contains a sequence of <type>PropertyChangeEvent</type> objects
which describe the event source and the properites wich have
which describe the event source and the properites that have been
changed.
*/
void propertiesChange( [in] sequence<com::sun::star::beans::PropertyChangeEvent> aEvent );
@@ -47,7 +47,7 @@ published interface XContainerQuery: com::sun::star::uno::XInterface
@param Query items of sub set must match to this query<br>
example:<br>
(1)<br>
query as parameter sequence to return all elements wich match
query as parameter sequence to return all elements which match
the name pattern and supports a special feature; sort it ascending<br>
"name=*myname_??_;sort=ascending;feature=VISIBLE"<br>
(2)<br>
@@ -70,7 +70,7 @@ published interface XContainerQuery: com::sun::star::uno::XInterface
@param Properties items of sub set must support given properties as minimum<br>
example:<br>
(supported)<br>
search for items wich match the name pattern and supports the VISIBLE feature<br>
search for items which match the name pattern and supports the VISIBLE feature<br>
Parameters[0].Name = "name"<br>
Parameters[0].Value = "*myname_??_"<br>
Parameters[1].Name = "feature"<br>
+1 -1
View File
@@ -318,7 +318,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML(
/////////////////////////////////////////////////////////////////////////////////////
// create, initialize and fill helper-structure (SvXMLAutoStylePoolProperties_Impl)
// wich contains a parent-name and a SvXMLAutoStylePoolProperties_Impl
// which contains a parent-name and a SvXMLAutoStylePoolProperties_Impl
//
const SvXMLAutoStylePoolParentsP_Impl *pParents =
rFamily.mpParentList;