fix typo/grammar: "the the" --> the
* also removing pointless ASCII art (tdf#62475) * truncate ending whitespace in Doxyfile Change-Id: I59b012f41ac0d170216229da85a49aa41689dee5 Reviewed-on: https://gerrit.libreoffice.org/35151 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
committed by
Noel Grandin
parent
de084e09cf
commit
7e24cedb9e
@@ -232,7 +232,7 @@ class JavaPanZoomController
|
||||
synchronized (mTarget.getLock()) {
|
||||
ImmutableViewportMetrics validated = getValidViewportMetrics();
|
||||
if (!getMetrics().fuzzyEquals(validated)) {
|
||||
// page size changed such that we are now in overscroll. snap to the
|
||||
// page size changed such that we are now in overscroll. snap to
|
||||
// the nearest valid viewport
|
||||
mTarget.setViewportMetrics(validated);
|
||||
}
|
||||
|
||||
@@ -459,9 +459,7 @@ void BackendDb::writeSimpleElement(
|
||||
|
||||
}
|
||||
|
||||
/** The key elements have an url attribute and are always children of the root
|
||||
element.
|
||||
*/
|
||||
/// The key elements have an url attribute and are always children of the root element.
|
||||
Reference<css::xml::dom::XNode> BackendDb::writeKeyElement(
|
||||
OUString const & url)
|
||||
{
|
||||
@@ -474,7 +472,7 @@ Reference<css::xml::dom::XNode> BackendDb::writeKeyElement(
|
||||
const Reference<css::xml::dom::XNode> root = doc->getFirstChild();
|
||||
|
||||
//Check if there are an entry with the same url. This can be the case if the
|
||||
//the status of an XPackage is ambiguous. In this case a call to activateExtension
|
||||
//status of an XPackage is ambiguous. In this case a call to activateExtension
|
||||
//(dp_extensionmanager.cxx), will register the package again. See also
|
||||
//Package::processPackage_impl in dp_backend.cxx.
|
||||
//A package can become
|
||||
|
||||
@@ -46,10 +46,8 @@ public:
|
||||
bool SAL_CALL startup(bool bCreateSuspended = true);
|
||||
void SAL_CALL shutdown();
|
||||
|
||||
// notifications may be added the
|
||||
// the event queue but will only
|
||||
// be notified to the clients after
|
||||
// resume was called
|
||||
// notifications may be added the event queue but will only
|
||||
// be notified to the clients after resume was called
|
||||
void suspend();
|
||||
|
||||
// resume notifying events
|
||||
|
||||
@@ -741,8 +741,7 @@ void LwpTableLayout::RegisterStyle()
|
||||
XFStyleManager* pXFStyleManager = LwpGlobalMgr::GetInstance()->GetXFStyleManager();
|
||||
m_StyleName = pXFStyleManager->AddStyle(xTableStyle.release()).m_pStyle->GetStyleName();
|
||||
|
||||
//convert to OO table now and register row style
|
||||
// traverse
|
||||
//convert to OO table now and register row style traverse
|
||||
TraverseTable();
|
||||
|
||||
SplitConflictCells();
|
||||
@@ -753,10 +752,8 @@ void LwpTableLayout::RegisterStyle()
|
||||
// Parse table
|
||||
ParseTable();
|
||||
|
||||
//Comment: the old code doesn't check if the LwpFoundry pointer is NULL,
|
||||
// so the NULL pointer cause sodc freeze. Add code to check the
|
||||
// the pointer.
|
||||
//New Code
|
||||
// the old code doesn't check if the LwpFoundry pointer is NULL,
|
||||
// so the NULL pointer cause sodc freeze. Add code to check the pointer.
|
||||
if (GetFoundry() && GetTable())
|
||||
PutCellVals(GetFoundry(), GetTable()->GetObjectID());
|
||||
}
|
||||
@@ -1101,10 +1098,8 @@ void LwpTableLayout::ConvertTable(rtl::Reference<XFTable> const & pXFTable, sal_
|
||||
void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID)
|
||||
{
|
||||
|
||||
//Comment:The old code doesn't check if the LwpFoundry pointer is NULL,
|
||||
// So the NULL pointer cause sodc frozen. Add code to check the
|
||||
// the pointer.
|
||||
//New Code
|
||||
// The old code doesn't check if the LwpFoundry pointer is NULL, so the NULL
|
||||
// pointer cause sodc frozen. Add code to check the pointer.
|
||||
if( !pFoundry ) return;
|
||||
|
||||
try{
|
||||
@@ -1435,7 +1430,7 @@ void LwpColumnLayout::Read()
|
||||
sal_uInt16 colid;
|
||||
|
||||
colid = pStrm->QuickReaduInt16(); // forced to lushort
|
||||
ccolid = (sal_uInt8)colid; // Phillip
|
||||
ccolid = (sal_uInt8)colid;
|
||||
cwidth = pStrm->QuickReadInt32();
|
||||
|
||||
pStrm->SkipExtra();
|
||||
|
||||
@@ -28,10 +28,10 @@ module com { module sun { module star { module accessibility {
|
||||
/** Implement this interface to represent a hyperlink or a group of
|
||||
hyperlinks.
|
||||
|
||||
<p>Single hyperlinks correspond to simple <a href> tags. Groups
|
||||
of hyperlinks are contained in client side image maps. Linked objects
|
||||
and anchors are implementation dependent. This interface inherits the
|
||||
XAccessibleAction interface. Especially that interface's
|
||||
<p>Single hyperlinks correspond to simple <a href> tags. Groups
|
||||
of hyperlinks are contained in client side image maps. Linked objects
|
||||
and anchors are implementation dependent. This interface inherits the
|
||||
XAccessibleAction interface. Especially that interface's
|
||||
XAccessibleAction::getActionCount() method is needed to
|
||||
obtain a maximum value for the indices passed to the
|
||||
XAccessibleHyperlink::getAccessibleActionAnchor() and
|
||||
@@ -40,8 +40,7 @@ module com { module sun { module star { module accessibility {
|
||||
|
||||
<p>Furthermore, the object that implements this interface has to be
|
||||
connected implicitly or explicitly with an object that implements the
|
||||
the XAccessibleText interface. The
|
||||
XAccessibleHyperlink::getStartIndex() and
|
||||
XAccessibleText interface. The XAccessibleHyperlink::getStartIndex() and
|
||||
XAccessibleHyperlink::getEndIndex() methods return
|
||||
indices with respect to the text exposed by that interface.</p>
|
||||
|
||||
@@ -59,7 +58,7 @@ interface XAccessibleHyperlink :
|
||||
@param nIndex
|
||||
This index identifies the anchor when, as in the case of an
|
||||
image map, there is more than one link represented by this
|
||||
object. The valid maximal index can be determined by calling
|
||||
object. The valid maximal index can be determined by calling
|
||||
the XAccessibleAction::getActionCount() method.
|
||||
|
||||
@return
|
||||
@@ -78,7 +77,7 @@ interface XAccessibleHyperlink :
|
||||
@param nIndex
|
||||
This index identifies the action object when, as in the case of
|
||||
an image map, there is more than one link represented by this
|
||||
object. The valid maximal index can be determined by calling
|
||||
object. The valid maximal index can be determined by calling
|
||||
the XAccessibleAction::getActionCount() method.
|
||||
|
||||
@return
|
||||
|
||||
@@ -41,7 +41,7 @@ struct ControlCommand
|
||||
|
||||
/** specifies a sequence of named values which are used as argument
|
||||
for the command. The number and type of arguments depend on the
|
||||
the command and control.
|
||||
command and control.
|
||||
*/
|
||||
sequence< com::sun::star::beans::NamedValue > Arguments;
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ module com { module sun { module star { module ui {
|
||||
<p>
|
||||
Note further:<br>
|
||||
All changes you made on this configuration access modify the
|
||||
the configuration set inside memory only. You have to use
|
||||
configuration set inside memory only. You have to use
|
||||
the com::sun::star::util::XFlushable interface
|
||||
(which must be available at the same implementation object too), to
|
||||
make it persistent.
|
||||
|
||||
@@ -2178,7 +2178,7 @@
|
||||
<!-- UIHints: Tools Options - General Save - [Section] Save -->
|
||||
<info>
|
||||
<desc>Specifies whether to generate a thumbnail image and place it inside the
|
||||
the odf archive file, which makes it possible to see a preview of the document.</desc>
|
||||
odf archive file, which makes it possible to see a preview of the document.</desc>
|
||||
<label>Store a preview of this document</label>
|
||||
</info>
|
||||
<value>true</value>
|
||||
|
||||
@@ -1680,7 +1680,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum,
|
||||
// pSourceDoc->RemoveMasterPage(pMaster->GetPageNum());
|
||||
//}
|
||||
|
||||
// Register the new master pages with the document and then use the
|
||||
// Register the new master pages with the document and then use
|
||||
// the new presentation layout for the default and notes pages
|
||||
if (pSourceDoc != this)
|
||||
{
|
||||
|
||||
@@ -597,7 +597,7 @@ void SfxSplitWindow::InsertWindow( SfxDockingWindow* pDockWin, const Size& rSize
|
||||
|
||||
if (rD.pWin)
|
||||
{
|
||||
// A docked window has been found. If no suitable window behind the
|
||||
// A docked window has been found. If no suitable window behind
|
||||
// the desired insertion point s found, then insertion is done at
|
||||
// the end.
|
||||
nInsertPos = nCount;
|
||||
|
||||
@@ -1382,7 +1382,7 @@ OUString SfxDocTplService_Impl::CreateNewGroupFsys( const OUString& rGroupName,
|
||||
|
||||
if ( !UpdateUINamesForTemplateDir_Impl( aTargetPath, rGroupName, aNewFolderName ) )
|
||||
{
|
||||
// we could not create the groupuinames for the folder, so we delete the group in the
|
||||
// we could not create the groupuinames for the folder, so we delete the group in
|
||||
// the folder and return
|
||||
removeContent( aNewFolder );
|
||||
return OUString();
|
||||
|
||||
@@ -1976,7 +1976,7 @@ bool SfxViewFrame::SwitchToViewShell_Impl
|
||||
(
|
||||
sal_uInt16 nViewIdOrNo, /* > 0
|
||||
Registration-Id of the View, to which the
|
||||
the method should switch, for example the one
|
||||
method should switch, for example the one
|
||||
that will be created.
|
||||
|
||||
== 0
|
||||
|
||||
@@ -1525,7 +1525,7 @@ bool SfxViewShell::KeyInput( const KeyEvent &rKeyEvent )
|
||||
|
||||
bool TRUE
|
||||
The Key (Accelerator) is configured and the
|
||||
the associated Handler was called
|
||||
associated Handler was called
|
||||
|
||||
FALSE
|
||||
The Key (Accelerator) is not configured and
|
||||
|
||||
@@ -209,8 +209,7 @@ HRESULT STDMETHODCALLTYPE CPropertySheet::AddPages(LPFNADDPROPSHEETPAGE lpfnAddP
|
||||
hPage = CreatePropertySheetPage(&psp);
|
||||
|
||||
// keep this instance alive, will be released when the
|
||||
// the page is about to be destroyed in the callback function
|
||||
|
||||
// page is about to be destroyed in the callback function
|
||||
if (hPage)
|
||||
{
|
||||
if (lpfnAddPage(hPage, lParam))
|
||||
@@ -237,9 +236,7 @@ HRESULT STDMETHODCALLTYPE CPropertySheet::AddPages(LPFNADDPROPSHEETPAGE lpfnAddP
|
||||
DestroyPropertySheetPage(hPage);
|
||||
}
|
||||
|
||||
// always return success else
|
||||
// no property sheet will be
|
||||
// displayed at all
|
||||
// always return success else no property sheet will be displayed at all
|
||||
return NOERROR;
|
||||
}
|
||||
|
||||
@@ -257,8 +254,7 @@ UINT CALLBACK CPropertySheet::PropPageSummaryCallback(
|
||||
CPropertySheet* pImpl =
|
||||
reinterpret_cast<CPropertySheet*>(ppsp->lParam);
|
||||
|
||||
// release this instance, acquired
|
||||
// in the AddPages method
|
||||
// release this instance, acquired in the AddPages method
|
||||
if (PSPCB_RELEASE == uMsg)
|
||||
{
|
||||
pImpl->Release();
|
||||
@@ -329,8 +325,6 @@ void CPropertySheet::InitPropPageSummary(HWND hwnd, LPPROPSHEETPAGE /*lppsp*/)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*/
|
||||
void CPropertySheet::InitPropPageStatistics(HWND hwnd, LPPROPSHEETPAGE /*lppsp*/)
|
||||
{
|
||||
try
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
* In 'fsm' there is a line for each state X charset X nextstate.
|
||||
* List chars that overwrite previous entries later (e.g. C_ALPH
|
||||
* can be overridden by '_' by a later entry; and C_XX is the
|
||||
* the universal set, and should always be first.
|
||||
* universal set, and should always be first.
|
||||
* States above S_SELF are represented in the big table as negative values.
|
||||
* S_SELF and S_SELFB encode the resulting token type in the upper bits.
|
||||
* These actions differ in that S_SELF doesn't have a lookahead char,
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace objectpositioning
|
||||
starting point for the search of the layout frame.
|
||||
|
||||
@return reference to the layout frame, which determines the
|
||||
the horizontal environment the object has to be positioned in.
|
||||
horizontal environment the object has to be positioned in.
|
||||
*/
|
||||
const SwLayoutFrame& GetHoriEnvironmentLayoutFrame( const SwFrame& _rHoriOrientFrame ) const;
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace objectpositioning
|
||||
starting point for the search of the layout frame.
|
||||
|
||||
@return reference to the layout frame, which determines the
|
||||
the vertical environment the object has to be positioned in.
|
||||
vertical environment the object has to be positioned in.
|
||||
*/
|
||||
const SwLayoutFrame& GetVertEnvironmentLayoutFrame( const SwFrame& _rVertOrientFrame ) const;
|
||||
};
|
||||
|
||||
@@ -120,10 +120,10 @@ namespace
|
||||
// ? ( r1->nBkmType < r2->nBkmType )
|
||||
// : ( r1->nIndex < r2->nIndex );
|
||||
|
||||
// MTG: 25/11/05: Note that the above code does not correctly handle
|
||||
// Note that the above code does not correctly handle
|
||||
// the case when one bookmark ends, and another begins in the same
|
||||
// position. When this occurs, the above code will return the
|
||||
// the start of the 2nd bookmark BEFORE the end of the first bookmark
|
||||
// start of the 2nd bookmark BEFORE the end of the first bookmark
|
||||
// See bug #i58438# for more details. The below code is correct and
|
||||
// fixes both #i58438 and #i16896#
|
||||
return r1->aPosition < r2->aPosition;
|
||||
@@ -429,7 +429,7 @@ lcl_ExportFieldMark(
|
||||
{
|
||||
uno::Reference<text::XTextRange> xRef;
|
||||
SwDoc* pDoc = pUnoCursor->GetDoc();
|
||||
//flr: maybe it's a good idea to add a special hint to the hints array and rely on the hint segmentation....
|
||||
// maybe it's a good idea to add a special hint to the hints array and rely on the hint segmentation....
|
||||
const sal_Int32 start = pUnoCursor->Start()->nContent.GetIndex();
|
||||
OSL_ENSURE(pUnoCursor->End()->nContent.GetIndex() == start,
|
||||
"hmm --- why is this different");
|
||||
@@ -877,7 +877,7 @@ lcl_ExportHints(
|
||||
{
|
||||
pUnoCursor->Right(1);
|
||||
if( *pUnoCursor->GetMark() == *pUnoCursor->GetPoint() )
|
||||
break; // Robust #i81708 content in covered cells
|
||||
break; // Robust #i81708# content in covered cells
|
||||
|
||||
// Do not expose inline anchored textboxes.
|
||||
if (SwTextBoxHelper::isTextBox(pAttr->GetFlyCnt().GetFrameFormat(), RES_FLYFRMFMT))
|
||||
@@ -1091,24 +1091,24 @@ static void lcl_ExportRedline(
|
||||
const sal_Int32 nIndex)
|
||||
{
|
||||
|
||||
// MTG: 23/11/05: We want this loop to iterate over all red lines in this
|
||||
// We want this loop to iterate over all red lines in this
|
||||
// array. We will only insert the ones with index matches
|
||||
for ( SwXRedlinePortion_ImplList::iterator aIter = rRedlineArr.begin(), aEnd = rRedlineArr.end();
|
||||
aIter != aEnd; )
|
||||
{
|
||||
SwXRedlinePortion_ImplSharedPtr pPtr = (*aIter );
|
||||
sal_Int32 nRealIndex = pPtr->getRealIndex();
|
||||
// MTG: 23/11/05: If there are elements before nIndex, remove them
|
||||
// If there are elements before nIndex, remove them
|
||||
if ( nIndex > nRealIndex )
|
||||
aIter = rRedlineArr.erase(aIter);
|
||||
// MTG: 23/11/05: If the elements match, and them to the list
|
||||
// If the elements match, and them to the list
|
||||
else if ( nIndex == nRealIndex )
|
||||
{
|
||||
rPortions.push_back( new SwXRedlinePortion(
|
||||
*pPtr->m_pRedline, pUnoCursor, xParent, pPtr->m_bStart));
|
||||
aIter = rRedlineArr.erase(aIter);
|
||||
}
|
||||
// MTG: 23/11/05: If we've iterated past nIndex, exit the loop
|
||||
// If we've iterated past nIndex, exit the loop
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -2409,7 +2409,7 @@ void SwXMLTableContext::MakeTable_( SwTableBox *pBox )
|
||||
if( !m_nWidth )
|
||||
{
|
||||
// This happens only for percentage values for the table itself.
|
||||
// In this case, the columns get the correct width even if the
|
||||
// In this case, the columns get the correct width even if
|
||||
// the sum of the relative withs is smaller than the available
|
||||
// width in TWIP. Therefore, we can use the relative width.
|
||||
m_nWidth = nRelWidth > USHRT_MAX ? USHRT_MAX : nRelWidth;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -98,9 +98,7 @@ enum PageMarElement
|
||||
PAGE_MAR_GUTTER
|
||||
};
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
property stack element
|
||||
-----------------------------------------------------------------------*/
|
||||
/// property stack element
|
||||
enum ContextType
|
||||
{
|
||||
CONTEXT_SECTION,
|
||||
@@ -132,9 +130,7 @@ public:
|
||||
bool getTextInserted();
|
||||
};
|
||||
|
||||
/*--------------------------------------------------
|
||||
field stack element
|
||||
* --------------------------------------------------*/
|
||||
/// field stack element
|
||||
class FieldContext
|
||||
{
|
||||
bool m_bFieldCommandCompleted;
|
||||
@@ -150,7 +146,7 @@ class FieldContext
|
||||
css::uno::Reference<css::beans::XPropertySet> m_xTC; // TOX entry
|
||||
css::uno::Reference<css::beans::XPropertySet> m_xCustomField;
|
||||
OUString m_sHyperlinkURL;
|
||||
/// A frame for the the hyperlink when one exists.
|
||||
/// A frame for the hyperlink when one exists.
|
||||
OUString m_sHyperlinkTarget;
|
||||
FFDataHandler::Pointer_t m_pFFDataHandler;
|
||||
FormControlHelper::Pointer_t m_pFormControlHelper;
|
||||
@@ -250,9 +246,7 @@ struct DeletableTabStop : public css::style::TabStop
|
||||
{
|
||||
}
|
||||
};
|
||||
/*-------------------------------------------------------------------------
|
||||
/// helper to remember bookmark start position
|
||||
-----------------------------------------------------------------------*/
|
||||
/// helper to remember bookmark start position
|
||||
struct BookmarkInsertPosition
|
||||
{
|
||||
bool m_bIsStartOfText;
|
||||
|
||||
Reference in New Issue
Block a user