Fix typos

Change-Id: Ie0d39dd4bb84d346ca2b19d0965e31fecc75d878
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210572
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
This commit is contained in:
Andrea Gelmini
2026-09-10 16:05:29 +02:00
committed by Julien Nabet
parent 3ff64935b4
commit b36dd72872
20 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ public:
}
};
// Load the PDF in Draw, which will load the PDF as an Graphic, then
// Load the PDF in Draw, which will load the PDF as a Graphic, then
// mark the graphic object and trigger "break" function. This should
// convert the PDF content into objects/shapes.
CPPUNIT_TEST_FIXTURE(SdrPdfImportTest, testImportSimpleText)
+3 -3
View File
@@ -889,7 +889,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testTdf134862)
nWritingMode);
}
CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testRightToLeftParaghraph)
CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testRightToLeftParagraph)
{
createSdImpressDoc("pptx/rightToLeftParagraph.pptx");
@@ -1022,7 +1022,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testBulletMarginAndIndentation)
pNumFmt->GetNumRule().GetLevel(0).GetFirstLineOffset());
}
CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testParaMarginAndindentation)
CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testParaMarginAndIndentation)
{
createSdImpressDoc("pptx/paraMarginAndIndentation.pptx");
@@ -1116,7 +1116,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testTableCellBorder)
xCellPropSet->getPropertyValue(u"LeftBorder"_ustr) >>= aBorderLine;
// While importing the table cell border line width, it converts EMU->Hmm then divided result by 2.
// To get original value of LineWidth need to multiple by 2.
// To get original value of LineWidth need to multiply by 2.
sal_Int32 nLeftBorder = aBorderLine.LineWidth * 2;
nLeftBorder = oox::drawingml::convertHmmToEmu(nLeftBorder);
CPPUNIT_ASSERT(nLeftBorder);
+1 -1
View File
@@ -392,7 +392,7 @@ CPPUNIT_TEST_FIXTURE(SdImportTest2, testTdf103567)
CPPUNIT_TEST_FIXTURE(SdImportTest2, testTdf103792)
{
// Title text shape on the actual slide contained no text neither a placeholder text.
// Title text shape on the actual slide contained no text nor a placeholder text.
createSdImpressDoc("pptx/tdf103792.pptx");
+3 -3
View File
@@ -650,7 +650,7 @@ void SdMiscTest::testTdf101242_ODF_add_settings()
void SdMiscTest::testTdf101242_ODF_no_settings()
{
// Loads a document, which has the visible/printable/locked information for layers
// only in the ODF attributes draw:display and draw:protected. The resave document
// only in the ODF attributes draw:display and draw:protected. The resaved document
// should have only the ODF attributes and no config items in settings.xml.
createSdDrawDoc("tdf101242_ODF.odg");
@@ -823,7 +823,7 @@ void SdMiscTest::testTdf119392_VerifyLayerProperties()
void SdMiscTest::testTdf67248_LayerNamesIndependentFromLocalization()
{
// The document tdf67248.odg has been created with a German UI. It has a user layer named "Background".
// On opening the user layer must still exists. The error was, that it was merged into the standard
// On opening the user layer must still exist. The error was, that it was merged into the standard
// layer "background".
createSdDrawDoc("tdf67248.odg");
SdXImpressDocument* pXImpressDocument = dynamic_cast<SdXImpressDocument*>(mxComponent.get());
@@ -919,7 +919,7 @@ void SdMiscTest::testTdf130988()
= dynamic_cast<E3dScene*>(pView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj());
CPPUNIT_ASSERT(pObj);
// Error was, that the created 3D object had a wrong path. Instead examining
// Error was, that the created 3D object had a wrong path. Instead of examining
// the path directly, I use the scene distance, because that is easier. The
// scene distance is calculated from the object while creating.
const double fDistance = pObj->GetDistance();
+1 -1
View File
@@ -303,6 +303,6 @@ void SAL_CALL PresenterAccessible::disposing (const css::lang::EventObject& rEve
mxMainWindow = nullptr;
}
} // end of namespace ::sd::presenter
} // end of namespace sdext::presenter
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -1
View File
@@ -204,7 +204,7 @@ void PresenterController::disposing(std::unique_lock<std::mutex>&)
void PresenterController::UpdateCurrentSlide (const sal_Int32 nOffset)
{
// std::cerr << "Updating current Slide to " << nOffset << std::endl;
// std::cerr << "Updating current slide to " << nOffset << std::endl;
GetSlides(nOffset);
UpdatePaneTitles();
UpdateViews();
@@ -55,7 +55,7 @@ PresenterFrameworkObserver::~PresenterFrameworkObserver()
}
void PresenterFrameworkObserver::RunOnUpdateEnd (
const rtl::Reference<sd::framework::ConfigurationController>&rxController,
const rtl::Reference<sd::framework::ConfigurationController>& rxController,
const Action& rAction)
{
new PresenterFrameworkObserver(
+1 -1
View File
@@ -722,6 +722,6 @@ void Block::Update (
} // end of anonymous namespace
} // end of namespace ::sdext::presenter
} // end of namespace sdext::presenter
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -1
View File
@@ -276,6 +276,6 @@ void PresenterPaneBase::LayoutContextWindow()
awt::PosSize::POSSIZE);
}
} // end of namespace ::sdext::presenter
} // end of namespace sdext::presenter
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -53,8 +53,8 @@ typedef ::cppu::WeakComponentImplHelper<> PresenterPaneBorderPainterInterfaceBas
bounding box which the paint methods may paint over. The center box is
the third rectangle. This is the actual border between outer and inner
background color or bitmap and it is used for placing the bitmaps that are used
paint the border. The inner sides and corners are places relative to
this center box, i.e. when not further offsets are given then the upper
to paint the border. The inner sides and corners are placed relative to
this center box, i.e. when no further offsets are given then the upper
left corner bitmap is painted with its lower right at the upper left of
the center box.</p>
*/
+1 -1
View File
@@ -30,7 +30,7 @@ using namespace ::com::sun::star::uno;
namespace
{
// Use a super sample factor greater than 1 to achieve a poor mans
// Use a super sample factor greater than 1 to achieve a poor man's
// antialiasing effect for slide previews.
const sal_Int16 gnSuperSampleFactor = 2;
}
+1 -1
View File
@@ -132,7 +132,7 @@ void PresenterSlideShowView::LateInit()
xPeer->setBackground(util::Color(0xff000000));
}
// Create a window for the actual slide show view. It is places
// Create a window for the actual slide show view. It is placed
// centered and with maximal size inside the pane.
mxViewWindow = CreateViewWindow(mxWindow);
+1 -1
View File
@@ -61,7 +61,7 @@ public:
mnRight == mnInvalidValue ? 0 : mnRight,
mnBottom == mnInvalidValue ? 0 : mnBottom
};
};
}
void Merge (const BorderSize& rBorderSize)
{
+1 -1
View File
@@ -35,7 +35,7 @@ namespace sdext::presenter {
/** Factory of the presenter screen specific views. The supported set of
views includes:
a life view of the current slide,
a live view of the current slide,
a static preview of the next slide,
the notes of the current slide,
a tool bar
+1 -1
View File
@@ -97,7 +97,7 @@ CopyDlg::~CopyDlg()
}
/**
* reads provided item set or evaluate ini string
* reads provided item set or evaluates ini string
*/
void CopyDlg::Reset()
{
+5 -5
View File
@@ -418,8 +418,8 @@ bool DrawDocShell::ImportFrom(SfxMedium &rMedium,
// mode for spacing before and after paragraphs.
// This is copied from what is done for .ppt import in
// ImplSdPPTImport::Import() in sd/source/filter/ppt/pptin.cxx
// in. We need to tell both the edit engine of the draw outliner,
// ImplSdPPTImport::Import() in sd/source/filter/ppt/pptin.cxx.
// We need to tell both the edit engine of the draw outliner,
// and the document, to do "summation of paragraphs".
SdrOutliner& rOutl = mpDoc->GetDrawOutliner();
EEControlBits nControlWord = rOutl.GetEditEngine().GetControlWord();
@@ -430,8 +430,8 @@ bool DrawDocShell::ImportFrom(SfxMedium &rMedium,
// tdf#149756 tdf#152545
// This is a "MS Compact" mode for connectors.
// The Libreoffice uses bounding rectangle of connected shapes but
// MSO uses snap rectangle when calculate the edge track.
// LibreOffice uses bounding rectangle of connected shapes but
// MSO uses snap rectangle when calculating the edge track.
mpDoc->SetCompatibilityFlag(SdrCompatibilityFlag::ConnectorUseSnapRect, true);
// compatibility flag for tdf#148966
@@ -737,7 +737,7 @@ bool DrawDocShell::ConvertTo( SfxMedium& rMedium )
}
/**
* Reopen own streams to ensure that nobody else can prevent use from opening
* Reopen own streams to ensure that nobody else can prevent us from opening
* them.
*/
bool DrawDocShell::SaveCompleted( const css::uno::Reference< css::embed::XStorage >& xStorage )
+1 -1
View File
@@ -191,7 +191,7 @@ DrawDocShell::~DrawDocShell()
if( mbOwnDocument )
delete mpDoc;
// that the navigator get informed about the disappearance of the document
// so that the navigator gets informed about the disappearance of the document
SfxBoolItem aItem(SID_NAVIGATOR_INIT, true);
SfxViewFrame* pFrame = mpViewShell ? mpViewShell->GetFrame() : GetFrame();
@@ -154,7 +154,7 @@ void ChangeRequestQueueProcessor::ProcessOneEvent()
ConfigurationTracer::TraceConfiguration (
mxConfiguration, "updating to configuration");
#endif
// RequestUpdate may eventually call a code that needs to lock a solar mutex, owned by
// RequestUpdate may eventually call code that needs to lock a solar mutex, owned by
// another thread, that waits for maMutex; release it here, to avoid deadlocks
auto pConfigurationUpdater = mpConfigurationUpdater;
auto xConfiguration = mxConfiguration;
@@ -230,7 +230,7 @@ void ConfigurationController::requestResourceActivation (
ThrowIfDisposed();
// Check whether we are being disposed. This is handled differently
// then being completely disposed because the first thing disposing()
// than being completely disposed because the first thing disposing()
// does is to deactivate all remaining resources. This is done via
// regular methods which must not throw DisposedExceptions. Therefore
// we just return silently during that stage.
@@ -481,7 +481,7 @@ ConfigurationController::Implementation::Implementation (
mpResourceManager(
std::make_shared<ConfigurationControllerResourceManager>(mpResourceFactoryContainer,mpBroadcaster)),
mpConfigurationUpdater(
std::make_shared<ConfigurationUpdater>(mpBroadcaster, mpResourceManager,rxController)),
std::make_shared<ConfigurationUpdater>(mpBroadcaster, mpResourceManager, rxController)),
mpQueueProcessor(new ChangeRequestQueueProcessor(mpConfigurationUpdater)),
mnLockCount(0)
{
@@ -168,7 +168,7 @@ void ConfigurationControllerResourceManager::ActivateResource (
2. Notify listeners that deactivation has started.
3. Remove the resource id from the current configuration.
4. Release the resource.
5. Notify listeners about that deactivation is completed.
5. Notify listeners that deactivation is completed.
*/
void ConfigurationControllerResourceManager::DeactivateResource (
const rtl::Reference<ResourceId>& rxResourceId,