Fix typos
Change-Id: I13c3dc33722f139582f27412d5d336264d3d15a3 Reviewed-on: https://gerrit.libreoffice.org/18942 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
parent
a50539e2aa
commit
3f6da86e9f
@ -102,7 +102,7 @@ void MQuery::construct()
|
|||||||
{
|
{
|
||||||
// Set default values. (For now just as a reminder).
|
// Set default values. (For now just as a reminder).
|
||||||
m_aError.reset();
|
m_aError.reset();
|
||||||
m_bQuerySubDirs = sal_True; // LDAP Queryies require this to be set!
|
m_bQuerySubDirs = sal_True; // LDAP Queries require this to be set!
|
||||||
m_nMaxNrOfReturns = -1; // Unlimited number of returns.
|
m_nMaxNrOfReturns = -1; // Unlimited number of returns.
|
||||||
|
|
||||||
m_aQueryDirectory = new MQueryDirectory();
|
m_aQueryDirectory = new MQueryDirectory();
|
||||||
|
@ -156,7 +156,7 @@ class TransactionGuard
|
|||||||
com::sun::star::uno::Reference< com::sun::star::sdbc::XStatement > m_stmt;
|
com::sun::star::uno::Reference< com::sun::star::sdbc::XStatement > m_stmt;
|
||||||
bool m_commited;
|
bool m_commited;
|
||||||
public:
|
public:
|
||||||
/// takes over ownership of given statemet
|
/// takes over ownership of given statement
|
||||||
explicit TransactionGuard( const com::sun::star::uno::Reference< com::sun::star::sdbc::XStatement > &stmt );
|
explicit TransactionGuard( const com::sun::star::uno::Reference< com::sun::star::sdbc::XStatement > &stmt );
|
||||||
~TransactionGuard( );
|
~TransactionGuard( );
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ namespace connectivity
|
|||||||
void Freeze();
|
void Freeze();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
CreateKeySet creates the keyset which vaalues could be used to travel in your table/result
|
CreateKeySet creates the keyset which values could be used to travel in your table/result
|
||||||
The returned keyset is frozen.
|
The returned keyset is frozen.
|
||||||
*/
|
*/
|
||||||
::rtl::Reference<OKeySet> CreateKeySet();
|
::rtl::Reference<OKeySet> CreateKeySet();
|
||||||
|
@ -70,7 +70,7 @@ inline connectivity::OSQLInternalNode* newNode(const OUString& _NewValue,
|
|||||||
|
|
||||||
|
|
||||||
// yyi is the internal number of the rule that is currently being reduced
|
// yyi is the internal number of the rule that is currently being reduced
|
||||||
// This can be mapped to extrnal rule number via the yyrmap.
|
// This can be mapped to external rule number via the yyrmap.
|
||||||
#define SQL_NEW_RULE newNode("", SQL_NODE_RULE, yyr1[yyn])
|
#define SQL_NEW_RULE newNode("", SQL_NODE_RULE, yyr1[yyn])
|
||||||
#define SQL_NEW_LISTRULE newNode("", SQL_NODE_LISTRULE, yyr1[yyn])
|
#define SQL_NEW_LISTRULE newNode("", SQL_NODE_LISTRULE, yyr1[yyn])
|
||||||
#define SQL_NEW_COMMALISTRULE newNode("", SQL_NODE_COMMALISTRULE, yyr1[yyn])
|
#define SQL_NEW_COMMALISTRULE newNode("", SQL_NODE_COMMALISTRULE, yyr1[yyn])
|
||||||
|
@ -1555,7 +1555,7 @@ extern "C" void SAL_CALL typelib_typedescription_register(
|
|||||||
}
|
}
|
||||||
else if( !pTDR->pType->bOnDemand && (*ppNewDescription)->bOnDemand )
|
else if( !pTDR->pType->bOnDemand && (*ppNewDescription)->bOnDemand )
|
||||||
{
|
{
|
||||||
// switch from !OnDemand to OnDemand, so the description must be relesed
|
// switch from !OnDemand to OnDemand, so the description must be released
|
||||||
assert(pTDR->pType->nRefCount > 1);
|
assert(pTDR->pType->nRefCount > 1);
|
||||||
// coverity[freed_arg] - pType's nRefCount is > 1 here
|
// coverity[freed_arg] - pType's nRefCount is > 1 here
|
||||||
typelib_typedescription_release( pTDR->pType );
|
typelib_typedescription_release( pTDR->pType );
|
||||||
|
@ -246,7 +246,7 @@ void getCascadeMapping(uno_Mapping ** ppMapping,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// reaching this point means, we need a mediated mapping!!!
|
// reaching this point means, we need a mediated mapping!!!
|
||||||
// we generall mediate via uno[:free]
|
// we generally mediate via uno[:free]
|
||||||
uno_Environment * pInterm = NULL;
|
uno_Environment * pInterm = NULL;
|
||||||
|
|
||||||
// chained uno -> uno
|
// chained uno -> uno
|
||||||
|
@ -892,7 +892,7 @@ void OPropertySetHelper::setFastPropertyValues(
|
|||||||
|
|
||||||
// XMultiPropertySet
|
// XMultiPropertySet
|
||||||
/**
|
/**
|
||||||
* The sequence may be conatain not known properties. The implementation
|
* The sequence may be contain not known properties. The implementation
|
||||||
* must ignore these properties.
|
* must ignore these properties.
|
||||||
*/
|
*/
|
||||||
void OPropertySetHelper::setPropertyValues(
|
void OPropertySetHelper::setPropertyValues(
|
||||||
|
@ -364,7 +364,7 @@ OWeakRefListener::~OWeakRefListener()
|
|||||||
{
|
{
|
||||||
if (m_XWeakConnectionPoint.is())
|
if (m_XWeakConnectionPoint.is())
|
||||||
{
|
{
|
||||||
acquire(); // dont die again
|
acquire(); // don't die again
|
||||||
m_XWeakConnectionPoint->removeReference(static_cast<XReference*>(this));
|
m_XWeakConnectionPoint->removeReference(static_cast<XReference*>(this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1254,7 +1254,7 @@ IMPL_LINK_NOARG_TYPED(SfxAcceleratorConfigPage, LoadHdl, sfx2::FileDialogHelper*
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// URL doesn't point to a loaded document, try to access it as a single storage
|
// URL doesn't point to a loaded document, try to access it as a single storage
|
||||||
// dont forget to release the storage afterwards!
|
// don't forget to release the storage afterwards!
|
||||||
uno::Reference<lang::XSingleServiceFactory> xStorageFactory(embed::StorageFactory::create(m_xContext));
|
uno::Reference<lang::XSingleServiceFactory> xStorageFactory(embed::StorageFactory::create(m_xContext));
|
||||||
uno::Sequence<uno::Any> lArgs(2);
|
uno::Sequence<uno::Any> lArgs(2);
|
||||||
lArgs[0] <<= sCfgName;
|
lArgs[0] <<= sCfgName;
|
||||||
@ -1284,7 +1284,7 @@ IMPL_LINK_NOARG_TYPED(SfxAcceleratorConfigPage, LoadHdl, sfx2::FileDialogHelper*
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// dont forget to close the new opened storage!
|
// don't forget to close the new opened storage!
|
||||||
// We are the owner of it.
|
// We are the owner of it.
|
||||||
if (xRootStorage.is())
|
if (xRootStorage.is())
|
||||||
{
|
{
|
||||||
|
@ -437,7 +437,7 @@ void SpellDialog::SpellContinue_Impl(bool bUseSavedSentence, bool bIgnoreCurrent
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Initialize, asynchronous to prevent virtial calls
|
/* Initialize, asynchronous to prevent virtual calls
|
||||||
from a constructor
|
from a constructor
|
||||||
*/
|
*/
|
||||||
IMPL_LINK_NOARG_TYPED( SpellDialog, InitHdl, void*, void)
|
IMPL_LINK_NOARG_TYPED( SpellDialog, InitHdl, void*, void)
|
||||||
|
@ -574,7 +574,7 @@ void FmSearchDialog::EnableSearchUI(bool bEnable)
|
|||||||
m_aDelayedPaint.Stop();
|
m_aDelayedPaint.Stop();
|
||||||
}
|
}
|
||||||
// (the whole thing goes on below)
|
// (the whole thing goes on below)
|
||||||
// this small intricateness hopfully leads to no flickering when turning the SearchUI off
|
// this small intricateness hopefully leads to no flickering when turning the SearchUI off
|
||||||
// and on again shortly after (like it's the case during a short search process)
|
// and on again shortly after (like it's the case during a short search process)
|
||||||
|
|
||||||
if ( !bEnable )
|
if ( !bEnable )
|
||||||
@ -777,7 +777,7 @@ void FmSearchDialog::LoadParams()
|
|||||||
nInitialField = 0;
|
nInitialField = 0;
|
||||||
m_plbField->SelectEntryPos(nInitialField);
|
m_plbField->SelectEntryPos(nInitialField);
|
||||||
LINK(this, FmSearchDialog, OnFieldSelected).Call(m_plbField);
|
LINK(this, FmSearchDialog, OnFieldSelected).Call(m_plbField);
|
||||||
// all fields/single field (AFTER selcting the field because OnClickedFieldRadios expects a valid value there)
|
// all fields/single field (AFTER selecting the field because OnClickedFieldRadios expects a valid value there)
|
||||||
if (aParams.bAllFields)
|
if (aParams.bAllFields)
|
||||||
{
|
{
|
||||||
m_prbSingleField->Check(false);
|
m_prbSingleField->Check(false);
|
||||||
|
@ -324,7 +324,7 @@ void SvxHyperlinkTabPageBase::SetInitFocus()
|
|||||||
GrabFocus();
|
GrabFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ask dialog whether the curretn doc is a HTML-doc
|
// Ask dialog whether the current doc is a HTML-doc
|
||||||
bool SvxHyperlinkTabPageBase::IsHTMLDoc() const
|
bool SvxHyperlinkTabPageBase::IsHTMLDoc() const
|
||||||
{
|
{
|
||||||
return static_cast<SvxHpLinkDlg*>(mpDialog.get())->IsHTMLDoc();
|
return static_cast<SvxHpLinkDlg*>(mpDialog.get())->IsHTMLDoc();
|
||||||
|
@ -871,7 +871,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateFrameDialog(
|
|||||||
VclPtr<Dialog> pDlg;
|
VclPtr<Dialog> pDlg;
|
||||||
if ( SID_OPTIONS_TREEDIALOG == nResId || SID_OPTIONS_DATABASES == nResId )
|
if ( SID_OPTIONS_TREEDIALOG == nResId || SID_OPTIONS_DATABASES == nResId )
|
||||||
{
|
{
|
||||||
// only activate last page if we dont want to activate a special page
|
// only activate last page if we don't want to activate a special page
|
||||||
bool bActivateLastSelection = ( nResId != SID_OPTIONS_DATABASES && rParameter.isEmpty() );
|
bool bActivateLastSelection = ( nResId != SID_OPTIONS_DATABASES && rParameter.isEmpty() );
|
||||||
VclPtrInstance<OfaTreeOptionsDialog> pOptDlg( pParent, rxFrame, bActivateLastSelection );
|
VclPtrInstance<OfaTreeOptionsDialog> pOptDlg( pParent, rxFrame, bActivateLastSelection );
|
||||||
if ( nResId == SID_OPTIONS_DATABASES )
|
if ( nResId == SID_OPTIONS_DATABASES )
|
||||||
|
@ -175,7 +175,7 @@ OUString format(const OpenCLConfig::ImplMatcher& rImpl)
|
|||||||
void fillListBox(SvSimpleTable* pListBox, const OpenCLConfig::ImplMatcherSet& rSet)
|
void fillListBox(SvSimpleTable* pListBox, const OpenCLConfig::ImplMatcherSet& rSet)
|
||||||
{
|
{
|
||||||
pListBox->SetUpdateMode(false);
|
pListBox->SetUpdateMode(false);
|
||||||
// kill added UserData to treeitem
|
// kill added UserData to tree item
|
||||||
for ( sal_uLong i = 0; i < pListBox->GetEntryCount(); ++i )
|
for ( sal_uLong i = 0; i < pListBox->GetEntryCount(); ++i )
|
||||||
delete static_cast<OpenCLConfig::ImplMatcher*>(pListBox->GetEntry(i)->GetUserData());
|
delete static_cast<OpenCLConfig::ImplMatcher*>(pListBox->GetEntry(i)->GetUserData());
|
||||||
|
|
||||||
|
@ -2035,7 +2035,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet )
|
|||||||
"SvxCharEffectsPage::Reset: inconsistence (1)!");
|
"SvxCharEffectsPage::Reset: inconsistence (1)!");
|
||||||
m_pUnderlineLB->GetSelectHdl().Call(NULL);
|
m_pUnderlineLB->GetSelectHdl().Call(NULL);
|
||||||
// don't call SelectHdl_Impl directly!
|
// don't call SelectHdl_Impl directly!
|
||||||
// in DisableControls, we may have re-reouted the select handler
|
// in DisableControls, we may have re-routed the select handler
|
||||||
|
|
||||||
// the select handler for the emphasis listbox
|
// the select handler for the emphasis listbox
|
||||||
// SelectHdl_Impl( m_pEmphasisLB );
|
// SelectHdl_Impl( m_pEmphasisLB );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user