Fix typos in comments
This commit is contained in:
parent
78e9ba6feb
commit
23af031b09
@ -54,7 +54,7 @@ namespace canvas
|
||||
*/
|
||||
virtual bool selectTexture() = 0;
|
||||
|
||||
/** Tells wether the surface is valid or not
|
||||
/** Tells whether the surface is valid or not
|
||||
*/
|
||||
virtual bool isValid() = 0;
|
||||
|
||||
|
@ -132,7 +132,7 @@ namespace dxcanvas
|
||||
// internal implementation of the iColorBuffer interface
|
||||
canvas::IColorBufferSharedPtr mpColorBuffer;
|
||||
|
||||
// indicates wether the associated surface needs
|
||||
// indicates whether the associated surface needs
|
||||
// to refresh its contents or not. in other words,
|
||||
// this flag is set iff both representations are
|
||||
// out of sync.
|
||||
|
@ -240,7 +240,7 @@ void DrawViewWrapper::MarkObject( SdrObject* pObj )
|
||||
if( m_pMarkHandleProvider )
|
||||
bFrameDragSingles = m_pMarkHandleProvider->getFrameDragSingles();
|
||||
|
||||
this->SetFrameDragSingles(bFrameDragSingles);//decide wether each single object should get handles
|
||||
this->SetFrameDragSingles(bFrameDragSingles);//decide whether each single object should get handles
|
||||
this->SdrView::MarkObj( pObj, this->GetPageView() );
|
||||
this->showMarkHandles();
|
||||
}
|
||||
|
@ -250,7 +250,7 @@ const short HITPIX=2; //hit-tolerance in pixel
|
||||
Size aLogicSize = m_pChartWindow->PixelToLogic( Size( Width, Height ), MapMode( MAP_100TH_MM ) );
|
||||
|
||||
bool bIsEmbedded = true;
|
||||
//todo: for standalone chart: detect wether we are standalone
|
||||
//todo: for standalone chart: detect whether we are standalone
|
||||
if( bIsEmbedded )
|
||||
{
|
||||
//change map mode to fit new size
|
||||
|
@ -61,7 +61,7 @@ bool PositionAndSizeHelper::moveObject( ObjectType eObjectType
|
||||
|
||||
if( OBJECTTYPE_TITLE==eObjectType )
|
||||
{
|
||||
//@todo decide wether x is primary or secondary
|
||||
//@todo decide whether x is primary or secondary
|
||||
chart2::RelativePosition aRelativePosition;
|
||||
aRelativePosition.Anchor = drawing::Alignment_CENTER;
|
||||
//the anchor point at the title object is top/middle
|
||||
@ -72,7 +72,7 @@ bool PositionAndSizeHelper::moveObject( ObjectType eObjectType
|
||||
}
|
||||
else if( OBJECTTYPE_DATA_CURVE_EQUATION==eObjectType )
|
||||
{
|
||||
//@todo decide wether x is primary or secondary
|
||||
//@todo decide whether x is primary or secondary
|
||||
chart2::RelativePosition aRelativePosition;
|
||||
aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT;
|
||||
//the anchor point at the title object is top/middle
|
||||
@ -113,7 +113,7 @@ bool PositionAndSizeHelper::moveObject( ObjectType eObjectType
|
||||
}
|
||||
else if(OBJECTTYPE_DIAGRAM==eObjectType || OBJECTTYPE_DIAGRAM_WALL==eObjectType || OBJECTTYPE_DIAGRAM_FLOOR==eObjectType)
|
||||
{
|
||||
//@todo decide wether x is primary or secondary
|
||||
//@todo decide whether x is primary or secondary
|
||||
|
||||
//set position:
|
||||
chart2::RelativePosition aRelativePosition;
|
||||
|
@ -273,7 +273,7 @@ void Selection::adaptSelectionToNewPos( const Point& rMousePos, DrawViewWrapper*
|
||||
m_aSelectedOID = ObjectIdentifier( aPageCID );
|
||||
}
|
||||
|
||||
//check wether the diagram was hit but not selected (e.g. because it has no filling):
|
||||
//check whether the diagram was hit but not selected (e.g. because it has no filling):
|
||||
rtl::OUString aDiagramCID = ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_DIAGRAM, rtl::OUString::valueOf( sal_Int32(0) ) );
|
||||
rtl::OUString aWallCID( ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_DIAGRAM_WALL, rtl::OUString() ) );//@todo read CID from model
|
||||
bool bBackGroundHit = m_aSelectedOID.getObjectCID().equals( aPageCID ) || m_aSelectedOID.getObjectCID().equals( aWallCID ) || !m_aSelectedOID.isAutoGeneratedObject();
|
||||
@ -290,7 +290,7 @@ void Selection::adaptSelectionToNewPos( const Point& rMousePos, DrawViewWrapper*
|
||||
}
|
||||
}
|
||||
}
|
||||
//check wether the legend was hit but not selected (e.g. because it has no filling):
|
||||
//check whether the legend was hit but not selected (e.g. because it has no filling):
|
||||
if( bBackGroundHit || m_aSelectedOID.getObjectCID().equals( aDiagramCID ) )
|
||||
{
|
||||
rtl::OUString aLegendCID( ObjectIdentifier::createClassifiedIdentifierForParticle( ObjectIdentifier::createParticleForLegend(0,0) ) );//@todo read CID from model
|
||||
@ -560,7 +560,7 @@ SdrObject* SelectionHelper::getObjectToMark()
|
||||
|
||||
E3dScene* SelectionHelper::getSceneToRotate( SdrObject* pObj )
|
||||
{
|
||||
//search wether the object or one of its children is a 3D object
|
||||
//search whether the object or one of its children is a 3D object
|
||||
//if so, return the accessory 3DScene
|
||||
|
||||
E3dObject* pRotateable = 0;
|
||||
|
@ -113,13 +113,13 @@ struct OOO_DLLPUBLIC_CHARTVIEW ExplicitIncrementData
|
||||
before a scaling is applied, which may lead to non equidistant tickmarks
|
||||
on the screen.</p>
|
||||
|
||||
<p><member>PostEquidistant</member> rules wether the <member>Distance</member>
|
||||
<p><member>PostEquidistant</member> rules whether the <member>Distance</member>
|
||||
is meant to be a value before or after scaling.</p>
|
||||
*/
|
||||
double Distance;
|
||||
|
||||
/**
|
||||
<member>PostEquidistant</member> rules wether the member <member>Distance</member>
|
||||
<member>PostEquidistant</member> rules whether the member <member>Distance</member>
|
||||
describes a distance before or after the scaling is applied.
|
||||
|
||||
<p>If <member>PostEquidistant</member> equals <TRUE/> <member>Distance</member>
|
||||
|
@ -634,7 +634,7 @@ void SAL_CALL ChartModel::close( sal_Bool bDeliverOwnership )
|
||||
uno::Reference< uno::XInterface > xSelfHold( static_cast< ::cppu::OWeakObject* >(this) );
|
||||
|
||||
//the listeners have had no veto
|
||||
//check wether we self can close
|
||||
//check whether we self can close
|
||||
{
|
||||
util::CloseVetoException aVetoException = util::CloseVetoException(
|
||||
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
|
||||
|
@ -258,7 +258,7 @@ void SAL_CALL ChartModel::store()
|
||||
|
||||
if( aLocation.isEmpty() )
|
||||
throw io::IOException( C2U( "no location specified" ), static_cast< ::cppu::OWeakObject* >(this));
|
||||
//@todo check wether aLocation is something like private:factory...
|
||||
//@todo check whether aLocation is something like private:factory...
|
||||
if( m_bReadOnly )
|
||||
throw io::IOException( C2U( "document is read only" ), static_cast< ::cppu::OWeakObject* >(this));
|
||||
|
||||
|
@ -161,7 +161,7 @@ sal_Int32 AxisHelper::getExplicitNumberFormatKeyForAxis(
|
||||
if( xProp.is() && !( xProp->getPropertyValue( C2U( "NumberFormat" ) ) >>= nNumberFormatKey ) )
|
||||
{
|
||||
bool bFormatSet = false;
|
||||
//check wether we have a percent scale -> use percent format
|
||||
//check whether we have a percent scale -> use percent format
|
||||
if( xNumberFormatsSupplier.is() )
|
||||
{
|
||||
ScaleData aData = AxisHelper::getDateCheckedScale( xAxis, Reference< frame::XModel >( xNumberFormatsSupplier, uno::UNO_QUERY ) );
|
||||
|
@ -86,7 +86,7 @@ struct AxisLabelProperties
|
||||
double fRotationAngleDegree;
|
||||
|
||||
sal_Int32 nRhythm; //show only each nth label with n==nRhythm
|
||||
bool bRhythmIsFix; //states wether the given rhythm is fix or may be changed
|
||||
bool bRhythmIsFix; //states whether the given rhythm is fix or may be changed
|
||||
|
||||
//methods:
|
||||
void init( const ::com::sun::star::uno::Reference<
|
||||
|
@ -586,7 +586,7 @@ void BarChart::createShapes()
|
||||
bDrawConnectionLines = false;
|
||||
if( bDrawConnectionLines && pSeriesList->size()==1 )
|
||||
{
|
||||
//detect wether we have a stacked chart or not:
|
||||
//detect whether we have a stacked chart or not:
|
||||
StackingDirection eDirection = pSeries->getStackingDirection();
|
||||
if( eDirection != StackingDirection_Y_STACKING )
|
||||
bDrawConnectionLines = false;
|
||||
|
@ -80,7 +80,7 @@ private: //methods
|
||||
, double fScaledLowerBarDepth, double fScaledUpperBarDepth, double fBaseValue
|
||||
, BarPositionHelper* pPosHelper ) const;
|
||||
|
||||
virtual PlottingPositionHelper& getPlottingPositionHelper( sal_Int32 nAxisIndex ) const;//nAxisIndex indicates wether the position belongs to the main axis ( nAxisIndex==0 ) or secondary axis ( nAxisIndex==1 )
|
||||
virtual PlottingPositionHelper& getPlottingPositionHelper( sal_Int32 nAxisIndex ) const;//nAxisIndex indicates whether the position belongs to the main axis ( nAxisIndex==0 ) or secondary axis ( nAxisIndex==1 )
|
||||
|
||||
void adaptOverlapAndGapwidthForGroupBarsPerAxis();
|
||||
|
||||
|
@ -447,7 +447,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re
|
||||
m_pShapeFactory->createGroup2D( this->getLabelsGroupShape(rDataSeries, xTarget)
|
||||
, ObjectIdentifier::createPointCID( rDataSeries.getLabelCID_Stub(),nPointIndex ) ) );
|
||||
|
||||
//check wether the label needs to be created and how:
|
||||
//check whether the label needs to be created and how:
|
||||
DataPointLabel* pLabel = rDataSeries.getDataPointLabelIfLabel( nPointIndex );
|
||||
|
||||
if( !pLabel )
|
||||
@ -1113,7 +1113,7 @@ void VSeriesPlotter::createRegressionCurveEquationShapes(
|
||||
chart2::RelativePosition aRelativePosition;
|
||||
if( xEquationProperties->getPropertyValue( C2U("RelativePosition")) >>= aRelativePosition )
|
||||
{
|
||||
//@todo decide wether x is primary or secondary
|
||||
//@todo decide whether x is primary or secondary
|
||||
double fX = aRelativePosition.Primary*m_aPageReferenceSize.Width;
|
||||
double fY = aRelativePosition.Secondary*m_aPageReferenceSize.Height;
|
||||
aScreenPosition2D.X = static_cast< sal_Int32 >( ::rtl::math::round( fX ));
|
||||
|
@ -165,7 +165,7 @@ protected: //member
|
||||
|
||||
rtl::OUString m_aCooSysParticle;
|
||||
|
||||
typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates wether this is a main or secondary axis
|
||||
typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates whether this is a main or secondary axis
|
||||
|
||||
//
|
||||
::com::sun::star::uno::Reference<
|
||||
|
@ -218,7 +218,7 @@ private: //member
|
||||
|
||||
::com::sun::star::chart2::StackingDirection m_eStackingDirection;
|
||||
|
||||
sal_Int32 m_nAxisIndex;//indicates wether this is attached to a main or secondary axis
|
||||
sal_Int32 m_nAxisIndex;//indicates whether this is attached to a main or secondary axis
|
||||
|
||||
sal_Bool m_bConnectBars;
|
||||
|
||||
|
@ -407,7 +407,7 @@ protected: //methods
|
||||
, const tPropertyNameMap& rMap
|
||||
, tPropertyNameValueMap* pOverwriteMap=0 );
|
||||
|
||||
virtual PlottingPositionHelper& getPlottingPositionHelper( sal_Int32 nAxisIndex ) const;//nAxisIndex indicates wether the position belongs to the main axis ( nAxisIndex==0 ) or secondary axis ( nAxisIndex==1 )
|
||||
virtual PlottingPositionHelper& getPlottingPositionHelper( sal_Int32 nAxisIndex ) const;//nAxisIndex indicates whether the position belongs to the main axis ( nAxisIndex==0 ) or secondary axis ( nAxisIndex==1 )
|
||||
|
||||
VDataSeries* getFirstSeries() const;
|
||||
|
||||
|
@ -443,7 +443,7 @@ VCoordinateSystem* lcl_getCooSysForPlotter( const std::vector< VCoordinateSystem
|
||||
return 0;
|
||||
}
|
||||
|
||||
typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates wether this is a main or secondary axis
|
||||
typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates whether this is a main or secondary axis
|
||||
typedef std::pair< VCoordinateSystem* , tFullAxisIndex > tFullCoordinateSystem;
|
||||
typedef std::map< VCoordinateSystem*, tFullAxisIndex > tCoordinateSystemMap;
|
||||
|
||||
@ -1881,7 +1881,7 @@ awt::Rectangle ExplicitValueProvider::addAxisTitleSizes(
|
||||
ExplicitValueProvider* pExplicitValueProvider = ExplicitValueProvider::getExplicitValueProvider(xChartView);
|
||||
if( pExplicitValueProvider )
|
||||
{
|
||||
//detect wether x axis points into x direction or not
|
||||
//detect whether x axis points into x direction or not
|
||||
if( lcl_getPropertySwapXAndYAxis( ChartModelHelper::findDiagram( xChartModel ) ) )
|
||||
{
|
||||
std::swap( xTitle_Height, xTitle_Width );
|
||||
@ -1948,7 +1948,7 @@ awt::Rectangle ExplicitValueProvider::substractAxisTitleSizes(
|
||||
ExplicitValueProvider* pExplicitValueProvider = ExplicitValueProvider::getExplicitValueProvider(xChartView);
|
||||
if( pExplicitValueProvider )
|
||||
{
|
||||
//detect wether x axis points into x direction or not
|
||||
//detect whether x axis points into x direction or not
|
||||
if( lcl_getPropertySwapXAndYAxis( ChartModelHelper::findDiagram( xChartModel ) ) )
|
||||
{
|
||||
std::swap( xTitle_Height, xTitle_Width );
|
||||
@ -2046,7 +2046,7 @@ bool getAvailablePosAndSizeForDiagram(
|
||||
chart2::RelativePosition aRelativePosition;
|
||||
if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativePosition" ) )>>=aRelativePosition) )
|
||||
{
|
||||
//@todo decide wether x is primary or secondary
|
||||
//@todo decide whether x is primary or secondary
|
||||
|
||||
//the coordinates re relative to the page
|
||||
double fX = aRelativePosition.Primary*rPageSize.Width;
|
||||
@ -2178,7 +2178,7 @@ std::auto_ptr<VTitle> lcl_createTitle( TitleHelper::eTitleType eType
|
||||
{
|
||||
rbAutoPosition = false;
|
||||
|
||||
//@todo decide wether x is primary or secondary
|
||||
//@todo decide whether x is primary or secondary
|
||||
double fX = aRelativePosition.Primary*rPageSize.Width;
|
||||
double fY = aRelativePosition.Secondary*rPageSize.Height;
|
||||
|
||||
|
@ -235,7 +235,7 @@ private: //member
|
||||
::cppu::OMultiTypeInterfaceContainerHelper
|
||||
m_aListenerContainer;
|
||||
|
||||
bool volatile m_bViewDirty; //states wether the view needs to be rebuild
|
||||
bool volatile m_bViewDirty; //states whether the view needs to be rebuild
|
||||
bool volatile m_bInViewUpdate;
|
||||
bool volatile m_bViewUpdatePending;
|
||||
bool volatile m_bRefreshAddIn;
|
||||
|
@ -113,7 +113,7 @@ bool lcl_clip2d(B2DTuple& rPoint0, B2DTuple& rPoint1, const B2DRectangle& rRecta
|
||||
double fTE = 0,
|
||||
fTL = 1;
|
||||
|
||||
// Test wether at least a part lies in the four half-planes with respect to
|
||||
// Test whether at least a part lies in the four half-planes with respect to
|
||||
// the rectangles four edges.
|
||||
if( lcl_CLIPt(aDirection.getX(), rRectangle.getMinX() - rPoint0.getX(), fTE, fTL) )
|
||||
if( lcl_CLIPt(-aDirection.getX(), rPoint0.getX() - rRectangle.getMaxX(), fTE, fTL) )
|
||||
|
@ -94,7 +94,7 @@ awt::Point PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForUnitCi
|
||||
|
||||
if(3==m_nDimensionCount && nLabelPlacement == ::com::sun::star::chart::DataLabelPlacement::OUTSIDE)
|
||||
{
|
||||
//check wether the upper or the downer edge is more distant from the center
|
||||
//check whether the upper or the downer edge is more distant from the center
|
||||
//take the farest point to put the label to
|
||||
|
||||
awt::Point aP0( this->transformSceneToScreenPosition(
|
||||
|
@ -358,7 +358,7 @@ awt::Size lcl_placeLegendEntries(
|
||||
nCurrentColumn++;
|
||||
if( nCurrentColumn < nCurrentColumnCount )
|
||||
{
|
||||
//check wether the current column width is sufficient for the new entry
|
||||
//check whether the current column width is sufficient for the new entry
|
||||
if( aColumnWidths[nCurrentColumn]>=nNewWidth )
|
||||
{
|
||||
//all good proceed with next entry
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
void GetName( String& rName ){rName = aEdtName.GetText();}
|
||||
|
||||
/** add a callback Link that is called whenever the content of the edit
|
||||
field is changed. The Link result determines wether the OK
|
||||
field is changed. The Link result determines whether the OK
|
||||
Button is enabled (> 0) or disabled (== 0).
|
||||
|
||||
@param rLink a Callback declared with DECL_LINK and implemented with
|
||||
|
@ -616,7 +616,7 @@ IMPL_LINK(SvxEditDictionaryDialog, NewDelHdl, PushButton*, pBtn)
|
||||
{
|
||||
// make changes in dic
|
||||
|
||||
//! ...IsVisible should reflect wether the dictionary is a negativ
|
||||
//! ...IsVisible should reflect whether the dictionary is a negativ
|
||||
//! or not (hopefully...)
|
||||
sal_Bool bIsNegEntry = aReplaceFT.IsVisible();
|
||||
::rtl::OUString aRplcText;
|
||||
|
@ -168,7 +168,7 @@ namespace dbaui
|
||||
xController.set( xFrame->getController(), UNO_SET_THROW );
|
||||
}
|
||||
|
||||
// check wether there is a model (not required)
|
||||
// check whether there is a model (not required)
|
||||
xModel.set( xController->getModel() );
|
||||
}
|
||||
|
||||
|
@ -685,7 +685,7 @@ sal_Bool XPlugin_Impl::provideNewStream(const OUString& mimetype,
|
||||
|
||||
OString aURL = OUStringToOString( url, m_aEncoding );
|
||||
|
||||
// check wether there is a notifylistener for this stream
|
||||
// check whether there is a notifylistener for this stream
|
||||
// this means that the strema is created from the plugin
|
||||
// via NPN_GetURLNotify or NPN_PostURLNotify
|
||||
std::list<PluginEventListener*>::iterator iter;
|
||||
|
@ -380,7 +380,7 @@ void OPumpTest::testTerminate( const Reference< XInterface > &r )
|
||||
ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" );
|
||||
ERROR_ASSERT( t.m_pTestListener->m_bTerminated , "should be terminiated already" );
|
||||
// terminte leads to an error, that is no surprise, in fact
|
||||
// one can't tell wether the error occurs because of the terminate
|
||||
// one can't tell whether the error occurs because of the terminate
|
||||
// call or for some other reason !
|
||||
// ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" );
|
||||
ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" );
|
||||
|
@ -841,7 +841,7 @@ class ServiceManagerFactory implements XServiceInfo, XSingleComponentFactory, X
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks wether or not a service is supported.
|
||||
* Checks whether or not a service is supported.
|
||||
* <p>
|
||||
* @return true - if the service is supported, otherwise false.
|
||||
* @param serviceName the name of the service that should be checked.
|
||||
|
@ -458,7 +458,7 @@ sal_Bool TokenInfo::MatchesTranslation( TokenInfo& rInfo, sal_Bool bGenErrors, P
|
||||
{
|
||||
// check if tags are equal
|
||||
// check if all existing properties are in the translation as well and
|
||||
// wether they have a matching content (the same in most cases)
|
||||
// whether they have a matching content (the same in most cases)
|
||||
|
||||
if ( nId != rInfo.nId )
|
||||
return sal_False;
|
||||
|
@ -132,7 +132,7 @@ sal_Bool SAL_CALL SpellChecker::hasLocale(const Locale& rLocale)
|
||||
|
||||
sal_Int16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale & )
|
||||
{
|
||||
// Checks wether a word is OK in a given language (Locale) or not, and
|
||||
// Checks whether a word is OK in a given language (Locale) or not, and
|
||||
// provides a failure type for the incorrect ones.
|
||||
// - words with "liss" (case sensitiv) as substring will be negative.
|
||||
// - words with 'x' or 'X' will have incorrect spelling.
|
||||
|
@ -50,7 +50,7 @@ interface IFormComponentAction
|
||||
class ComponentTreeTraversal implements IFormComponentAction
|
||||
{
|
||||
/* ------------------------------------------------------------------ */
|
||||
/** Indicator method to decide wether to step down the tree.
|
||||
/** Indicator method to decide whether to step down the tree.
|
||||
|
||||
<p>The default implementation checks if the container given is a grid
|
||||
control model or a <service scope="com.sun.star.form">FormComponents</service>
|
||||
|
@ -42,7 +42,7 @@ interface XAxisSupplier : ::com::sun::star::uno::XInterface
|
||||
the primary axis of the specified dimension. The returned object supports service <type>ChartAxis</type>.
|
||||
|
||||
@param nDimensionIndex
|
||||
Parameter nDimensionIndex says wether it is a x, y or z-axis (0 for x).
|
||||
Parameter nDimensionIndex says whether it is a x, y or z-axis (0 for x).
|
||||
*/
|
||||
com::sun::star::chart::XAxis getAxis( [in] long nDimensionIndex );
|
||||
|
||||
@ -50,7 +50,7 @@ interface XAxisSupplier : ::com::sun::star::uno::XInterface
|
||||
the secondary axis of the specified dimension. The returned object supports service <type>ChartAxis</type>.
|
||||
|
||||
@param nDimensionIndex
|
||||
Parameter nDimensionIndex says wether it is a x, y or z-axis (0 for x).
|
||||
Parameter nDimensionIndex says whether it is a x, y or z-axis (0 for x).
|
||||
*/
|
||||
com::sun::star::chart::XAxis getSecondaryAxis( [in] long nDimensionIndex );
|
||||
};
|
||||
|
@ -73,7 +73,7 @@ struct ScaleData
|
||||
*/
|
||||
boolean AutoDateAxis;
|
||||
|
||||
/** describes wether data points on category or date axis are placed between tickmarks or not
|
||||
/** describes whether data points on category or date axis are placed between tickmarks or not
|
||||
if true the maximum on the scale will be expanded for one interval
|
||||
*/
|
||||
boolean ShiftedCategoryPosition;
|
||||
|
@ -24,7 +24,7 @@
|
||||
; if key is absent the default is 24
|
||||
; ColorDepth=24
|
||||
|
||||
; ColorDevice: the default setting wether the device is color capable
|
||||
; ColorDevice: the default setting whether the device is color capable
|
||||
; possible values: 0: driver setting, -1: grey scale, 1: color
|
||||
; if key is absent the default is 0
|
||||
; ColorDepth=0
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
; Note: the following two key types are in the global section to provide
|
||||
; defaults for newly added printers.
|
||||
; PerformFontSubstitution: wether to replace downloadable fonts
|
||||
; PerformFontSubstitution: whether to replace downloadable fonts
|
||||
; with resident fonts or not
|
||||
PerformFontSubstitution=false
|
||||
|
||||
@ -98,7 +98,7 @@ Command=
|
||||
; and therefore the application should not show its own dialog.
|
||||
;Features=
|
||||
|
||||
; PerformFontSubstitution: wether to replace downloadable fonts
|
||||
; PerformFontSubstitution: whether to replace downloadable fonts
|
||||
; with resident fonts or not
|
||||
PerformFontSubstitution=false
|
||||
|
||||
|
@ -51,7 +51,7 @@ namespace pyuno
|
||||
|
||||
/** Helper class for keeping references to python objects.
|
||||
BEWARE: Look up every python function you use to check
|
||||
wether you get an acquired or not acquired object pointer
|
||||
whether you get an acquired or not acquired object pointer
|
||||
(python terminus for a not acquired object pointer
|
||||
is 'borrowed reference'). Use in the acquired pointer cases the
|
||||
PyRef( pointer, SAL_NO_ACQUIRE) ctor.
|
||||
|
@ -343,7 +343,7 @@ void SAL_CALL OXUndoEnvironment::propertyChange( const PropertyChangeEvent& _rEv
|
||||
implSetModified();
|
||||
|
||||
// now we have access to the cached info about the property affected
|
||||
// and are able to decide wether or not we need an undo action
|
||||
// and are able to decide whether or not we need an undo action
|
||||
|
||||
// no UNDO for transient/readonly properties
|
||||
if ( aPropertyPos->second.bIsReadonlyOrTransient )
|
||||
|
@ -152,7 +152,7 @@ static BOOL IsValidFilePathComponent(
|
||||
lpComponentEnd = lpCurrent;
|
||||
}
|
||||
|
||||
/* Test wether the component specifies a device name what is not allowed */
|
||||
/* Test whether the component specifies a device name what is not allowed */
|
||||
|
||||
// MT: PERFORMANCE:
|
||||
// This is very expensive. A lot of calls to _tcsicmp.
|
||||
|
@ -574,7 +574,7 @@ SfxFrame* SdModule::ExecuteNewDocument( SfxRequest& rReq )
|
||||
{
|
||||
//we start without wizard
|
||||
|
||||
//check wether we should load a template document
|
||||
//check whether we should load a template document
|
||||
const ::rtl::OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.presentation.PresentationDocument" ) );
|
||||
String aStandardTemplate( SfxObjectFactory::GetStandardTemplate( aServiceName ) );
|
||||
|
||||
|
@ -290,7 +290,7 @@ TemplateScanner::State TemplateScanner::ScanEntry (void)
|
||||
::ucbhelper::Content aContent = ::ucbhelper::Content (aId, mxEntryEnvironment);
|
||||
if (aContent.isDocument ())
|
||||
{
|
||||
// Check wether the entry is an impress template. If so
|
||||
// Check whether the entry is an impress template. If so
|
||||
// add a new entry to the resulting list (which is created
|
||||
// first if necessary).
|
||||
if ( (sContentType == MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE)
|
||||
|
@ -629,7 +629,7 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink,
|
||||
|
||||
UpdatePreview( sal_True );
|
||||
|
||||
//check wether we should start with a template document initialy and preselect it
|
||||
//check whether we should start with a template document initialy and preselect it
|
||||
const ::rtl::OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.presentation.PresentationDocument" ) );
|
||||
String aStandardTemplate( SfxObjectFactory::GetStandardTemplate( aServiceName ) );
|
||||
if( aStandardTemplate.Len() )
|
||||
|
@ -361,7 +361,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
|
||||
|
||||
bool bSetToAllPages = false;
|
||||
|
||||
// Ask, wether the setting are for the background-page or for the current page
|
||||
// Ask, whether the setting are for the background-page or for the current page
|
||||
if( !mbMasterPage && bChanges )
|
||||
{
|
||||
// But don't ask in notice-view, because we can't change the background of
|
||||
|
@ -161,7 +161,7 @@ public:
|
||||
*/
|
||||
const TemplateEntry* GetLastAddedEntry (void) const;
|
||||
|
||||
/** Set wether to sort the template entries inside the regions.
|
||||
/** Set whether to sort the template entries inside the regions.
|
||||
*/
|
||||
void EnableEntrySorting (bool isEntrySortingEnabled = true)
|
||||
{mbEntrySortingEnabled = isEntrySortingEnabled;}
|
||||
|
@ -77,7 +77,7 @@ public:
|
||||
*/
|
||||
virtual sal_Int32 GetPreferredHeight (sal_Int32 nWidth) = 0;
|
||||
|
||||
/** Return wether the window is generally resizable. When used by
|
||||
/** Return whether the window is generally resizable. When used by
|
||||
a VerticalLayouter then the width will always be resized and
|
||||
the return value of this method determines whether the height
|
||||
may be modified as well.
|
||||
|
@ -93,7 +93,7 @@ protected:
|
||||
virtual void SAL_CALL onTerminated (void);
|
||||
|
||||
private:
|
||||
/** Flag that indicates wether the onTerminated method has been already
|
||||
/** Flag that indicates whether the onTerminated method has been already
|
||||
called. If so then a subsequent call to detach deletes the thread.
|
||||
*/
|
||||
volatile bool mbIsTerminated;
|
||||
|
@ -155,7 +155,7 @@ private:
|
||||
/** Remember the specified page. If it differs from mpDescriptor then
|
||||
the buttons are placed anew.
|
||||
@return
|
||||
The returned flag indicates wether the mpDescriptor member
|
||||
The returned flag indicates whether the mpDescriptor member
|
||||
is set to a new value.
|
||||
*/
|
||||
bool SetPage (const model::SharedPageDescriptor& rpDescriptor);
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
enum ResetMode { RM_Normal, RM_AbortAnimations };
|
||||
/** Restore the normal position of all page objects.
|
||||
@param eMode
|
||||
This flag controls wether to start an animation that ends in the
|
||||
This flag controls whether to start an animation that ends in the
|
||||
normal positions of all slides (AM_Animated) or to restore the
|
||||
normal positions immediately (AM_Immediate).
|
||||
*/
|
||||
|
@ -991,7 +991,7 @@ void WriterXmlFinalizer::visit( ParagraphElement& elem, const std::list< Element
|
||||
}
|
||||
|
||||
// check whether to leave some space to next paragraph
|
||||
// find wether there is a next paragraph
|
||||
// find whether there is a next paragraph
|
||||
std::list< Element* >::const_iterator it = rParentIt;
|
||||
const ParagraphElement* pNextPara = NULL;
|
||||
while( ++it != elem.Parent->Children.end() && ! pNextPara )
|
||||
|
@ -64,7 +64,7 @@ public class DocumentInfo
|
||||
{
|
||||
m_xMSF = getMSF();
|
||||
|
||||
System.out.println("check wether there is a valid MultiServiceFactory");
|
||||
System.out.println("check whether there is a valid MultiServiceFactory");
|
||||
|
||||
assertNotNull("## Couldn't get MultiServiceFactory make sure your Office is started", m_xMSF);
|
||||
|
||||
|
@ -63,7 +63,7 @@ public class GlobalEventBroadcaster {
|
||||
|
||||
@Before public void initialize() {
|
||||
m_xMSF = getMSF();
|
||||
System.out.println("check wether there is a valid MultiServiceFactory");
|
||||
System.out.println("check whether there is a valid MultiServiceFactory");
|
||||
|
||||
assertNotNull("## Couldn't get MultiServiceFactory make sure your Office is started", m_xMSF);
|
||||
|
||||
@ -83,7 +83,7 @@ public class GlobalEventBroadcaster {
|
||||
|
||||
System.out.println("... done");
|
||||
|
||||
System.out.println("check wether the created instance is valid");
|
||||
System.out.println("check whether the created instance is valid");
|
||||
|
||||
assertNotNull("couldn't create service", GlobalEventBroadcaster);
|
||||
|
||||
|
@ -1506,7 +1506,7 @@ void SfxDispatcher::_Update_Impl( sal_Bool bUIActive, sal_Bool bIsMDIApp, sal_Bo
|
||||
if ( nFeature && !pShell->HasUIFeature( nFeature ) )
|
||||
continue;
|
||||
|
||||
// slot decides wether a ChildWindow is shown when document is OLE server or OLE client
|
||||
// slot decides whether a ChildWindow is shown when document is OLE server or OLE client
|
||||
sal_uInt16 nMode = SFX_VISIBILITY_STANDARD;
|
||||
if( pSlot )
|
||||
{
|
||||
|
@ -597,7 +597,7 @@ void FileDialogHelper_Impl::updatePreviewState( sal_Bool _bUpdatePreviewWindow )
|
||||
{
|
||||
uno::Reference< XFilePickerControlAccess > xCtrlAccess( mxFileDlg, UNO_QUERY );
|
||||
|
||||
// check, wether or not we have to display a preview
|
||||
// check, whether or not we have to display a preview
|
||||
if ( xCtrlAccess.is() )
|
||||
{
|
||||
try
|
||||
@ -1550,7 +1550,7 @@ ErrCode FileDialogHelper_Impl::execute( std::vector<rtl::OUString>& rpURLList,
|
||||
if ( rpURLList.empty() )
|
||||
return ERRCODE_ABORT;
|
||||
|
||||
// check, wether or not we have to display a password box
|
||||
// check, whether or not we have to display a password box
|
||||
if ( pCurrentFilter && mbHasPassword && mbIsPwdEnabled && xCtrlAccess.is() )
|
||||
{
|
||||
try
|
||||
|
@ -192,7 +192,7 @@ IMPL_LINK( DocumentInserter, DialogClosedHdl, sfx2::FileDialogHelper*, EMPTYARG
|
||||
TemplateDescription::FILESAVE_AUTOEXTENSION_PASSWORD == nDlgType
|
||||
|| TemplateDescription::FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS == nDlgType );
|
||||
|
||||
// check, wether or not we have to display a password box
|
||||
// check, whether or not we have to display a password box
|
||||
if ( bHasPassword && m_pFileDlg->IsPasswordEnabled() )
|
||||
{
|
||||
try
|
||||
|
@ -2243,7 +2243,7 @@ sal_Bool getTextProperty_Impl( Content& rContent,
|
||||
{
|
||||
uno::Reference< XPropertySetInfo > aPropInfo = rContent.getProperties();
|
||||
|
||||
// check, wether or not the property exists
|
||||
// check, whether or not the property exists
|
||||
if ( !aPropInfo.is() || !aPropInfo->hasPropertyByName( rPropName ) )
|
||||
{
|
||||
return sal_False;
|
||||
|
@ -1031,7 +1031,7 @@ sal_Bool SfxDocTplService_Impl::setProperty( Content& rContent,
|
||||
Any aPropValue( rPropValue );
|
||||
uno::Reference< XPropertySetInfo > aPropInfo = rContent.getProperties();
|
||||
|
||||
// check, wether or not the property exists, create it, when not
|
||||
// check, whether or not the property exists, create it, when not
|
||||
if ( !aPropInfo.is() || !aPropInfo->hasPropertyByName( rPropName ) )
|
||||
{
|
||||
uno::Reference< XPropertyContainer > xProperties( rContent.get(), UNO_QUERY );
|
||||
@ -1102,7 +1102,7 @@ sal_Bool SfxDocTplService_Impl::getProperty( Content& rContent,
|
||||
{
|
||||
uno::Reference< XPropertySetInfo > aPropInfo = rContent.getProperties();
|
||||
|
||||
// check, wether or not the property exists
|
||||
// check, whether or not the property exists
|
||||
if ( !aPropInfo.is() || !aPropInfo->hasPropertyByName( rPropName ) )
|
||||
{
|
||||
return sal_False;
|
||||
@ -1511,7 +1511,7 @@ sal_Bool SfxDocTplService_Impl::addGroup( const OUString& rGroupName )
|
||||
{
|
||||
::osl::MutexGuard aGuard( maMutex );
|
||||
|
||||
// Check, wether or not there is a group with this name
|
||||
// Check, whether or not there is a group with this name
|
||||
Content aNewGroup;
|
||||
OUString aNewGroupURL;
|
||||
INetURLObject aNewGroupObj( maRootURL );
|
||||
@ -1805,7 +1805,7 @@ sal_Bool SfxDocTplService_Impl::storeTemplate( const OUString& rGroupName,
|
||||
{
|
||||
::osl::MutexGuard aGuard( maMutex );
|
||||
|
||||
// Check, wether or not there is a group with this name
|
||||
// Check, whether or not there is a group with this name
|
||||
// Return false, if there is no group with the given name
|
||||
Content aGroup, aTemplate, aTargetGroup, aTemplateToRemove;
|
||||
OUString aGroupURL, aTemplateURL, aTemplateToRemoveTargetURL;
|
||||
@ -1997,7 +1997,7 @@ sal_Bool SfxDocTplService_Impl::addTemplate( const OUString& rGroupName,
|
||||
{
|
||||
::osl::MutexGuard aGuard( maMutex );
|
||||
|
||||
// Check, wether or not there is a group with this name
|
||||
// Check, whether or not there is a group with this name
|
||||
// Return false, if there is no group with the given name
|
||||
Content aGroup, aTemplate, aTargetGroup;
|
||||
OUString aGroupURL, aTemplateURL;
|
||||
@ -2147,7 +2147,7 @@ sal_Bool SfxDocTplService_Impl::removeTemplate( const OUString& rGroupName,
|
||||
{
|
||||
::osl::MutexGuard aGuard( maMutex );
|
||||
|
||||
// Check, wether or not there is a group with this name
|
||||
// Check, whether or not there is a group with this name
|
||||
// Return false, if there is no group with the given name
|
||||
Content aGroup, aTemplate;
|
||||
OUString aGroupURL, aTemplateURL;
|
||||
@ -2200,7 +2200,7 @@ sal_Bool SfxDocTplService_Impl::renameTemplate( const OUString& rGroupName,
|
||||
{
|
||||
::osl::MutexGuard aGuard( maMutex );
|
||||
|
||||
// Check, wether or not there is a group with this name
|
||||
// Check, whether or not there is a group with this name
|
||||
// Return false, if there is no group with the given name
|
||||
Content aGroup, aTemplate;
|
||||
OUString aGroupURL, aTemplateURL;
|
||||
|
@ -733,7 +733,7 @@ void SfxInPlaceClient::SetObject( const uno::Reference < embed::XEmbeddedObject
|
||||
|
||||
if ( rObject.is() )
|
||||
{
|
||||
// as soon as an object was connected to a client it has to be checked wether the object wants
|
||||
// as soon as an object was connected to a client it has to be checked whether the object wants
|
||||
// to be activated
|
||||
rObject->addStateChangeListener( uno::Reference < embed::XStateChangeListener >( m_pImp->m_xClient, uno::UNO_QUERY ) );
|
||||
rObject->addEventListener( uno::Reference < document::XEventListener >( m_pImp->m_xClient, uno::UNO_QUERY ) );
|
||||
|
@ -2177,7 +2177,7 @@ sal_Bool SfxViewFrame::SwitchToViewShell_Impl
|
||||
OSL_PRECOND( pOldSh, "SfxViewFrame::SwitchToViewShell_Impl: that's called *switch* (not for *initial-load*) for a reason" );
|
||||
if ( pOldSh )
|
||||
{
|
||||
// ask wether it can be closed
|
||||
// ask whether it can be closed
|
||||
if ( !pOldSh->PrepareClose( sal_True ) )
|
||||
return sal_False;
|
||||
|
||||
|
@ -1465,7 +1465,7 @@ sal_Bool SfxViewShell::HasSelection( sal_Bool ) const
|
||||
|
||||
With this virtual Method can a for example a Dialog be queried, to
|
||||
check if something is selected in the current view. If the Parameter
|
||||
is <BOOL> TRUE then it is checked wether some text is selected.
|
||||
is <BOOL> TRUE then it is checked whether some text is selected.
|
||||
*/
|
||||
|
||||
{
|
||||
|
@ -132,7 +132,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
|
||||
// DESKTOP_LAUNCH, see http://freedesktop.org/pipermail/xdg/2004-August/004489.html
|
||||
static const char *pDesktopLaunch = getenv( "DESKTOP_LAUNCH" );
|
||||
|
||||
// Check wether aCommand contains a document url or not
|
||||
// Check whether aCommand contains a document url or not
|
||||
sal_Int32 nIndex = aCommand.indexOf( OUString( RTL_CONSTASCII_USTRINGPARAM(":/") ) );
|
||||
|
||||
if( nIndex > 0 || 0 == aCommand.compareToAscii("mailto:", 7) )
|
||||
|
@ -365,7 +365,7 @@ private:
|
||||
* For up and down movement, we also iterator over all caret positions and use SmCaretPos2LineVisitor
|
||||
* to find a line for each caret position. Then we compute the distance from the current
|
||||
* caret position to every other caret position and chooses the one closest that is either
|
||||
* above or below the current caret position, depending on wether we're doing up or down movement.
|
||||
* above or below the current caret position, depending on whether we're doing up or down movement.
|
||||
*
|
||||
* This result of this approach to caret movement is that we have logically predictable
|
||||
* movement for left and right, whilst leftclick, up and down movement depends on the sizes
|
||||
|
@ -62,7 +62,7 @@ class ValueSet
|
||||
This class allows the selection of an item. In the process items are
|
||||
drawn side by side. The selection of items can be more clear than in a
|
||||
ListBox shape for example in case of colors or samples.
|
||||
The amount of columns drawn by the control and wether the items
|
||||
The amount of columns drawn by the control and whether the items
|
||||
should be encircled can be specified. Optional a NoSelection or name
|
||||
field could be shown. By default image and color items are supported.
|
||||
Items could be drawn by oneself if InsertItem() is only called with
|
||||
|
@ -128,7 +128,7 @@ uno::Reference<XAccessible>
|
||||
throw (::com::sun::star::uno::RuntimeException,
|
||||
::com::sun::star::lang::IndexOutOfBoundsException)
|
||||
{
|
||||
// Check wether the given index is valid.
|
||||
// Check whether the given index is valid.
|
||||
if (nIndex < 0 || (unsigned long)nIndex >= maVisibleChildren.size())
|
||||
throw lang::IndexOutOfBoundsException (
|
||||
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
|
||||
|
@ -276,7 +276,7 @@ public:
|
||||
@param pReplacement
|
||||
The replacement for the current child.
|
||||
@return
|
||||
The returned value indicates wether the replacement has been
|
||||
The returned value indicates whether the replacement has been
|
||||
finished successfully.
|
||||
*/
|
||||
virtual sal_Bool ReplaceChild (
|
||||
|
@ -672,7 +672,7 @@ void SAL_CALL FmXUndoEnvironment::propertyChange(const PropertyChangeEvent& evt)
|
||||
}
|
||||
|
||||
// now we have access to the cached info about the property affected
|
||||
// and are able to decide wether or not we need an undo action
|
||||
// and are able to decide whether or not we need an undo action
|
||||
|
||||
bool bAddUndoAction = rModel.IsUndoEnabled();
|
||||
// no UNDO for transient/readonly properties
|
||||
|
@ -1209,7 +1209,7 @@ void SwHTMLTableLayout::AutoLayoutPass2( sal_uInt16 nAbsAvail, sal_uInt16 nRelAv
|
||||
nAbsTabWidth = IsTopTable() ? MAX_TABWIDTH : nAbsAvail;
|
||||
nRelTabWidth = (nRelAvail ? nRelAvail : nAbsTabWidth );
|
||||
|
||||
// First of all, we check wether we can fit the layout constrains,
|
||||
// First of all, we check whether we can fit the layout constrains,
|
||||
// which are: Every cell's width excluding the borders must be at least
|
||||
// MINLAY:
|
||||
|
||||
|
@ -110,7 +110,7 @@ class SwIndexMarkDlg : public Window
|
||||
sal_Bool bPhoneticED1_ChangedByUser;
|
||||
sal_Bool bPhoneticED2_ChangedByUser;
|
||||
LanguageType nLangForPhoneticReading; //Language of current text used for phonetic reading proposal
|
||||
sal_Bool bIsPhoneticReadingEnabled; //this value states wether phopentic reading is enabled in principle dependend of global cjk settings and language of current entry
|
||||
sal_Bool bIsPhoneticReadingEnabled; //this value states whether phonetic reading is enabled in principle dependent of global cjk settings and language of current entry
|
||||
com::sun::star::uno::Reference< com::sun::star::i18n::XExtendedIndexEntrySupplier >
|
||||
xExtendedIndexEntrySupplier;
|
||||
|
||||
|
@ -947,7 +947,7 @@ void SwIndexMarkDlg::UpdateDialog()
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
Remind wether the edit boxes for Phonetic reading are changed manually
|
||||
Remind whether the edit boxes for Phonetic reading are changed manually
|
||||
--------------------------------------------------------------------*/
|
||||
IMPL_LINK( SwIndexMarkDlg, PhoneticEDModifyHdl, Edit *, pEdit )
|
||||
{
|
||||
|
@ -249,7 +249,7 @@ inline sal_uIntPtr DbgIsErrorOut()
|
||||
return sal_False;
|
||||
}
|
||||
|
||||
inline sal_uIntPtr DbgGetErrorOut() // Testtool: test wether to collect OSL_ASSERTions as well
|
||||
inline sal_uIntPtr DbgGetErrorOut() // Testtool: test whether to collect OSL_ASSERTions as well
|
||||
{
|
||||
DbgData* pData = DbgGetData();
|
||||
if ( pData )
|
||||
|
@ -383,7 +383,7 @@ void SAL_CALL CachedContentResultSetStub
|
||||
|
||||
if(!bFirstPropagationDone)
|
||||
{
|
||||
//check wether the properties 'FetchSize' and 'FetchDirection' do exist
|
||||
//check whether the properties 'FetchSize' and 'FetchDirection' do exist
|
||||
|
||||
Reference< XPropertySetInfo > xPropertySetInfo = getPropertySetInfo();
|
||||
sal_Bool bHasSize = xPropertySetInfo->hasPropertyByName( m_aPropertyNameForFetchSize );
|
||||
|
@ -920,7 +920,7 @@ static sal_Bool UCBOpenContentSync(
|
||||
if(xContId.is())
|
||||
aScheme = xContId->getContentProviderScheme();
|
||||
|
||||
// now determine wether we use a timeout or not;
|
||||
// now determine whether we use a timeout or not;
|
||||
if( ! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("http")) &&
|
||||
! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("https")) &&
|
||||
! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.webdav")) &&
|
||||
|
@ -673,7 +673,7 @@ bool PrintFontManager::PrintFont::readAfmMetrics( const OString& rFileName, Mult
|
||||
else if( m_aEncoding == RTL_TEXTENCODING_DONTKNOW )
|
||||
m_aEncoding = RTL_TEXTENCODING_ADOBE_STANDARD;
|
||||
|
||||
// try to parse the font name and decide wether it might be a
|
||||
// try to parse the font name and decide whether it might be a
|
||||
// japanese font. Who invented this PITA ?
|
||||
OUString aPSNameLastToken( aPSName.copy( aPSName.lastIndexOf( '-' )+1 ) );
|
||||
if( ! aPSNameLastToken.compareToAscii( "H" ) ||
|
||||
|
@ -879,7 +879,7 @@ public:
|
||||
the OutDevViewType should be set to 'OUTDEV_VIEWTYPE_PRINTPREVIEW'.
|
||||
|
||||
A View than can make painting decisions dependent on this OutDevViewType.
|
||||
E.g. text colors need to be handled different, dependent on wether it's a PrintPreview or not. (see #106611# for more)
|
||||
E.g. text colors need to be handled different, dependent on whether it's a PrintPreview or not. (see #106611# for more)
|
||||
*/
|
||||
void SetOutDevViewType( OutDevViewType eOutDevViewType ) { meOutDevViewType=eOutDevViewType; }
|
||||
OutDevViewType GetOutDevViewType() const { return meOutDevViewType; }
|
||||
|
@ -236,7 +236,7 @@ void Window::ImplInitAppFontData( Window* pWindow )
|
||||
// platforms
|
||||
if( pSVData->maNWFData.mbNoFocusRects )
|
||||
{
|
||||
// try to find out wether there is a large correction
|
||||
// try to find out whether there is a large correction
|
||||
// of control sizes, if yes, make app font scalings larger
|
||||
// so dialog positioning is not completely off
|
||||
ImplControlValue aControlValue;
|
||||
|
@ -3019,7 +3019,7 @@ int SelectionManager::getXdndVersion( XLIB_Window aWindow, XLIB_Window& rProxy )
|
||||
pBytes = NULL;
|
||||
if( rProxy != None )
|
||||
{
|
||||
// now check proxy wether it points to itself
|
||||
// now check proxy whether it points to itself
|
||||
XGetWindowProperty( m_pDisplay, rProxy, m_nXdndProxy, 0, 1, False, XA_WINDOW,
|
||||
&nType, &nFormat, &nItems, &nBytes, &pBytes );
|
||||
if( pBytes )
|
||||
|
@ -266,7 +266,7 @@ public class SortingComponent
|
||||
SortFieldNames.add(new String[]{CurFieldName,iCurState == 1 ? PropertyNames.ASC :"DESC" });
|
||||
}
|
||||
}
|
||||
// When searching for a duplicate entry we can neglect wether the entries are to be sorted ascending or descending
|
||||
// When searching for a duplicate entry we can neglect whether the entries are to be sorted ascending or descending
|
||||
// TODO for the future we should deliver a messagebox when two different sorting modes have been applied to one field
|
||||
int iduplicate = JavaTools.getDuplicateFieldIndex(SortDescriptions.toArray(new String[SortDescriptions.size()]));
|
||||
if (iduplicate != -1)
|
||||
|
@ -138,7 +138,7 @@ private:
|
||||
/** @descr This method bundles some settings to the chart model and executes them with
|
||||
a locked controller. This includes setting the chart type.
|
||||
@param aServiceName The name of the service the diagram is initialized with.
|
||||
@param bSetWitchData Indicates wether the data set takes it's data series from
|
||||
@param bSetWitchData Indicates whether the data set takes it's data series from
|
||||
rows or from columns.
|
||||
*/
|
||||
void InitChart (const ::rtl::OUString & rChartTypeServiceName,
|
||||
|
@ -360,7 +360,7 @@ void SAL_CALL XMLVersionListPersistence::store( const uno::Reference< embed::XSt
|
||||
OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Writer"))));
|
||||
DBG_ASSERT( xWriter.is(), "com.sun.star.xml.sax.Writer service missing" );
|
||||
|
||||
// check wether there's already a sub storage with the version info
|
||||
// check whether there's already a sub storage with the version info
|
||||
// and delete it
|
||||
OUString sVerName( RTL_CONSTASCII_USTRINGPARAM( XMLN_VERSIONSLIST ) );
|
||||
|
||||
|
@ -436,7 +436,7 @@ void XMLStyleExport::exportStyleFamily(
|
||||
xStyles,pPrefix );
|
||||
if( bUsed && bFirstStyle && bExported )
|
||||
{
|
||||
// If this is the first style, find out wether next styles
|
||||
// If this is the first style, find out whether next styles
|
||||
// are supported.
|
||||
Reference< XPropertySet > xPropSet( xStyle, UNO_QUERY );
|
||||
Reference< XPropertySetInfo > xPropSetInfo =
|
||||
|
Loading…
x
Reference in New Issue
Block a user