Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
This commit is contained in:
parent
ecf0040337
commit
f5ca04caca
@ -932,7 +932,7 @@ void BaseControl::impl_paint( sal_Int32 /*nX*/
|
||||
void BaseControl::impl_recalcLayout( const WindowEvent& /*aEvent*/ )
|
||||
{
|
||||
// We need as virtual function to support automaticly resizing of derived controls!
|
||||
// But we make it not pure virtual because it's not neccessary for all derived classes!
|
||||
// But we make it not pure virtual because it's not necessary for all derived classes!
|
||||
}
|
||||
|
||||
//____________________________________________________________________________________________________________
|
||||
|
@ -155,7 +155,7 @@ void SAL_CALL OConnectionPointContainerHelper::unadvise( const Type&
|
||||
|
||||
//______________________________________________________________________________________________________________
|
||||
// public but impl method!
|
||||
// Is neccessary to get container member at OConnectionPoint-instance.
|
||||
// Is necessary to get container member at OConnectionPoint-instance.
|
||||
//______________________________________________________________________________________________________________
|
||||
|
||||
OMultiTypeInterfaceContainerHelper& OConnectionPointContainerHelper::impl_getMultiTypeContainer()
|
||||
|
@ -56,7 +56,7 @@ namespace unocontrols{
|
||||
|
||||
class FrameControl : public ::com::sun::star::awt::XControlModel
|
||||
, public ::com::sun::star::lang::XConnectionPointContainer
|
||||
, public BaseControl // This order is neccessary for right initialization of m_aMutex!
|
||||
, public BaseControl // This order is necessary for right initialization of m_aMutex!
|
||||
, public ::cppu::OBroadcastHelper
|
||||
, public ::cppu::OPropertySetHelper
|
||||
{
|
||||
|
@ -79,7 +79,7 @@ class MenuItem extends ToggleButton {
|
||||
// #i56538# menu items in Java do not have SELECTABLE ..
|
||||
stateSet.remove(javax.accessibility.AccessibleState.SELECTABLE);
|
||||
|
||||
// .. and also ARMED insted of SELECTED
|
||||
// .. and also ARMED instead of SELECTED
|
||||
if( stateSet.remove(javax.accessibility.AccessibleState.SELECTED) )
|
||||
stateSet.add(javax.accessibility.AccessibleState.ARMED);
|
||||
|
||||
|
@ -834,7 +834,7 @@ public abstract class IcsAdapterView<T extends Adapter> extends ViewGroup {
|
||||
if (mInLayout || mBlockLayoutRequests) {
|
||||
// If we are in a layout traversal, defer notification
|
||||
// by posting. This ensures that the view tree is
|
||||
// in a consistent state and is able to accomodate
|
||||
// in a consistent state and is able to accommodate
|
||||
// new layout or invalidate requests.
|
||||
if (mSelectionNotifier == null) {
|
||||
mSelectionNotifier = new SelectionNotifier();
|
||||
|
@ -321,7 +321,7 @@ public class IcsListPopupWindow {
|
||||
|
||||
View hintView = mPromptView;
|
||||
if (hintView != null) {
|
||||
// if an hint has been specified, we accomodate more space for it and
|
||||
// if an hint has been specified, we accommodate more space for it and
|
||||
// add a text view in the drop down menu, at the bottom of the list
|
||||
LinearLayout hintContainer = new LinearLayout(context);
|
||||
hintContainer.setOrientation(LinearLayout.VERTICAL);
|
||||
|
@ -1007,7 +1007,7 @@ public class DocumentLoader
|
||||
|
||||
// should have document load task publish pageCount before this happens: Shouldn't try to pre-fetch
|
||||
// non-existant pages && need to know how many navigation thumbnails to render.
|
||||
// Should put these on anothe serial executor?
|
||||
// Should put these on another serial executor?
|
||||
flipper.addView(new PageViewer(0), 0, matchParent);
|
||||
for (int i = 0; i < PAGECACHE_PLUSMINUS; i++)
|
||||
flipper.addView(new PageViewer(i+1), i+1, matchParent);
|
||||
|
@ -65,7 +65,7 @@ class SoundHandler : // interfaces
|
||||
, public css::frame::XNotifyingDispatch // => XDispatch
|
||||
, public css::document::XExtendedFilterDetection
|
||||
// baseclasses
|
||||
// Order is neccessary for right initialization!
|
||||
// Order is necessary for right initialization!
|
||||
, private ThreadHelpBase
|
||||
, public ::cppu::OWeakObject
|
||||
{
|
||||
|
@ -1404,7 +1404,7 @@ DialogWindowLayout::DialogWindowLayout (Window* pParent, ObjectCatalog& rObjectC
|
||||
ShowPropertyBrowser();
|
||||
}
|
||||
|
||||
// shows the property browser (and creates if neccessary)
|
||||
// shows the property browser (and creates if necessary)
|
||||
void DialogWindowLayout::ShowPropertyBrowser ()
|
||||
{
|
||||
// not exists?
|
||||
@ -1416,7 +1416,7 @@ void DialogWindowLayout::ShowPropertyBrowser ()
|
||||
// after OnFirstSize():
|
||||
if (HasSize())
|
||||
AddPropertyBrowser();
|
||||
// updating if neccessary
|
||||
// updating if necessary
|
||||
UpdatePropertyBrowser();
|
||||
}
|
||||
else
|
||||
|
@ -2507,7 +2507,7 @@ void clearUnoMethodsForBasic( StarBASIC* pBasic )
|
||||
if ( pModBasic == pBasic )
|
||||
{
|
||||
// for now the solution is to remove the method from the list and to clear it,
|
||||
// but in case the element should be correctly transfered to another StarBASIC,
|
||||
// but in case the element should be correctly transferred to another StarBASIC,
|
||||
// we should either set module parent to NULL without clearing it, or even
|
||||
// set the new StarBASIC as the parent of the module
|
||||
// pObject->SetParent( NULL );
|
||||
|
@ -1353,7 +1353,7 @@ void SbModule::RunInit()
|
||||
|
||||
void SbModule::AddVarName( const OUString& aName )
|
||||
{
|
||||
// see if the name is added allready
|
||||
// see if the name is added already
|
||||
std::vector< OUString >::iterator it_end = mModuleVariableNames.end();
|
||||
for ( std::vector< OUString >::iterator it = mModuleVariableNames.begin(); it != it_end; ++it )
|
||||
{
|
||||
|
@ -444,7 +444,7 @@ bool SbiParser::Parse()
|
||||
}
|
||||
|
||||
// test for the statement's end -
|
||||
// might also be an ELSE, as there must not neccessary be a : before the ELSE!
|
||||
// might also be an ELSE, as there must not necessary be a : before the ELSE!
|
||||
|
||||
if( !IsEos() )
|
||||
{
|
||||
@ -602,8 +602,8 @@ void SbiParser::Set()
|
||||
aLvalue.Gen();
|
||||
aExpr.Gen();
|
||||
// Its a good idea to distinguish between
|
||||
// set someting = another &
|
||||
// someting = another
|
||||
// set something = another &
|
||||
// something = another
|
||||
// ( its necessary for vba objects where set is object
|
||||
// specific and also doesn't involve processing default params )
|
||||
if( pDef->GetTypeId() )
|
||||
|
@ -386,7 +386,7 @@ void SbiRuntime::StepRESUME( sal_uInt32 nOp1 )
|
||||
}
|
||||
else
|
||||
pCode = pErrStmnt;
|
||||
if ( pError ) // current in error handler ( and got a Resume Next statment )
|
||||
if ( pError ) // current in error handler ( and got a Resume Next statement )
|
||||
SbxErrObject::getUnoErrObject()->Clear();
|
||||
|
||||
if( nOp1 > 1 )
|
||||
|
@ -74,7 +74,7 @@ enum SbxBOOL ImpGetBool( const SbxValues* p )
|
||||
nRes = SbxTRUE;
|
||||
else if( !p->pOUString->equalsIgnoreAsciiCase( SbxRes( STRING_FALSE ) ) )
|
||||
{
|
||||
// it can be convertable to a number
|
||||
// it can be convertible to a number
|
||||
bool bError = true;
|
||||
double n;
|
||||
SbxDataType t;
|
||||
|
@ -505,7 +505,7 @@ void ImpPutInt64( SbxValues* p, sal_Int64 n )
|
||||
start:
|
||||
switch( +p->eType )
|
||||
{
|
||||
// Check neccessary
|
||||
// Check necessary
|
||||
case SbxCHAR:
|
||||
aTmp.pChar = &p->nChar; goto direct;
|
||||
case SbxBYTE:
|
||||
@ -780,7 +780,7 @@ void ImpPutUInt64( SbxValues* p, sal_uInt64 n )
|
||||
start:
|
||||
switch( +p->eType )
|
||||
{
|
||||
// Check neccessary
|
||||
// Check necessary
|
||||
case SbxCHAR:
|
||||
aTmp.pChar = &p->nChar; goto direct;
|
||||
case SbxBYTE:
|
||||
@ -808,7 +808,7 @@ start:
|
||||
aTmp.eType = SbxDataType( p->eType | SbxBYREF );
|
||||
p = &aTmp; goto start;
|
||||
|
||||
// Check not neccessary
|
||||
// Check not necessary
|
||||
case SbxSALUINT64:
|
||||
p->uInt64 = n; break;
|
||||
|
||||
|
@ -259,7 +259,7 @@ bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
|
||||
void CloseableLifeTimeManager
|
||||
::g_close_endTryClose(sal_Bool bDeliverOwnership, sal_Bool /* bMyVeto */ )
|
||||
{
|
||||
//this method is called, if the try to close was not successfull
|
||||
//this method is called, if the try to close was not successful
|
||||
osl::Guard< osl::Mutex > aGuard( m_aAccessMutex );
|
||||
impl_setOwnership( bDeliverOwnership, sal_False );
|
||||
|
||||
@ -303,7 +303,7 @@ bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
|
||||
void CloseableLifeTimeManager
|
||||
::g_close_endTryClose_doClose()
|
||||
{
|
||||
//this method is called, if the try to close was successfull
|
||||
//this method is called, if the try to close was successful
|
||||
osl::ResettableGuard< osl::Mutex > aGuard( m_aAccessMutex );
|
||||
|
||||
m_bInTryClose = sal_False;
|
||||
|
@ -64,8 +64,8 @@ sal_Int32 lcl_calcTickLengthForDepth(sal_Int32 nDepth,sal_Int32 nTickmarkStyle)
|
||||
double lcl_getTickOffset(sal_Int32 nLength,sal_Int32 nTickmarkStyle)
|
||||
{
|
||||
double fPercent = 0.0; //0<=fPercent<=1
|
||||
//0.0: completly inner
|
||||
//1.0: completly outer
|
||||
//0.0: completely inner
|
||||
//1.0: completely outer
|
||||
//0.5: half and half
|
||||
|
||||
/*
|
||||
|
@ -1462,7 +1462,7 @@ awt::Rectangle ChartView::impl_createDiagramAndContent( SeriesPlotterContainer&
|
||||
pVCooSys->setTransformationSceneToScreen( B3DHomMatrixToHomogenMatrix(
|
||||
createTransformationSceneToScreen( aVDiagram.getCurrentRectangle() ) ));
|
||||
}
|
||||
pVCooSys->updatePositions();//todo: logically this belongs to the condition above, but it seems also to be neccessary to give the axes group shapes the right bounding rects for hit test - probably caused by bug i106183 -> check again if fixed
|
||||
pVCooSys->updatePositions();//todo: logically this belongs to the condition above, but it seems also to be necessary to give the axes group shapes the right bounding rects for hit test - probably caused by bug i106183 -> check again if fixed
|
||||
}
|
||||
|
||||
//create axes and grids for the final size
|
||||
@ -2438,7 +2438,7 @@ void ChartView::createShapes()
|
||||
.getOrCreateChartRootShape( m_xDrawPage ) );
|
||||
|
||||
SdrPage* pPage = ChartView::getSdrPage();
|
||||
if(pPage) //it is neccessary to use the implementation here as the uno page does not provide a propertyset
|
||||
if(pPage) //it is necessary to use the implementation here as the uno page does not provide a propertyset
|
||||
pPage->SetSize(Size(aPageSize.Width,aPageSize.Height));
|
||||
else
|
||||
{
|
||||
|
@ -211,7 +211,7 @@ awt::Point PlottingPositionHelper::transformSceneToScreenPosition( const drawing
|
||||
//@todo would like to have a cheaper method to do this transformation
|
||||
awt::Point aScreenPoint( static_cast<sal_Int32>(rScenePosition3D.PositionX), static_cast<sal_Int32>(rScenePosition3D.PositionY) );
|
||||
|
||||
//transformation from scene to screen (only neccessary for 3D):
|
||||
//transformation from scene to screen (only necessary for 3D):
|
||||
if(3==nDimensionCount)
|
||||
{
|
||||
//create 3D anchor shape
|
||||
|
@ -366,7 +366,7 @@ void PropertyMapper::setMultiProperties(
|
||||
}
|
||||
catch( const uno::Exception& e )
|
||||
{
|
||||
ASSERT_EXCEPTION( e ); //if this occurs more often think of removing the XMultiPropertySet completly for better performance
|
||||
ASSERT_EXCEPTION( e ); //if this occurs more often think of removing the XMultiPropertySet completely for better performance
|
||||
}
|
||||
|
||||
if(!bSuccess)
|
||||
|
@ -575,7 +575,7 @@ sal_Bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, sal_Bool
|
||||
css::uno::Reference< css::ucb::XCommandEnvironment > xCommandEnv(static_cast< css::ucb::XCommandEnvironment* >(pCommandEnv), css::uno::UNO_QUERY);
|
||||
|
||||
// try to create the content
|
||||
// no content -> no stream => return immediatly with FALSE
|
||||
// no content -> no stream => return immediately with FALSE
|
||||
::ucbhelper::Content aContent;
|
||||
css::uno::Reference< css::ucb::XContent > xContent;
|
||||
try
|
||||
|
@ -472,7 +472,7 @@ namespace dbtools
|
||||
( nSmallestIndexLinkedByColumnName > nLargestIndexNotLinkedByColumnName ),
|
||||
"ParameterManager::createOuterParameters: inconsistency!" );
|
||||
|
||||
// for the master-detail links, where the detail field denoted a column name, we created an addtional ("artificial")
|
||||
// for the master-detail links, where the detail field denoted a column name, we created an additional ("artificial")
|
||||
// filter, and *appended* it to all other (potentially) existing filters of the row set. This means that the indexes
|
||||
// for the parameters resulting from the artifical filter should be larger than any other parameter index, and this
|
||||
// is what the assertion checks.
|
||||
|
@ -620,7 +620,7 @@ sal_Bool SAL_CALL OEvoabDatabaseMetaData::allTablesAreSelectable( ) throw(SQLEx
|
||||
// -------------------------------------------------------------------------
|
||||
sal_Bool SAL_CALL OEvoabDatabaseMetaData::isReadOnly( ) throw(SQLException, RuntimeException)
|
||||
{
|
||||
// For now definately read-only, no support for update/delete
|
||||
// For now definitely read-only, no support for update/delete
|
||||
return sal_True;
|
||||
}
|
||||
// -------------------------------------------------------------------------
|
||||
|
@ -155,7 +155,7 @@ Sequence< DriverPropertyInfo > SAL_CALL OEvoabDriver::getPropertyInfo( const ::r
|
||||
::dbtools::throwGenericSQLException(sMessage ,*this);
|
||||
} // if ( ! acceptsURL(url) )
|
||||
|
||||
// if you have somthing special to say return it here :-)
|
||||
// if you have something special to say return it here :-)
|
||||
return Sequence< DriverPropertyInfo >();
|
||||
}
|
||||
|
||||
|
@ -663,7 +663,7 @@ void java_sql_Connection::loadDriverFromProperties( const ::rtl::OUString& _sDri
|
||||
// set to <TRUE/> when we should allow to query for generated values
|
||||
sal_Bool bAutoRetrievingEnabled = sal_False;
|
||||
|
||||
// first try if the jdbc driver is alraedy registered at the driver manager
|
||||
// first try if the jdbc driver is already registered at the driver manager
|
||||
SDBThreadAttach t;
|
||||
try
|
||||
{
|
||||
|
@ -244,7 +244,7 @@ sal_Bool SAL_CALL OConnection::isClosed( ) throw(SQLException, RuntimeException
|
||||
{
|
||||
::osl::MutexGuard aGuard( m_aMutex );
|
||||
|
||||
// just simple -> we are close when we are disposed taht means someone called dispose(); (XComponent)
|
||||
// just simple -> we are close when we are disposed that means someone called dispose(); (XComponent)
|
||||
return OConnection_BASE::rBHelper.bDisposed;
|
||||
}
|
||||
// --------------------------------------------------------------------------------
|
||||
|
@ -417,7 +417,7 @@ sal_Bool SAL_CALL OConnection::isClosed( ) throw(SQLException, RuntimeException
|
||||
{
|
||||
::osl::MutexGuard aGuard( m_aMutex );
|
||||
|
||||
// just simple -> we are close when we are disposed taht means someone called dispose(); (XComponent)
|
||||
// just simple -> we are close when we are disposed that means someone called dispose(); (XComponent)
|
||||
return OConnection_BASE::rBHelper.bDisposed;
|
||||
}
|
||||
// --------------------------------------------------------------------------------
|
||||
|
@ -197,7 +197,7 @@ Sequence< DriverPropertyInfo > SAL_CALL MozabDriver::getPropertyInfo( const ::rt
|
||||
::connectivity::SharedResources aResources;
|
||||
const ::rtl::OUString sMessage = aResources.getResourceString(STR_URI_SYNTAX_ERROR);
|
||||
::dbtools::throwGenericSQLException(sMessage ,*this);
|
||||
// if you have somthing special to say return it here :-)
|
||||
// if you have something special to say return it here :-)
|
||||
return Sequence< DriverPropertyInfo >();
|
||||
}
|
||||
// --------------------------------------------------------------------------------
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
|
||||
public:
|
||||
//We register an factory for Mozilla profile service its CID and CONTRACTID are NS_PROFILE_CID and NS_PROFILE_CONTRACTID
|
||||
//After that, we does not need profile.dll/libprofile.so any more. Our profile service are diffrent from the orginal one in
|
||||
//After that, we does not need profile.dll/libprofile.so any more. Our profile service are different from the orginal one in
|
||||
//these areas:
|
||||
//1. We do not lock Mozilla Profile,
|
||||
//2. We do not change Mozilla Profile settings. We do not change default profile, do not create new profiles and
|
||||
|
@ -329,8 +329,8 @@ void OTools::ThrowException(const OConnection* _pConnection,
|
||||
|
||||
// Information for latest operation:
|
||||
// when hstmt != SQL_NULL_HSTMT is (Used from SetStatus in SdbCursor, SdbTable, ...),
|
||||
// then the status of the latest statments will be fetched, without the Status of the last
|
||||
// Statments of this connection [what in this case will probably be the same, but the Reference
|
||||
// then the status of the latest statements will be fetched, without the Status of the last
|
||||
// statements of this connection [what in this case will probably be the same, but the Reference
|
||||
// Manual isn't totally clear in this...].
|
||||
// corresponding for hdbc.
|
||||
SQLRETURN n = (*(T3SQLGetDiagRec)_pConnection->getOdbcFunction(ODBC3SQLGetDiagRec))(_nHandleType,_pContext,1,
|
||||
|
@ -688,7 +688,7 @@ namespace cppcanvas
|
||||
nSteps,
|
||||
fBorder,
|
||||
fRotation);
|
||||
// map odf to svg gradient orientation - x
|
||||
// map ODF to svg gradient orientation - x
|
||||
// instead of y direction
|
||||
aGradInfo.maTextureTransform = aGradInfo.maTextureTransform * aRot90;
|
||||
aGradientService = "LinearGradient";
|
||||
@ -714,11 +714,11 @@ namespace cppcanvas
|
||||
nSteps,
|
||||
fAxialBorder,
|
||||
fRotation);
|
||||
// map odf to svg gradient orientation - x
|
||||
// map ODF to svg gradient orientation - x
|
||||
// instead of y direction
|
||||
aGradInfo.maTextureTransform = aGradInfo.maTextureTransform * aRot90;
|
||||
|
||||
// map odf axial gradient to 3-stop linear
|
||||
// map ODF axial gradient to 3-stop linear
|
||||
// gradient - shift left by 0.5
|
||||
basegfx::B2DHomMatrix aShift;
|
||||
aShift.translate(-0.5,0);
|
||||
|
@ -249,7 +249,7 @@ static void SAL_CALL mediate_mapInterface(
|
||||
OSL_ENSURE( 0 != pTo, "### cannot release out interface: leaking!" );
|
||||
if (0 != pTo)
|
||||
(*pTo->releaseInterface)( pTo, pOut );
|
||||
*ppOut = 0; // set to 0 anyway, because mapping was not successfull!
|
||||
*ppOut = 0; // set to 0 anyway, because mapping was not successful!
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1195,7 +1195,7 @@ void SvxLineTabPage::Reset( const SfxItemSet& rAttrs )
|
||||
pPage->NbcInsertObject(pObj);
|
||||
|
||||
// Generate invisible square to give all symbol types a
|
||||
// bitmap size, which is indepedent from specific glyph
|
||||
// bitmap size, which is independent from specific glyph
|
||||
SdrObject *pInvisibleSquare=pSymbolList->GetObj(0);
|
||||
pInvisibleSquare=pInvisibleSquare->Clone();
|
||||
pPage->NbcInsertObject(pInvisibleSquare);
|
||||
|
@ -230,7 +230,7 @@ void SAL_CALL OQuery::propertyChange( const PropertyChangeEvent& _rSource ) thro
|
||||
"OQuery::propertyChange : where did this call come from ?");
|
||||
|
||||
if (m_eDoingCurrently == SETTING_PROPERTIES)
|
||||
// we're setting the property ourself, so we will do the neccessary notifications later
|
||||
// we're setting the property ourself, so we will do the necessary notifications later
|
||||
return;
|
||||
|
||||
// forward this to our own member holding a copy of the property value
|
||||
|
@ -197,7 +197,7 @@ void SAL_CALL OQueryContainer::dropByName( const ::rtl::OUString& _rName ) throw
|
||||
throw DisposedException( ::rtl::OUString(), *this );
|
||||
|
||||
// now simply forward the remove request to the CommandDefinition container, we're a listener for the removal
|
||||
// and thus we do everything neccessary in ::elementRemoved
|
||||
// and thus we do everything necessary in ::elementRemoved
|
||||
m_xCommandDefinitions->removeByName(_rName);
|
||||
}
|
||||
|
||||
|
@ -1547,7 +1547,7 @@ namespace dbmm
|
||||
if ( !xSourceLibraries->isLibraryLoaded( *pSourceLibName ) )
|
||||
xSourceLibraries->loadLibrary( *pSourceLibName );
|
||||
|
||||
// copy the content of this particular libary
|
||||
// copy the content of this particular library
|
||||
Reference< XNameAccess > xSourceLib( xSourceLibraries->getByName( *pSourceLibName ), UNO_QUERY_THROW );
|
||||
Reference< XNameContainer > xTargetLib( xTargetLibraries->createLibrary( sNewLibName ), UNO_QUERY_THROW );
|
||||
|
||||
|
@ -306,7 +306,7 @@ sal_Int32 ReadThroughComponent(
|
||||
if ( !xStorage->hasByName( sStreamName ) || !xStorage->isStreamElement( sStreamName ) )
|
||||
{
|
||||
// stream name not found! Then try the compatibility name.
|
||||
// if no stream can be opened, return immediatly with OK signal
|
||||
// if no stream can be opened, return immediately with OK signal
|
||||
|
||||
// do we even have an alternative name?
|
||||
if ( NULL == pCompatibilityStreamName )
|
||||
|
@ -2094,7 +2094,7 @@ void SbaXDataBrowserController::Execute(sal_uInt16 nId, const Sequence< Property
|
||||
else
|
||||
{
|
||||
if ( !SaveModified( ) )
|
||||
// give the user a chance to save the current record (if neccessary)
|
||||
// give the user a chance to save the current record (if necessary)
|
||||
break;
|
||||
|
||||
// maybe the user wanted to reject the modified record ?
|
||||
|
@ -491,7 +491,7 @@ void OGenericUnoController::ImplBroadcastFeatureState(const ::rtl::OUString& _rF
|
||||
sal_uInt16 nFeat = m_aSupportedFeatures[ _rFeature ].nFeatureId;
|
||||
FeatureState aFeatState( GetState( nFeat ) );
|
||||
|
||||
FeatureState& rCachedState = m_aStateCache[nFeat]; // creates if neccessary
|
||||
FeatureState& rCachedState = m_aStateCache[nFeat]; // creates if necessary
|
||||
if ( !_bIgnoreCache )
|
||||
{
|
||||
// check if we really need to notify the listeners : this method may be called much more often than needed, so check
|
||||
|
@ -264,7 +264,7 @@ DBG_NAME(DirectSQLDialog)
|
||||
}
|
||||
}
|
||||
|
||||
// successfull
|
||||
// successful
|
||||
sStatus = String(ModuleRes(STR_COMMAND_EXECUTED_SUCCESSFULLY));
|
||||
|
||||
// dispose the statement
|
||||
|
@ -98,7 +98,7 @@ namespace dbaui
|
||||
Link m_aTypeSelectHandler; /// to be called if a new type is selected
|
||||
Link m_aCreationModeHandler; /// to be called if a new type is selected
|
||||
Link m_aDocumentSelectionHandler; /// to be called when a document in the RecentDoc list is selected
|
||||
Link m_aChooseDocumentHandler; /// to be called when a recent document has been definately chosen
|
||||
Link m_aChooseDocumentHandler; /// to be called when a recent document has been definitely chosen
|
||||
sal_Bool m_bDisplayingInvalid : 1; // the currently displayed data source is deleted
|
||||
bool m_bInitTypeList : 1;
|
||||
bool approveDataSourceType( const OUString& _sURLPrefix, OUString& _inout_rDisplayName );
|
||||
|
@ -243,7 +243,7 @@ namespace dbaui
|
||||
// is synchronized with a foreign ::com::sun::star::form::DatabaseForm you got elsewhere)
|
||||
virtual sal_Bool InitializeForm(
|
||||
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& i_formProperties ) = 0;
|
||||
// called immediately after a successfull CreateForm
|
||||
// called immediately after a successful CreateForm
|
||||
// do any initialization (data source etc.) here. the form should be fully functional after that.
|
||||
// return sal_False if you didn't succeed (don't throw exceptions, they won't be caught)
|
||||
|
||||
|
@ -118,7 +118,7 @@ private:
|
||||
|
||||
enum ApplyResult
|
||||
{
|
||||
AR_LEAVE_MODIFIED, // somthing was modified and has successfully been committed
|
||||
AR_LEAVE_MODIFIED, // something was modified and has successfully been committed
|
||||
AR_LEAVE_UNCHANGED, // no changes were made
|
||||
AR_KEEP // don't leave the page (e.g. because an error occurred)
|
||||
};
|
||||
|
@ -113,7 +113,7 @@ protected:
|
||||
|
||||
enum ApplyResult
|
||||
{
|
||||
AR_LEAVE_MODIFIED, // somthing was modified and has successfully been committed
|
||||
AR_LEAVE_MODIFIED, // something was modified and has successfully been committed
|
||||
AR_LEAVE_UNCHANGED, // no changes were made
|
||||
AR_KEEP // don't leave the page (e.g. because an error occurred)
|
||||
};
|
||||
|
@ -145,7 +145,7 @@ protected:
|
||||
|
||||
enum ApplyResult
|
||||
{
|
||||
AR_LEAVE_MODIFIED, // somthing was modified and has successfully been committed
|
||||
AR_LEAVE_MODIFIED, // something was modified and has successfully been committed
|
||||
AR_LEAVE_UNCHANGED, // no changes were made
|
||||
AR_KEEP // don't leave the page (e.g. because an error occurred)
|
||||
};
|
||||
|
@ -146,7 +146,7 @@ void OScrollWindowHelper::Resize()
|
||||
GetVScrollBar()->SetPageSize( aTotalOutputSize.Height() );
|
||||
GetVScrollBar()->SetVisibleSize( aTotalOutputSize.Height() );
|
||||
|
||||
// adjust the ranges of the scrollbars if neccessary
|
||||
// adjust the ranges of the scrollbars if necessary
|
||||
long lRange = GetHScrollBar()->GetRange().Max() - GetHScrollBar()->GetRange().Min();
|
||||
if (m_pTableView->GetScrollOffset().X() + aTotalOutputSize.Width() > lRange)
|
||||
GetHScrollBar()->SetRangeMax(m_pTableView->GetScrollOffset().X() + aTotalOutputSize.Width() + GetHScrollBar()->GetRange().Min());
|
||||
@ -1470,7 +1470,7 @@ long OJoinTableView::PreNotify(NotifyEvent& rNEvt)
|
||||
else if (pNextConn)
|
||||
{
|
||||
GrabFocus();
|
||||
// neccessary : a conn may be selected even if a tab win has the focus, in this case
|
||||
// necessary : a conn may be selected even if a tab win has the focus, in this case
|
||||
// the next travel would select the same conn again if we would not reset te focus ...
|
||||
SelectConn(pNextConn);
|
||||
}
|
||||
|
@ -567,7 +567,7 @@ namespace
|
||||
const ::connectivity::OSQLParseNode *pRightTable)
|
||||
{
|
||||
SqlParseError eErrorCode = eOk;
|
||||
if (pNode->count() == 3 && // statment between brackets
|
||||
if (pNode->count() == 3 && // statement between brackets
|
||||
SQL_ISPUNCTUATION(pNode->getChild(0),"(") &&
|
||||
SQL_ISPUNCTUATION(pNode->getChild(2),")"))
|
||||
{
|
||||
|
@ -1116,7 +1116,7 @@ bool CopyTableWizard::impl_processCopyError_nothrow( const CopyTableRowEvent& _r
|
||||
aError.NextException = _rEvent.Error;
|
||||
else
|
||||
{
|
||||
// a non-SQL exception happend
|
||||
// a non-SQL exception happened
|
||||
Exception aException;
|
||||
OSL_VERIFY( _rEvent.Error >>= aException );
|
||||
SQLContext aContext;
|
||||
|
@ -530,7 +530,7 @@ OfficeIPCThread::Status OfficeIPCThread::EnableOfficeIPCThread()
|
||||
// Pipe created
|
||||
nPipeMode = PIPEMODE_CREATED;
|
||||
}
|
||||
else if( pThread->maPipe.create( aPipeIdent.getStr(), osl_Pipe_OPEN, rSecurity )) // Creation not successfull, now we try to connect
|
||||
else if( pThread->maPipe.create( aPipeIdent.getStr(), osl_Pipe_OPEN, rSecurity )) // Creation not successful, now we try to connect
|
||||
{
|
||||
osl::StreamPipe aStreamPipe(pThread->maPipe.getHandle());
|
||||
if (readStringFromPipe(aStreamPipe) == SEND_ARGUMENTS)
|
||||
|
@ -1196,7 +1196,7 @@ void BackendImpl::ComponentPackageImpl::getComponentInfo(
|
||||
// and stoc/source/implreg implementation which rely on the same
|
||||
// services.rdb format!
|
||||
// .../UNO/LOCATION and .../UNO/ACTIVATOR appear not to be written by
|
||||
// writeRegistryInfo, however, but are knwon, fixed values here, so
|
||||
// writeRegistryInfo, however, but are known, fixed values here, so
|
||||
// can be passed into extractComponentData
|
||||
rtl::OUString url(getURL());
|
||||
const Reference<registry::XSimpleRegistry> xMemReg(
|
||||
|
@ -100,7 +100,7 @@ class BackendImpl : public ImplBaseT
|
||||
|
||||
Reference<deployment::XPackage> bindBundleItem(
|
||||
OUString const & url, OUString const & mediaType,
|
||||
sal_Bool bRemoved, //that is, useing data base information
|
||||
sal_Bool bRemoved, //that is, using data base information
|
||||
OUString const & identifier,
|
||||
Reference<ucb::XCommandEnvironment> const & xCmdEnv,
|
||||
bool notifyDetectionError = true );
|
||||
|
@ -413,7 +413,7 @@ namespace drawinglayer
|
||||
|
||||
if(bSuppressFatToHairlineCorrection)
|
||||
{
|
||||
// remeber that we enter a PolygonStrokePrimitive2D decomposition,
|
||||
// remember that we enter a PolygonStrokePrimitive2D decomposition,
|
||||
// used for AA thick line drawing
|
||||
mnPolygonStrokePrimitive2D++;
|
||||
|
||||
|
@ -1368,7 +1368,7 @@ namespace drawinglayer
|
||||
|
||||
if(!bDone)
|
||||
{
|
||||
// remeber that we enter a PolygonStrokePrimitive2D decomposition,
|
||||
// remember that we enter a PolygonStrokePrimitive2D decomposition,
|
||||
// used for AA thick line drawing
|
||||
mnPolygonStrokePrimitive2D++;
|
||||
|
||||
|
@ -610,7 +610,7 @@ LRESULT CMtaOleClipboard::onDrawClipboard( )
|
||||
aGuard.clear( );
|
||||
}
|
||||
|
||||
// foward the message to the next viewer in the chain
|
||||
// forward the message to the next viewer in the chain
|
||||
if ( IsWindow( m_hwndNextClipViewer ) )
|
||||
{
|
||||
DWORD_PTR dwpResult;
|
||||
|
@ -119,7 +119,7 @@ Reference< XTransferable > SAL_CALL CWinClipbImpl::getContents( ) throw( Runtime
|
||||
|
||||
CDTransObjFactory objFactory;
|
||||
|
||||
// remeber pIDo destroys itself due to the smart pointer
|
||||
// remember pIDo destroys itself due to the smart pointer
|
||||
rClipContent = objFactory.createTransferableFromDataObj( m_pWinClipboard->m_xContext, pIDo );
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ public:
|
||||
|
||||
SvxAutoCorrect* GetAutoCorrect() { return pAutoCorrect; }
|
||||
const SvxAutoCorrect* GetAutoCorrect() const { return pAutoCorrect; }
|
||||
// the pointer is transfered to the possession of the ConfigItems!
|
||||
// the pointer is transferred to the possession of the ConfigItems!
|
||||
void SetAutoCorrect( SvxAutoCorrect* );
|
||||
|
||||
sal_Bool IsAutoFmtByInput() const { return bAutoFmtByInput; }
|
||||
|
@ -302,7 +302,7 @@ namespace accessibility
|
||||
if( !mpTextParagraph )
|
||||
throw lang::DisposedException ("object has been already disposed", mxThis );
|
||||
|
||||
// TODO: Have a differnt method on AccessibleEditableTextPara
|
||||
// TODO: Have a different method on AccessibleEditableTextPara
|
||||
// that does not care about state changes
|
||||
mpTextParagraph->SetParagraphIndex( nPara );
|
||||
|
||||
|
@ -485,7 +485,7 @@ EditTextObjectImpl::EditTextObjectImpl( EditTextObject* pFront, SfxItemPool* pP
|
||||
// pool destruction time of an alien pool, the pool is still alive.
|
||||
// When registering would happen at an alien pool which just uses an
|
||||
// EditEngineItemPool as some sub-pool, that pool could already
|
||||
// be decoupled and deleted whcih would lead to crashes.
|
||||
// be decoupled and deleted which would lead to crashes.
|
||||
pPool = getEditEngineItemPool(pP);
|
||||
|
||||
if ( pPool )
|
||||
|
@ -1412,7 +1412,7 @@ sal_Bool ImpEditView::SetCursorAtPoint( const Point& rPointPixel )
|
||||
Point aDocPos( GetDocPos( aMousePos ) );
|
||||
|
||||
// Can be optimized: first go through the lines within a paragraph for PAM,
|
||||
// then again wiht the PaM for the Rect, even though the line is already
|
||||
// then again with the PaM for the Rect, even though the line is already
|
||||
// known .... This must not be, though!
|
||||
EditPaM aPaM = pEditEngine->GetPaM(aDocPos);
|
||||
sal_Bool bGotoCursor = DoAutoScroll();
|
||||
|
@ -1898,7 +1898,7 @@ sal_Bool ImpEditEngine::IsRightToLeft( sal_uInt16 nPara ) const
|
||||
// #103045# if DefaultHorizontalTextDirection is set, use that value, otherwise pool default.
|
||||
if ( GetDefaultHorizontalTextDirection() != EE_HTEXTDIR_DEFAULT )
|
||||
{
|
||||
pFrameDirItem = NULL; // bR2L allready set to default horizontal text direction
|
||||
pFrameDirItem = NULL; // bR2L already set to default horizontal text direction
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1514,7 +1514,7 @@ sal_Bool ImpEditEngine::CreateLines( sal_uInt16 nPara, sal_uInt32 nStartPosY )
|
||||
if ( !bSameLineAgain )
|
||||
{
|
||||
nIndex = pLine->GetEnd(); // next line start = last line end
|
||||
// as nEnd points to the last charecter!
|
||||
// as nEnd points to the last character!
|
||||
|
||||
sal_uInt16 nEndPortion = pLine->GetEndPortion();
|
||||
|
||||
@ -2145,7 +2145,7 @@ void ImpEditEngine::ImpFindKashidas( ContentNode* pNode, sal_uInt16 nStart, sal_
|
||||
}
|
||||
|
||||
// 3. Priority:
|
||||
// before final form of Teh Marbuta, Hah, Dal
|
||||
// before final form of the Marbuta, Hah, Dal
|
||||
// 4. Priority:
|
||||
// before final form of Alef, Lam or Kaf
|
||||
if ( nIdx && nIdx + 1 == aWord.Len() &&
|
||||
@ -4306,7 +4306,7 @@ void ImpEditEngine::ImplInitLayoutMode( OutputDevice* pOutDev, sal_uInt16 nPara,
|
||||
|
||||
if ( !bR2L )
|
||||
{
|
||||
// No CTL/Bidi checking neccessary
|
||||
// No CTL/Bidi checking necessary
|
||||
nLayoutMode |= ( TEXT_LAYOUT_COMPLEX_DISABLED | TEXT_LAYOUT_BIDI_STRONG );
|
||||
}
|
||||
else
|
||||
|
@ -264,7 +264,7 @@ HRESULT OpenIStorageFromURL_Impl( const ::rtl::OUString& aURL, IStorage** ppISto
|
||||
|
||||
::rtl::OUString aFilePath;
|
||||
if ( !ppIStorage || ::osl::FileBase::getSystemPathFromFileURL( aURL, aFilePath ) != ::osl::FileBase::E_None )
|
||||
throw uno::RuntimeException(); // TODO: something dangerous happend
|
||||
throw uno::RuntimeException(); // TODO: something dangerous happened
|
||||
|
||||
return StgOpenStorage( reinterpret_cast<LPCWSTR>(aFilePath.getStr()),
|
||||
NULL,
|
||||
@ -570,7 +570,7 @@ void OleComponent::CreateNewIStorage_Impl()
|
||||
// open an IStorage based on the temporary file
|
||||
::rtl::OUString aTempFilePath;
|
||||
if ( ::osl::FileBase::getSystemPathFromFileURL( aTempURL, aTempFilePath ) != ::osl::FileBase::E_None )
|
||||
throw uno::RuntimeException(); // TODO: something dangerous happend
|
||||
throw uno::RuntimeException(); // TODO: something dangerous happened
|
||||
|
||||
HRESULT hr = StgCreateDocfile( reinterpret_cast<LPCWSTR>(aTempFilePath.getStr()), STGM_CREATE | STGM_READWRITE | STGM_TRANSACTED | STGM_DELETEONRELEASE, 0, &m_pNativeImpl->m_pIStorage );
|
||||
if ( FAILED( hr ) || !m_pNativeImpl->m_pIStorage )
|
||||
@ -838,7 +838,7 @@ void OleComponent::CreateObjectFromFile( const ::rtl::OUString& aFileURL )
|
||||
|
||||
::rtl::OUString aFilePath;
|
||||
if ( ::osl::FileBase::getSystemPathFromFileURL( aFileURL, aFilePath ) != ::osl::FileBase::E_None )
|
||||
throw uno::RuntimeException(); // TODO: something dangerous happend
|
||||
throw uno::RuntimeException(); // TODO: something dangerous happened
|
||||
|
||||
HRESULT hr = OleCreateFromFile( CLSID_NULL,
|
||||
reinterpret_cast<LPCWSTR>(aFilePath.getStr()),
|
||||
@ -868,7 +868,7 @@ void OleComponent::CreateLinkFromFile( const ::rtl::OUString& aFileURL )
|
||||
|
||||
::rtl::OUString aFilePath;
|
||||
if ( ::osl::FileBase::getSystemPathFromFileURL( aFileURL, aFilePath ) != ::osl::FileBase::E_None )
|
||||
throw uno::RuntimeException(); // TODO: something dangerous happend
|
||||
throw uno::RuntimeException(); // TODO: something dangerous happened
|
||||
|
||||
HRESULT hr = OleCreateLinkToFile( reinterpret_cast<LPCWSTR>(aFilePath.getStr()),
|
||||
IID_IUnknown,
|
||||
|
@ -321,7 +321,7 @@ sal_Bool OleEmbeddedObject::TryToConvertToOOo()
|
||||
xSeekable->seek( 0 );
|
||||
xLoadable->load( aArgs );
|
||||
|
||||
// the model is successfuly loaded, create a new storage and store the model to the storage
|
||||
// the model is successfully loaded, create a new storage and store the model to the storage
|
||||
uno::Reference< embed::XStorage > xTmpStorage = CreateTemporarySubstorage( aStorageName );
|
||||
xStorDoc->storeToStorage( xTmpStorage, uno::Sequence< beans::PropertyValue >() );
|
||||
xDocument->close( sal_True );
|
||||
@ -422,7 +422,7 @@ sal_Bool OleEmbeddedObject::TryToConvertToOOo()
|
||||
|
||||
if ( bResult )
|
||||
{
|
||||
// the conversion was done successfuly, now the additional initializations should happen
|
||||
// the conversion was done successfully, now the additional initializations should happen
|
||||
|
||||
MoveListeners();
|
||||
m_xWrappedObject->setClientSite( m_xClientSite );
|
||||
|
@ -1398,7 +1398,7 @@ void SAL_CALL OleEmbeddedObject::setPersistentEntry(
|
||||
catch( const uno::Exception& )
|
||||
{
|
||||
// TODO/LATER: detect classID of the object if possible
|
||||
// means that the object inprocess server could not be successfuly instantiated
|
||||
// means that the object inprocess server could not be successfully instantiated
|
||||
GetRidOfComponent();
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService
|
||||
s_pFactoryFunctionPointers;
|
||||
|
||||
public:
|
||||
// cna be set as long as no resource has been accessed ...
|
||||
// can be set as long as no resource has been accessed ...
|
||||
static void setResourceFilePrefix(const ::rtl::OString& _rPrefix);
|
||||
|
||||
/// get the vcl res manager of the module
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define __NSP_FUNC_HXX
|
||||
|
||||
|
||||
// Some function diffrent from UNIX and Window.
|
||||
// Some function different from UNIX and Window.
|
||||
|
||||
/************************ In UNIX ************************/
|
||||
|
||||
|
@ -104,7 +104,7 @@ public:
|
||||
virtual ~Mediator();
|
||||
|
||||
// mark mediator as invalid. No more messages will be processed,
|
||||
// SendMessage, WaitForMessage, TransactMessage will return immediatly
|
||||
// SendMessage, WaitForMessage, TransactMessage will return immediately
|
||||
// with error
|
||||
void invalidate() { m_bValid = false; }
|
||||
|
||||
|
@ -909,7 +909,7 @@ namespace pcr
|
||||
pEventHolder->addEvent( event->second.nId, event->second.sListenerMethodName, aAssignedScript );
|
||||
}
|
||||
|
||||
// the inital selection in the dialog
|
||||
// the initial selection in the dialog
|
||||
Sequence< ::rtl::OUString > aNames( pEventHolder->getElementNames() );
|
||||
const ::rtl::OUString* pChosenEvent = ::std::find( aNames.getConstArray(), aNames.getConstArray() + aNames.getLength(), rForEvent.sListenerMethodName );
|
||||
sal_uInt16 nInitialSelection = (sal_uInt16)( pChosenEvent - aNames.getConstArray() );
|
||||
|
6
filter/source/config/cache/basecontainer.cxx
vendored
6
filter/source/config/cache/basecontainer.cxx
vendored
@ -398,7 +398,7 @@ sal_Bool SAL_CALL BaseContainer::hasByName(const ::rtl::OUString& sItem)
|
||||
css::uno::Type SAL_CALL BaseContainer::getElementType()
|
||||
throw (css::uno::RuntimeException)
|
||||
{
|
||||
// no lock neccessary - because the type of our items
|
||||
// no lock necessary - because the type of our items
|
||||
// is fix! no internal call or member needed ...
|
||||
return ::getCppuType(static_cast< css::uno::Sequence< css::beans::PropertyValue >* >(NULL));
|
||||
}
|
||||
@ -573,7 +573,7 @@ void SAL_CALL BaseContainer::flush()
|
||||
void SAL_CALL BaseContainer::addFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener)
|
||||
throw (css::uno::RuntimeException)
|
||||
{
|
||||
// no locks neccessary
|
||||
// no locks necessary
|
||||
// used helper lives if we live and is threadsafe by itself ...
|
||||
m_lListener.addInterface(::getCppuType(static_cast< css::uno::Reference< css::util::XFlushListener >* >(NULL)),
|
||||
xListener );
|
||||
@ -584,7 +584,7 @@ void SAL_CALL BaseContainer::addFlushListener(const css::uno::Reference< css::ut
|
||||
void SAL_CALL BaseContainer::removeFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener)
|
||||
throw (css::uno::RuntimeException)
|
||||
{
|
||||
// no locks neccessary
|
||||
// no locks necessary
|
||||
// used helper lives if we live and is threadsafe by itself ...
|
||||
m_lListener.removeInterface(::getCppuType(static_cast< css::uno::Reference< css::util::XFlushListener >* >(NULL)),
|
||||
xListener );
|
||||
|
4
filter/source/config/cache/configflush.cxx
vendored
4
filter/source/config/cache/configflush.cxx
vendored
@ -108,7 +108,7 @@ void SAL_CALL ConfigFlush::refresh()
|
||||
void SAL_CALL ConfigFlush::addRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener)
|
||||
throw(css::uno::RuntimeException)
|
||||
{
|
||||
// no locks neccessary
|
||||
// no locks necessary
|
||||
// used helper lives if we live and is threadsafe by itself ...
|
||||
m_lListener.addInterface(::getCppuType(static_cast< css::uno::Reference< css::util::XRefreshListener >* >(NULL)),
|
||||
xListener);
|
||||
@ -118,7 +118,7 @@ void SAL_CALL ConfigFlush::addRefreshListener(const css::uno::Reference< css::ut
|
||||
void SAL_CALL ConfigFlush::removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener)
|
||||
throw(css::uno::RuntimeException)
|
||||
{
|
||||
// no locks neccessary
|
||||
// no locks necessary
|
||||
// used helper lives if we live and is threadsafe by itself ...
|
||||
m_lListener.removeInterface(::getCppuType(static_cast< css::uno::Reference< css::util::XRefreshListener >* >(NULL)),
|
||||
xListener);
|
||||
|
2
filter/source/config/cache/filtercache.cxx
vendored
2
filter/source/config/cache/filtercache.cxx
vendored
@ -1235,7 +1235,7 @@ void FilterCache::impl_validateAndOptimize()
|
||||
++pIt )
|
||||
{
|
||||
// Note: of course the default loader must be ignored here.
|
||||
// Because we replace its registration later completly with all
|
||||
// Because we replace its registration later completely with all
|
||||
// types, which are not referenced by any other loader.
|
||||
// So we can avaoid our code against the complexity of a diff!
|
||||
::rtl::OUString sLoader = pIt->first;
|
||||
|
4
filter/source/config/cache/typedetection.cxx
vendored
4
filter/source/config/cache/typedetection.cxx
vendored
@ -533,7 +533,7 @@ sal_Bool TypeDetection::impl_getPreselectionForType(const ::rtl::OUString& sPreS
|
||||
{
|
||||
// Can be used to supress execution of some parts of this method
|
||||
// if its already clear that detected type is valid or not.
|
||||
// Its neccessary to use shared code at the end, which update
|
||||
// Its necessary to use shared code at the end, which update
|
||||
// all return parameters constistency!
|
||||
sal_Bool bBreakDetection = sal_False;
|
||||
|
||||
@ -652,7 +652,7 @@ sal_Bool TypeDetection::impl_getPreselectionForFilter(const ::rtl::OUString& sPr
|
||||
{
|
||||
// Can be used to supress execution of some parts of this method
|
||||
// if its already clear that detected filter is valid or not.
|
||||
// Its neccessary to use shared code at the end, which update
|
||||
// Its necessary to use shared code at the end, which update
|
||||
// all return parameters constistency!
|
||||
sal_Bool bBreakDetection = sal_False;
|
||||
|
||||
|
@ -686,7 +686,7 @@ void Writer::Impl_writeText( const Point& rPos, const String& rText, const sal_I
|
||||
|
||||
maShapeIds.push_back( nTextId );
|
||||
|
||||
// AS: Write strikeout and underline, if neccessary. This code was originally taken from the SVG
|
||||
// AS: Write strikeout and underline, if necessary. This code was originally taken from the SVG
|
||||
// export facility, although the positioning had to be tweaked a little. I can't explain the
|
||||
// numbers, but the flash lines up very well with the original OOo document. All of this should
|
||||
// probably be converted to polygons as part of the meta file, though, as we don't handle any
|
||||
|
@ -1191,7 +1191,7 @@ void PictWriter::WriteOpcode_BitsRect(const Point & rPoint, const Size & rSize,
|
||||
else
|
||||
{ // Ppacking (nPackType==0)
|
||||
|
||||
// remeber start of the row in the target:
|
||||
// remember start of the row in the target:
|
||||
nDstRowPos = pPict->Tell();
|
||||
|
||||
// ByteCount (das ist die Groesse der gepackten Zeile) zunaechst 0 (wird spaeter berichtigt):
|
||||
|
@ -1125,7 +1125,7 @@ void DffPropSet::ReadPropSet( SvStream& rIn, bool bSetUninitializedOnly )
|
||||
sal_uInt32 nMergeFlags = nContent;
|
||||
|
||||
nMergeFlags &= ( nMergeFlags >> 16 ) | 0xffff0000; // clearing low word
|
||||
nMergeFlags &= ( ( nCurrentFlags & 0xffff0000 ) // remove allready hard set
|
||||
nMergeFlags &= ( ( nCurrentFlags & 0xffff0000 ) // remove already hard set
|
||||
| ( nCurrentFlags >> 16 ) ) ^ 0xffffffff; // attributes from mergeflags
|
||||
nCurrentFlags &= ( ( nMergeFlags & 0xffff0000 ) // apply zero master bits
|
||||
| ( nMergeFlags >> 16 ) ) ^ 0xffffffff;
|
||||
|
@ -5765,7 +5765,7 @@ sal_Bool SvxMSDffManager::GetShapeContainerData( SvStream& rSt,
|
||||
// und der Text nicht gedreht ist)
|
||||
sal_Bool bCanBeReplaced = (ULONG_MAX > nPosGroup) ? sal_False : sal_True;
|
||||
|
||||
// we don't knwo yet whether it's a TextBox
|
||||
// we don't know yet whether it's a TextBox
|
||||
MSO_SPT eShapeType = mso_sptNil;
|
||||
|
||||
// analyze Shape
|
||||
|
@ -485,7 +485,7 @@ struct AnnotatingVisitor
|
||||
mnCurrStateId,
|
||||
rState));
|
||||
|
||||
// find two representative stop colors (as odf only support
|
||||
// find two representative stop colors (as ODF only support
|
||||
// start&end color)
|
||||
optimizeGradientStops(rState.maFillGradient);
|
||||
|
||||
@ -1675,7 +1675,7 @@ struct ShapeWritingVisitor
|
||||
"svggraphicstyle"+aStyleId);
|
||||
|
||||
// force path coordinates to 100th millimeter, after
|
||||
// putting polygon data at origin (odf viewbox
|
||||
// putting polygon data at origin (ODF viewbox
|
||||
// calculations largely untested codepaths, as OOo always
|
||||
// writes "0 0 w h" viewboxes)
|
||||
basegfx::B2DHomMatrix aNormalize;
|
||||
|
@ -91,7 +91,7 @@ protected:
|
||||
void defaultCommonEditProperties();
|
||||
|
||||
virtual sal_uInt16 getPersistenceFlags() const;
|
||||
// derived classes may use this if they want this base class to write additinal version flags
|
||||
// derived classes may use this if they want this base class to write additional version flags
|
||||
// (one of the PF_.... constants). After ::read they may ask for that flags with getLastReadVersion
|
||||
};
|
||||
|
||||
|
@ -1303,7 +1303,7 @@ OBoundControlModel::OBoundControlModel(
|
||||
m_aValuePropertyType = _pOriginal->m_aValuePropertyType;
|
||||
m_aControlSource = _pOriginal->m_aControlSource;
|
||||
m_bInputRequired = _pOriginal->m_bInputRequired;
|
||||
// m_xLabelControl, though being a property, is not to be cloned, not even the reference will be transfered.
|
||||
// m_xLabelControl, though being a property, is not to be cloned, not even the reference will be transferred.
|
||||
// (the former should be clear - a clone of the object we're only referencing does not make sense)
|
||||
// (the second would violate the restriction for label controls that they're part of the
|
||||
// same form component hierarchy - we ourself are no part, yet, so we can't have a label control)
|
||||
@ -2218,7 +2218,7 @@ void OBoundControlModel::impl_connectDatabaseColumn_noNotify( bool _bFromReload
|
||||
}
|
||||
|
||||
// now that we're connected (more or less, even if we did not find a column),
|
||||
// we definately want to forward any potentially occuring value changes
|
||||
// we definitely want to forward any potentially occuring value changes
|
||||
m_bForwardValueChanges = sal_True;
|
||||
|
||||
// let derived classes react on this new connection
|
||||
|
@ -1293,7 +1293,7 @@ namespace frm
|
||||
{
|
||||
Any aReturn;
|
||||
|
||||
// by definition, multiple selected entries are transfered as NULL if the
|
||||
// by definition, multiple selected entries are transferred as NULL if the
|
||||
// binding does not support string lists
|
||||
if ( _rSelectSequence.getLength() <= 1 )
|
||||
{
|
||||
|
@ -592,7 +592,7 @@ namespace frm
|
||||
Any SAL_CALL OClickableImageBaseModel::queryAggregation(const Type& _rType) throw (RuntimeException)
|
||||
{
|
||||
// order matters:
|
||||
// we definately want to "overload" the XImageProducer interface of our aggregate,
|
||||
// we definitely want to "overload" the XImageProducer interface of our aggregate,
|
||||
// thus check OClickableImageBaseModel_Base (which provides this) first
|
||||
Any aReturn = OClickableImageBaseModel_Base::queryInterface( _rType );
|
||||
|
||||
|
@ -299,7 +299,7 @@ namespace frm
|
||||
// the AutoPaperSize bits set.
|
||||
// So in order to be properly notified, we would need the AutoPaperSize. But, with
|
||||
// AutoPaperSize, other things do not work anymore: Either, when we set a MaxAutoPaperSize,
|
||||
// then the view does automatic soft line breaks at the paper end - which we definately do
|
||||
// then the view does automatic soft line breaks at the paper end - which we definitely do
|
||||
// want. Or, if we did not set a MaxAutoPaperSize, then the view does not automatically scroll
|
||||
// anymore in horizontal direction.
|
||||
// So this is some kind of lose-lose situation ... :(
|
||||
|
@ -1263,7 +1263,7 @@ void Binding::handleEvent( const XEvent_t& xEvent )
|
||||
|
||||
// the modification of the 'mnDeferModifyNotifications'-member
|
||||
// is necessary to prevent infinite notication looping.
|
||||
// This can happend in case the binding which caused
|
||||
// This can happened in case the binding which caused
|
||||
// the notification chain is listening to those events
|
||||
// as well...
|
||||
bool bPreserveValueModified = mbValueModified;
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
/// can we convert this type?
|
||||
bool hasType( const Type_t& );
|
||||
|
||||
/// get list of convertable types
|
||||
/// get list of convertible types
|
||||
Types_t getTypes();
|
||||
|
||||
/// convert any to XML representation
|
||||
|
@ -236,7 +236,7 @@ void Model::dbg_assertInvariant() const
|
||||
|
||||
|
||||
//
|
||||
// MIP managment
|
||||
// MIP management
|
||||
//
|
||||
|
||||
void Model::addMIP( void* pTag, const XNode_t& xNode, const MIP& rMIP )
|
||||
|
@ -87,7 +87,7 @@ namespace svt
|
||||
|
||||
// intercept some interesting interactions
|
||||
|
||||
// The "does not exist" interaction will be supressed here completly.
|
||||
// The "does not exist" interaction will be supressed here completely.
|
||||
if (m_eInterceptions & OFilePickerInteractionHandler::E_DOESNOTEXIST)
|
||||
{
|
||||
InteractiveIOException aIoException;
|
||||
|
@ -203,12 +203,12 @@ namespace svt
|
||||
else
|
||||
bIs = m_pContent->isDocument();
|
||||
|
||||
// from here on, we definately know that the content is valid
|
||||
// from here on, we definitely know that the content is valid
|
||||
m_eState = VALID;
|
||||
}
|
||||
catch( const Exception& )
|
||||
{
|
||||
// now we're definately invalid
|
||||
// now we're definitely invalid
|
||||
m_eState = INVALID;
|
||||
}
|
||||
return bIs;
|
||||
@ -226,12 +226,12 @@ namespace svt
|
||||
m_pContent->getPropertyValue( OUString( "Title" ) ) >>= sTitle;
|
||||
_rTitle = sTitle;
|
||||
|
||||
// from here on, we definately know that the content is valid
|
||||
// from here on, we definitely know that the content is valid
|
||||
m_eState = VALID;
|
||||
}
|
||||
catch( const ::com::sun::star::uno::Exception& )
|
||||
{
|
||||
// now we're definately invalid
|
||||
// now we're definitely invalid
|
||||
m_eState = INVALID;
|
||||
}
|
||||
}
|
||||
@ -254,14 +254,14 @@ namespace svt
|
||||
const OUString aParentURL( xParent->getIdentifier()->getContentIdentifier() );
|
||||
bRet = ( !aParentURL.isEmpty() && aParentURL != m_pContent->getURL() );
|
||||
|
||||
// now we're definately valid
|
||||
// now we're definitely valid
|
||||
m_eState = VALID;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const Exception& )
|
||||
{
|
||||
// now we're definately invalid
|
||||
// now we're definitely invalid
|
||||
m_eState = INVALID;
|
||||
}
|
||||
return bRet;
|
||||
@ -289,12 +289,12 @@ namespace svt
|
||||
}
|
||||
}
|
||||
|
||||
// now we're definately valid
|
||||
// now we're definitely valid
|
||||
m_eState = VALID;
|
||||
}
|
||||
catch( const Exception& )
|
||||
{
|
||||
// now we're definately invalid
|
||||
// now we're definitely invalid
|
||||
m_eState = INVALID;
|
||||
}
|
||||
return bRet;
|
||||
|
@ -670,7 +670,7 @@ void SAL_CALL CWinFileOpenImpl::onSelChanged(HWND)
|
||||
// string to the file name edit line
|
||||
// this would overwritte our text when we would set
|
||||
// the default name in onInitDone, so we have to
|
||||
// remeber that this is the first SelChanged message
|
||||
// remember that this is the first SelChanged message
|
||||
// and set the default name here to overwrite the
|
||||
// windows setting
|
||||
InitialSetDefaultName();
|
||||
|
@ -191,7 +191,7 @@ CMtaFolderPicker::~CMtaFolderPicker( )
|
||||
|
||||
// force the destruction of the sta thread request window
|
||||
// and the end of the thread
|
||||
// remeber: DestroyWindow may only be called from within
|
||||
// remember: DestroyWindow may only be called from within
|
||||
// the thread that created the window
|
||||
if ( IsWindow( m_hwndStaRequestWnd ) )
|
||||
{
|
||||
|
@ -136,7 +136,7 @@ private:
|
||||
sal_Bool SAL_CALL createStaRequestWindow( );
|
||||
|
||||
//---------------------------------------------------------------
|
||||
// message handler functions; remeber these functions are called
|
||||
// message handler functions; remember these functions are called
|
||||
// from a different thread context!
|
||||
//---------------------------------------------------------------
|
||||
|
||||
|
@ -40,7 +40,7 @@ class DropTargetListener : private ThreadHelpBase
|
||||
// member
|
||||
private:
|
||||
|
||||
/// uno service manager to create neccessary services
|
||||
/// uno service manager to create necessary services
|
||||
css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory;
|
||||
/// weakreference to target frame (Don't use a hard reference. Owner can't delete us then!)
|
||||
css::uno::WeakReference< css::frame::XFrame > m_xTargetFrame;
|
||||
|
@ -369,7 +369,7 @@ class SetNodeHash : public ::boost::unordered_map< ::rtl::OUString
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------
|
||||
// Append changed, added or removed items to special lists
|
||||
// Neccessary for saving changes
|
||||
// Necessary for saving changes
|
||||
//---------------------------------------------------------------------------------------------------------
|
||||
void appendChange( const ::rtl::OUString& sName ,
|
||||
EModifyState eState );
|
||||
@ -667,7 +667,7 @@ class FilterCFGAccess : public ::utl::ConfigItem
|
||||
//-------------------------------------------------------------------------------------------------------------
|
||||
private:
|
||||
EFilterPackage m_ePackage ; // ... not realy used yet! should split configuration in STANDARD and ADDITIONAL filter
|
||||
sal_Int32 m_nVersion ; // file format version of configuration! (neccessary for "xml2xcd" transformation!)
|
||||
sal_Int32 m_nVersion ; // file format version of configuration! (necessary for "xml2xcd" transformation!)
|
||||
sal_Int32 m_nKeyCountTypes ; // follow key counts present count of configuration properties for types/filters ... and depends from m_nVersion - must be set right!
|
||||
sal_Int32 m_nKeyCountFilters ;
|
||||
sal_Int32 m_nKeyCountDetectors ;
|
||||
|
@ -70,7 +70,7 @@ class FrameContainer : private ThreadHelpBase
|
||||
|
||||
/// list to hold all frames
|
||||
TFrameContainer m_aContainer;
|
||||
/// one container item can be the current active frame. Its neccessary for Desktop or Frame implementation.
|
||||
/// one container item can be the current active frame. Its necessary for Desktop or Frame implementation.
|
||||
css::uno::Reference< css::frame::XFrame > m_xActiveFrame;
|
||||
|
||||
//_______________________________________
|
||||
|
@ -60,7 +60,7 @@ namespace framework{
|
||||
class CloseDispatcher : public css::lang::XTypeProvider
|
||||
, public css::frame::XNotifyingDispatch // => XDispatch
|
||||
, public css::frame::XDispatchInformationProvider
|
||||
// baseclasses ... order is neccessary for right initialization!
|
||||
// baseclasses ... order is necessary for right initialization!
|
||||
, private ThreadHelpBase
|
||||
, public ::cppu::OWeakObject
|
||||
{
|
||||
|
@ -82,7 +82,7 @@ class DispatchProvider : // interfaces
|
||||
public css::lang::XTypeProvider ,
|
||||
public css::frame::XDispatchProvider ,
|
||||
// baseclasses
|
||||
// Order is neccessary for right initialization!
|
||||
// Order is necessary for right initialization!
|
||||
private ThreadHelpBase ,
|
||||
private TransactionBase ,
|
||||
public ::cppu::OWeakObject
|
||||
|
@ -59,7 +59,7 @@ class MailToDispatcher : // interfaces
|
||||
public css::frame::XDispatchProvider ,
|
||||
public css::frame::XNotifyingDispatch, // => XDispatch
|
||||
// baseclasses
|
||||
// Order is neccessary for right initialization!
|
||||
// Order is necessary for right initialization!
|
||||
private ThreadHelpBase ,
|
||||
public cppu::OWeakObject
|
||||
{
|
||||
|
@ -79,7 +79,7 @@ class MenuDispatcher : // interfaces
|
||||
public css::frame::XDispatch ,
|
||||
public css::frame::XFrameActionListener ,
|
||||
// baseclasses
|
||||
// Order is neccessary for right initialization!
|
||||
// Order is necessary for right initialization!
|
||||
public ThreadHelpBase ,
|
||||
public cppu::OWeakObject
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ class Oxt_Handler : // interfaces
|
||||
, public css::frame::XNotifyingDispatch // => XDispatch
|
||||
, public css::document::XExtendedFilterDetection
|
||||
// baseclasses
|
||||
// Order is neccessary for right initialization!
|
||||
// Order is necessary for right initialization!
|
||||
, private ThreadHelpBase
|
||||
, public ::cppu::OWeakObject
|
||||
{
|
||||
|
@ -84,7 +84,7 @@ class PopupMenuDispatcher : // interfaces
|
||||
public css::frame::XFrameActionListener ,
|
||||
public css::lang::XInitialization ,
|
||||
// baseclasses
|
||||
// Order is neccessary for right initialization!
|
||||
// Order is necessary for right initialization!
|
||||
public ThreadHelpBase ,
|
||||
public cppu::OWeakObject
|
||||
{
|
||||
|
@ -63,7 +63,7 @@ class ServiceHandler : // interfaces
|
||||
public css::frame::XDispatchProvider ,
|
||||
public css::frame::XNotifyingDispatch, // => XDispatch
|
||||
// baseclasses
|
||||
// Order is neccessary for right initialization!
|
||||
// Order is necessary for right initialization!
|
||||
private ThreadHelpBase ,
|
||||
public cppu::OWeakObject
|
||||
{
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user