summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-09-05 23:15:37 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-06 09:13:38 +0200
commitc12c84e6d8f26b7c7dfd4d0daa642879b435d2c6 (patch)
treedc9fb5b02c71a41f5b00e89ab2e03f10b4b5864a /svx
parent3c1c1b8885e76a24b961b2fadbecfb536f423293 (diff)
Fixing "...."
Change-Id: I3424e17cfdfb563fdc5882942031deafae8689fe Reviewed-on: https://gerrit.libreoffice.org/78678 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/AccessibleControlShape.cxx4
-rw-r--r--svx/source/accessibility/AccessibleShape.cxx4
-rw-r--r--svx/source/fmcomp/dbaexchange.cxx4
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx8
-rw-r--r--svx/source/fmcomp/fmgridif.cxx8
-rw-r--r--svx/source/fmcomp/gridcell.cxx2
-rw-r--r--svx/source/fmcomp/gridctrl.cxx4
-rw-r--r--svx/source/form/fmshell.cxx4
-rw-r--r--svx/source/form/fmshimp.cxx4
-rw-r--r--svx/source/form/fmsrccfg.cxx2
-rw-r--r--svx/source/form/fmundo.cxx4
-rw-r--r--svx/source/form/fmview.cxx2
-rw-r--r--svx/source/form/fmvwimp.cxx2
-rw-r--r--svx/source/form/formcontroller.cxx2
-rw-r--r--svx/source/inc/gridcell.hxx2
15 files changed, 28 insertions, 28 deletions
diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx
index 165d0b24dc27..9342f26efe7a 100644
--- a/svx/source/accessibility/AccessibleControlShape.cxx
+++ b/svx/source/accessibility/AccessibleControlShape.cxx
@@ -186,7 +186,7 @@ void AccessibleControlShape::Init()
// for any component, which supports _exactly_ the same interfaces as the component. In addition, it can
// be aggregated, as by definition the proxy's ref count is exactly 1 when returned from the factory.
// Sounds better. Though this yields the problem of slightly degraded performance, it's the only solution
- // I'm aware of at the moment .....
+ // I'm aware of at the moment...
// get the control which belongs to our model (relative to our view)
const OutputDevice* pViewWindow = maShapeTreeInfo.GetDevice();
@@ -631,7 +631,7 @@ void SAL_CALL AccessibleControlShape::disposing()
m_xModelPropsMeta.clear();
m_aControlContext = WeakReference< XAccessibleContext >();
- // stop listening at the control container (should never be necessary here, but who knows ....)
+ // stop listening at the control container (should never be necessary here, but who knows...)
if ( m_bWaitingForControl )
{
OSL_FAIL( "AccessibleControlShape::disposing: this should never happen!" );
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index 5bf62fccfd3b..3e181647808b 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -1287,7 +1287,7 @@ OUString AccessibleShape::getObjectLink( const uno::Any& )
sal_Int32 SAL_CALL AccessibleShape::getHyperLinkCount()
{
// MT: Introduced with IA2 CWS, but SvxAccessibleHyperlink was redundant to svx::AccessibleHyperlink which we introduced meanwhile.
- // Code need to be adapted....
+ // Code need to be adapted...
return 0;
/*
@@ -1303,7 +1303,7 @@ uno::Reference< XAccessibleHyperlink > SAL_CALL
{
uno::Reference< XAccessibleHyperlink > xRet;
// MT: Introduced with IA2 CWS, but SvxAccessibleHyperlink was redundant to svx::AccessibleHyperlink which we introduced meanwhile.
- // Code need to be adapted....
+ // Code need to be adapted...
/*
SvxAccessibleHyperlink* pLink = new SvxAccessibleHyperlink(m_pShape,this);
if (pLink->IsValidHyperlink())
diff --git a/svx/source/fmcomp/dbaexchange.cxx b/svx/source/fmcomp/dbaexchange.cxx
index 563043b305fb..0e6df6cfb871 100644
--- a/svx/source/fmcomp/dbaexchange.cxx
+++ b/svx/source/fmcomp/dbaexchange.cxx
@@ -95,7 +95,7 @@ namespace svx
OSL_FAIL("OColumnTransferable::OColumnTransferable: could not collect essential data source attributes !");
}
- // If the data source is an SQL-statement and simple enough (means "select <field list> from <table> where ....")
+ // If the data source is an SQL-statement and simple enough (means "select <field list> from <table> where...")
// we are able to fake the drag information we are about to create.
if (bTryToParse && (CommandType::COMMAND == nCommandType))
{
@@ -309,7 +309,7 @@ namespace svx
return true;
}
- // check if we have a (string) format we can use ....
+ // check if we have a (string) format we can use...
SotClipboardFormatId nRecognizedFormat = SotClipboardFormatId::NONE;
if (_rData.HasFormat(SotClipboardFormatId::SBA_FIELDDATAEXCHANGE))
nRecognizedFormat = SotClipboardFormatId::SBA_FIELDDATAEXCHANGE;
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index 2375819bc196..d5d9b3218772 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -270,7 +270,7 @@ sal_Int8 FmGridHeader::ExecuteDrop( const ExecuteDropEvent& _rEvt )
static_cast<FmGridControl*>(GetParent())->getContext(), nullptr );
}
catch(NoSuchElementException&)
- { // allowed, means sDatasource isn't a valid data source name ....
+ { // allowed, means sDatasource isn't a valid data source name...
}
catch(Exception&)
{
@@ -901,7 +901,7 @@ void FmGridHeader::PostExecuteColumnContextMenu(sal_uInt16 nColId, const PopupMe
xCurCol.set(xCols->getByIndex(i), css::uno::UNO_QUERY);
xCurCol->setPropertyValue(FM_PROP_HIDDEN, makeAny(false));
}
- // TODO : there must be a more clever way to do this ....
+ // TODO : there must be a more clever way to do this...
// with the above the view is updated after every single model update ...
}
else if (nExecutionResult>0 && nExecutionResult<=16)
@@ -1852,11 +1852,11 @@ Sequence< Any> FmGridControl::getSelectionBookmarks()
}
SetUpdateMode(true);
- // if one of the SeekCursor-calls failed ....
+ // if one of the SeekCursor-calls failed...
aBookmarks.realloc(i);
// (the alternative : while collecting the bookmarks lock our propertyChanged, this should resolve both our problems.
- // but this would be incompatible as we need a locking flag, then ...)
+ // but this would be incompatible as we need a locking flag, then...)
return aBookmarks;
}
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 639edd2f0189..80d4bee1aca9 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -455,8 +455,8 @@ void SAL_CALL FmXGridControl::createPeer(const Reference< css::awt::XToolkit >&
DBG_ASSERT(/*(0 == m_nPeerCreationLevel) && */!mbCreatingPeer, "FmXGridControl::createPeer : recursion!");
// I think this should never assert, now that we're using the base class' mbCreatingPeer in addition to
// our own m_nPeerCreationLevel
- // But I'm not sure as I don't _fully_ understand the underlying toolkit implementations ....
- // (if this asserts, we still need m_nPeerCreationLevel. If not, we could omit it ....)
+ // But I'm not sure as I don't _fully_ understand the underlying toolkit implementations...
+ // (if this asserts, we still need m_nPeerCreationLevel. If not, we could omit it...)
// 14.05.2001 - 86836 - frank.schoenheit@germany.sun.com
// TODO: why the hell this whole class does not use any mutex?
@@ -1558,8 +1558,8 @@ void FmXGridPeer::addColumnListeners(const Reference< XPropertySet >& xCol)
void FmXGridPeer::removeColumnListeners(const Reference< XPropertySet >& xCol)
{
- // the same props as in addColumnListeners ... linux has problems with global static UStrings, so
- // we have to do it this way ....
+ // the same props as in addColumnListeners... linux has problems with global static UStrings, so
+ // we have to do it this way...
static const OUStringLiteral aPropsListenedTo[] =
{
FM_PROP_LABEL, FM_PROP_WIDTH, FM_PROP_HIDDEN, FM_PROP_ALIGN,
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 09251caaee8d..004830ff8f9f 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -1307,7 +1307,7 @@ void DbFormattedField::Init( vcl::Window& rParent, const Reference< XRowSet >& x
// So if our LoadListener is called before the LoadListener of the model, this "else case" is
// allowed.
// Of course our property listener for the FormatKey property will notify us if the prop is changed,
- // so this here isn't really bad ....
+ // so this here isn't really bad...
nFormatKey = 0;
}
}
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index d30818511578..bd44a83b3f50 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -3119,7 +3119,7 @@ bool DbGridControl::SaveModified()
}
else
{
- // reset the modified flag ....
+ // reset the modified flag...
Controller()->SetModified();
}
@@ -3401,7 +3401,7 @@ sal_uInt16 DbGridControl::GetColumnIdFromModelPos( sal_uInt16 nPos ) const
--nViewPos;
DBG_ASSERT(pCol && GetColumnIdFromViewPos(nViewPos) == pCol->GetId(),
- "DbGridControl::GetColumnIdFromModelPos : this isn't consistent .... did I misunderstand something ?");
+ "DbGridControl::GetColumnIdFromModelPos : this isn't consistent... did I misunderstand something ?");
}
#endif
return pCol->GetId();
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index eb4d4c4c56f5..96f209998457 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -494,8 +494,8 @@ void FmFormShell::Execute(SfxRequest &rReq)
{
// #99013# if selected with control key, return focus to current view
// do this asynchron, so that the creation can be finished first
- // reusing the SID_FM_TOGGLECONTROLFOCUS is somewhat hacky ... which it wouldn't if it would have another
- // name, so I do not really have a big problem with this ....
+ // reusing the SID_FM_TOGGLECONTROLFOCUS is somewhat hacky... which it wouldn't if it would have another
+ // name, so I do not really have a big problem with this...
SfxBoolItem aGrabFocusIndicatorItem( SID_FM_TOGGLECONTROLFOCUS, true );
GetViewShell()->GetViewFrame()->GetDispatcher()->ExecuteList(
nSlot, SfxCallMode::ASYNCHRON,
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 0a1f936f8765..46547f22ad38 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -514,7 +514,7 @@ bool IsSearchableControl( const css::uno::Reference< css::uno::XInterface>& _rxC
bool FmXBoundFormFieldIterator::ShouldStepInto(const Reference< XInterface>& _rContainer) const
{
if (_rContainer == m_xStartingPoint)
- // would be quite stupid to step over the root ....
+ // would be quite stupid to step over the root...
return true;
return Reference< XControlModel>(_rContainer, UNO_QUERY).is();
@@ -3438,7 +3438,7 @@ void FmXFormShell::CreateExternalView_Lock()
"FmXFormShell::CreateExternalView : inconsistent radio descriptions !");
sal_Int16 nPosition = (*aOffset).second;
nPosition = nPosition + nOffset;
- // we already inserted nOffset additional columns ....
+ // we already inserted nOffset additional columns...
pDispatchArgs->Value <<= nPosition;
++pDispatchArgs;
diff --git a/svx/source/form/fmsrccfg.cxx b/svx/source/form/fmsrccfg.cxx
index 94fc3269b291..021d5b40b201 100644
--- a/svx/source/form/fmsrccfg.cxx
+++ b/svx/source/form/fmsrccfg.cxx
@@ -137,7 +137,7 @@ namespace svxform
SAL_WARN( "svx", "lcl_implMapIntValue: could not convert the integer value "
<< _nValue << " !");
static const sal_Char* const s_pDummy = "";
- // just as a fallback ....
+ // just as a fallback...
return s_pDummy;
}
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx
index 56c57f529fc5..7b632521b465 100644
--- a/svx/source/form/fmundo.cxx
+++ b/svx/source/form/fmundo.cxx
@@ -617,7 +617,7 @@ void SAL_CALL FmXUndoEnvironment::propertyChange(const PropertyChangeEvent& evt)
PropertySetInfo::AllProperties& rPropInfos = aSetPos->second.aProps;
PropertySetInfo::AllProperties::iterator aPropertyPos = rPropInfos.find(evt.PropertyName);
if (aPropertyPos == rPropInfos.end())
- { // nothing 'til now ... have to change this ....
+ { // nothing 'til now ... have to change this...
PropertyInfo aNewEntry;
// the attributes
@@ -1060,7 +1060,7 @@ FmUndoContainerAction::FmUndoContainerAction(FmFormModel& _rMod,
FmUndoContainerAction::~FmUndoContainerAction()
{
- // if we own the object ....
+ // if we own the object...
DisposeElement( m_xOwnElement );
}
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index 894002d8c7de..6c089c44c98c 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -108,7 +108,7 @@ void FmFormView::Init()
// We _want_ to have this because it makes a lot of hacks following the original fix
DBG_ASSERT( !bInitDesignMode, "FmFormView::Init: doesn't the model default to FALSE anymore?" );
// if this asserts, either the on-construction default in the model has changed (then this here
- // may not be necessary anymore), or we're not dealing with a new document ....
+ // may not be necessary anymore), or we're not dealing with a new document...
bInitDesignMode = true;
}
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx
index 69eed6d706a9..8ed702b4a4e0 100644
--- a/svx/source/form/fmvwimp.cxx
+++ b/svx/source/form/fmvwimp.cxx
@@ -692,7 +692,7 @@ IMPL_LINK_NOARG(FmXFormView, OnActivate, void*, void)
if ( !m_pView )
{
- OSL_FAIL( "FmXFormView::OnActivate: well .... seems we have a timing problem (the view already died)!" );
+ OSL_FAIL( "FmXFormView::OnActivate: well... seems we have a timing problem (the view already died)!" );
return;
}
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 39d2f8f6a81d..025b6ca05026 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -3985,7 +3985,7 @@ sal_Bool SAL_CALL FormController::confirmDelete(const RowChangeEvent& aEvent)
void SAL_CALL FormController::invalidateFeatures( const Sequence< ::sal_Int16 >& Features )
{
::osl::MutexGuard aGuard( m_aMutex );
- // for now, just copy the ids of the features, because ....
+ // for now, just copy the ids of the features, because...
::std::copy( Features.begin(), Features.end(),
::std::insert_iterator< ::std::set< sal_Int16 > >( m_aInvalidFeatures, m_aInvalidFeatures.begin() )
);
diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx
index 752ef978055e..029e82547e5b 100644
--- a/svx/source/inc/gridcell.hxx
+++ b/svx/source/inc/gridcell.hxx
@@ -86,7 +86,7 @@ private:
sal_Int16 m_nTypeId;
sal_uInt16 const m_nId;
sal_Int16 m_nFieldPos;
- sal_Int16 m_nAlign; // specified with TXT_ALIGN_LEFT ....
+ sal_Int16 m_nAlign; // specified with TXT_ALIGN_LEFT...
bool m_bReadOnly : 1;
bool m_bAutoValue : 1;
bool m_bInSave : 1;