diff options
-rw-r--r-- | sw/inc/IDocumentDrawModelAccess.hxx | 2 | ||||
-rw-r--r-- | sw/inc/SwNumberTree.hxx | 2 | ||||
-rw-r--r-- | sw/inc/fesh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/frmfmt.hxx | 2 | ||||
-rw-r--r-- | sw/inc/ndarr.hxx | 2 | ||||
-rw-r--r-- | sw/inc/node.hxx | 2 | ||||
-rw-r--r-- | sw/inc/swunohelper.hxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/rtfexport/rtfexport5.cxx | 2 | ||||
-rw-r--r-- | sw/qa/python/xtextrange.py | 2 | ||||
-rw-r--r-- | sw/qa/uitest/classification/classification.py | 2 | ||||
-rw-r--r-- | sw/qa/uitest/options/tdf78133.py | 4 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests/tdf53460.py | 2 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests4/tdf51352.py | 4 | ||||
-rw-r--r-- | sw/source/core/text/itrcrsr.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dbui/createaddresslistdialog.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/index/swuiidxmrk.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/misc/bookmark.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/misc/outline.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaapplication.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaborders.cxx | 4 | ||||
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 4 |
21 files changed, 25 insertions, 25 deletions
diff --git a/sw/inc/IDocumentDrawModelAccess.hxx b/sw/inc/IDocumentDrawModelAccess.hxx index b81d65d945d8..b631317a02e8 100644 --- a/sw/inc/IDocumentDrawModelAccess.hxx +++ b/sw/inc/IDocumentDrawModelAccess.hxx @@ -60,7 +60,7 @@ public: /** method to determine, if the corresponding invisible layer ID for a visible one. - Note: If given layer ID is a invisible one, method returns given layer ID. + Note: If given layer ID is an invisible one, method returns given layer ID. Note: If given layer ID is unknown, method returns given layer ID. @param _nVisibleLayerId diff --git a/sw/inc/SwNumberTree.hxx b/sw/inc/SwNumberTree.hxx index 2472f160f95d..4d2409616842 100644 --- a/sw/inc/SwNumberTree.hxx +++ b/sw/inc/SwNumberTree.hxx @@ -293,7 +293,7 @@ public: /** Invalidation and notification of complete numbering tree #i64010# - Usage: on <IsCounted()> state change its needed to invalidate the + Usage: on <IsCounted()> state change it's needed to invalidate the complete numbering tree due to wide influence of this change. */ void InvalidateAndNotifyTree() diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 4d619d4d65f0..25bf062c1e82 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -266,7 +266,7 @@ public: /// Is selected frame within another frame? const SwFrameFormat* IsFlyInFly(); - /** If an object as been given, exactly this object is selected + /** If an object has been given, exactly this object is selected (instead of searching over position). */ bool SelectObj( const Point& rSelPt, sal_uInt8 nFlag = 0, SdrObject *pObj = nullptr ); void DelSelectedObj(); diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 5c3c9dc55213..4bfd5268d251 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -226,7 +226,7 @@ public: Method determines, if background of fly frame is transparent. @return true, if background color is transparent, but not "no fill" - or a existing background graphic is transparent. + or an existing background graphic is transparent. */ virtual bool IsBackgroundTransparent() const override; diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 6153af0ad012..2f2958c977bc 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -151,7 +151,7 @@ public: /// A still empty section. SwNode& GetEndOfPostIts() const { return *m_pEndOfPostIts; } - /// Section fpr all footnotes. + /// Section for all footnotes. SwNode& GetEndOfInserts() const { return *m_pEndOfInserts; } /// Section for all Flys/Header/Footers. SwNode& GetEndOfAutotext() const { return *m_pEndOfAutotext; } diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index d1e0f36fcae7..e3e469c5ff9d 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -262,7 +262,7 @@ public: /// Is node in the visible area of the Shell? bool IsInVisibleArea( SwViewShell const * pSh ) const; - /// Is node in an protected area? + /// Is node in a protected area? bool IsInProtectSect() const; /** Is node in something that is protected (range, frame, table cells ... including anchor in case of frames or footnotes)? */ diff --git a/sw/inc/swunohelper.hxx b/sw/inc/swunohelper.hxx index b87d7dda833e..2cd9cd04bb31 100644 --- a/sw/inc/swunohelper.hxx +++ b/sw/inc/swunohelper.hxx @@ -64,7 +64,7 @@ bool UCB_GetFileListOfFolder( const OUString& rURL, // is the URL an existing file? SW_DLLPUBLIC bool UCB_IsFile( const OUString& rURL ); - // is the URL a existing directory? + // is the URL an existing directory? bool UCB_IsDirectory( const OUString& rURL ); /// helper to check if fill style is set to color or bitmap diff --git a/sw/qa/extras/rtfexport/rtfexport5.cxx b/sw/qa/extras/rtfexport/rtfexport5.cxx index 85535078e0d6..9ea411fae888 100644 --- a/sw/qa/extras/rtfexport/rtfexport5.cxx +++ b/sw/qa/extras/rtfexport/rtfexport5.cxx @@ -905,7 +905,7 @@ DECLARE_RTFEXPORT_TEST(testLandscape, "landscape.rtf") // Check landscape flag. CPPUNIT_ASSERT_EQUAL(3, getPages()); - // All pages should have flag orientiation + // All pages should have flag orientation uno::Reference<container::XNameAccess> pageStyles = getStyles("PageStyles"); // get a page cursor diff --git a/sw/qa/python/xtextrange.py b/sw/qa/python/xtextrange.py index e6875fadc097..9c00ebad51b3 100644 --- a/sw/qa/python/xtextrange.py +++ b/sw/qa/python/xtextrange.py @@ -39,7 +39,7 @@ class TestXTextRange(unittest.TestCase): xTextRangeStart.setString("before") self.assertEqual(xTextRangeStart.getString(), "before") - # Owerwrite strings + # Overwrite strings xTextRangeStart.setString("beforebeforebeforebefore") xTextRangeStart.setString("before2") xTextRangeStart.setString("before3") diff --git a/sw/qa/uitest/classification/classification.py b/sw/qa/uitest/classification/classification.py index ac9988b45aa6..df0384e439f9 100644 --- a/sw/qa/uitest/classification/classification.py +++ b/sw/qa/uitest/classification/classification.py @@ -20,7 +20,7 @@ def get_url_for_data_file(file_name): return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name #TSCP: add advanced classification dialog https://cgit.freedesktop.org/libreoffice/core/commit/?id=71ee09947d5a71105d64fd225bb3672dfa7ce834 -# This adds a advanced classification dialog, which enables the user +# This adds an advanced classification dialog, which enables the user # to manually construct a header/footer message from classification # properties in cases where the user needs more control. All the # text is inserted as fields into the end document and can be changed diff --git a/sw/qa/uitest/options/tdf78133.py b/sw/qa/uitest/options/tdf78133.py index d5da200becd7..7d0ecaad6adb 100644 --- a/sw/qa/uitest/options/tdf78133.py +++ b/sw/qa/uitest/options/tdf78133.py @@ -30,7 +30,7 @@ class tdf78133(UITestCase): xLOEntry.executeAction("EXPAND", tuple()) xLoAppColorsEntry = xLOEntry.getChild('8') xLoAppColorsEntry.executeAction("SELECT", tuple()) #Applications Colors - #change text boundaries chckbox, save + #change text boundaries checkbox, save docboundaries = xDialog.getChild("docboundaries") docboundaries.executeAction("CLICK", tuple()) xOKBtn = xDialog.getChild("ok") @@ -44,7 +44,7 @@ class tdf78133(UITestCase): xLOEntry.executeAction("EXPAND", tuple()) xLoAppColorsEntry = xLOEntry.getChild('8') xLoAppColorsEntry.executeAction("SELECT", tuple()) #Applications Colors - #change text boundaries chckbox, save + #change text boundaries checkbox, save docboundaries = xDialog.getChild("docboundaries") self.assertEqual(get_state_as_dict(docboundaries)["Selected"], "false") xOKBtn = xDialog.getChild("ok") diff --git a/sw/qa/uitest/writer_tests/tdf53460.py b/sw/qa/uitest/writer_tests/tdf53460.py index d9748994e48a..f8fc0ad47451 100644 --- a/sw/qa/uitest/writer_tests/tdf53460.py +++ b/sw/qa/uitest/writer_tests/tdf53460.py @@ -24,7 +24,7 @@ class tdf53460(UITestCase): xOkBtn.executeAction("CLICK", tuple()) #-put the cursor inside first cell top left for example - #-insert a inner table (by default 2x2) inside this cell + #-insert an inner table (by default 2x2) inside this cell self.ui_test.execute_dialog_through_command(".uno:InsertTable") xDialog = self.xUITest.getTopFocusWindow() xOkBtn = xDialog.getChild("ok") diff --git a/sw/qa/uitest/writer_tests4/tdf51352.py b/sw/qa/uitest/writer_tests4/tdf51352.py index a8ed1ceadf72..d65800854208 100644 --- a/sw/qa/uitest/writer_tests4/tdf51352.py +++ b/sw/qa/uitest/writer_tests4/tdf51352.py @@ -25,7 +25,7 @@ class tdf51352(UITestCase): xOkBtn = xDialog.getChild("ok") xOkBtn.executeAction("CLICK", tuple()) #-put the cursor inside first cell top left for example - #-insert a inner table (by default 2x2) inside this cell + #-insert an inner table (by default 2x2) inside this cell self.ui_test.execute_dialog_through_command(".uno:InsertTable") xDialog = self.xUITest.getTopFocusWindow() xOkBtn = xDialog.getChild("ok") @@ -37,7 +37,7 @@ class tdf51352(UITestCase): xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "RIGHT"})) xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "RIGHT"})) self.assertEqual(document.TextTables.getCount(), 2) - #4. From menu "Table->Covert->Table to Text + #4. From menu "Table->Convert->Table to Text self.ui_test.execute_dialog_through_command(".uno:ConvertTableToText") xDialog = self.xUITest.getTopFocusWindow() xOkBtn = xDialog.getChild("ok") diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx index cc5b21cd0b0e..664ccdca6f7b 100644 --- a/sw/source/core/text/itrcrsr.cxx +++ b/sw/source/core/text/itrcrsr.cxx @@ -1265,7 +1265,7 @@ static bool ConsiderNextPortionForCursorOffset(SwLinePortion* pPor, sal_uInt16 n return false; } - // If we're poast the target position, stop the iteration in general. + // If we're past the target position, stop the iteration in general. // Exception: don't stop the iteration between as-char fly portions and their comments. if (nWidth30 >= nX && (!pPor->IsFlyCntPortion() || !pPor->GetNextPortion()->IsPostItsPortion())) { diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx index 7edb7911cf88..ae4d354ea29d 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.cxx +++ b/sw/source/ui/dbui/createaddresslistdialog.cxx @@ -108,7 +108,7 @@ SwAddressControl_Impl::SwAddressControl_Impl(weld::Builder& rBuilder) void SwAddressControl_Impl::SetData(SwCSVData& rDBData) { m_pData = &rDBData; - //when the address data is updated then remove the controls an build again + //when the address data is updated then remove the controls and build again if (!m_aLines.empty()) { m_aLines.clear(); diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index ac2a4d7cb22e..ab42f1e84d62 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -692,7 +692,7 @@ void SwIndexMarkPane::ModifyHdl(const weld::Widget& rBox) m_xPhoneticFT2->set_sensitive(bKeyEnable&&bKey2HasText&&m_bIsPhoneticReadingEnabled); m_xPhoneticED2->set_sensitive(bKeyEnable&&bKey2HasText&&m_bIsPhoneticReadingEnabled); } - else //m_xEntryED !!m_xEntryED is not a ListBox but a Edit + else //m_xEntryED !!m_xEntryED is not a ListBox but an Edit { bool bHasText = !m_xEntryED->get_text().isEmpty(); if(!bHasText) diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx index 6c03c21c8394..e7de483ae76f 100644 --- a/sw/source/ui/misc/bookmark.cxx +++ b/sw/source/ui/misc/bookmark.cxx @@ -206,7 +206,7 @@ IMPL_LINK_NOARG(SwInsertBookmarkDlg, RenameHdl, weld::Button&, void) } } -// callback to a insert button. Inserts a new text mark to the current position. +// callback to an insert button. Inserts a new text mark to the current position. IMPL_LINK_NOARG(SwInsertBookmarkDlg, InsertHdl, weld::Button&, void) { OUString sBookmark = m_xEditBox->get_text(); diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx index e4e3f8083de1..b7b760a8222e 100644 --- a/sw/source/ui/misc/outline.cxx +++ b/sw/source/ui/misc/outline.cxx @@ -307,7 +307,7 @@ short SwOutlineTabDialog::Ok() // set levels for all created templates; has to be done in order to // delete possibly cancelled assignments again. - // encapsulate changes into a action to avoid effects on the current cursor + // encapsulate changes into an action to avoid effects on the current cursor // position during the changes. rWrtSh.StartAction(); diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index 1c5891ac4d63..255209ffa1c5 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -653,7 +653,7 @@ SwWordBasic::FileClose( const css::uno::Any& Save ) // // FIXME: Error handling. If there is no current document, return some kind of error? But for // now, just ignore errors. This code is written to work for a very specific customer use case - // ayway, not for an arbitrary sequence of COM calls to the "VBA" API. + // anyway, not for an arbitrary sequence of COM calls to the "VBA" API. dispatchRequests(xModel,".uno:CloseDoc"); } diff --git a/sw/source/ui/vba/vbaborders.cxx b/sw/source/ui/vba/vbaborders.cxx index 5d4ad8b9719d..f66b38426f82 100644 --- a/sw/source/ui/vba/vbaborders.cxx +++ b/sw/source/ui/vba/vbaborders.cxx @@ -80,7 +80,7 @@ private: break; case word::WdBorderType::wdBorderDiagonalDown: case word::WdBorderType::wdBorderDiagonalUp: - // #TODO have to ignore at the momement, would be + // #TODO have to ignore at the moment, would be // nice to investigate what we can do here break; default: @@ -122,7 +122,7 @@ private: case word::WdBorderType::wdBorderDiagonalDown: case word::WdBorderType::wdBorderDiagonalUp: - // #TODO have to ignore at the momement, would be + // #TODO have to ignore at the moment, would be // nice to investigate what we can do here break; default: diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 7e42d4af1233..64398e1ea2b4 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -4514,7 +4514,7 @@ void DomainMapper_Impl::CloseFieldCommand() if (sURL.startsWith("file:///")) { // file:///absolute\path\to\file => invalid file URI (Writer cannot open) - // convert all blackslashes to slashes: + // convert all backslashes to slashes: sURL = sURL.replace('\\', '/'); } // Try to make absolute any relative URLs, except @@ -4842,7 +4842,7 @@ void DomainMapper_Impl::CloseFieldCommand() OUString::createFromAscii(aIt->second.cFieldServiceName)); uno::Reference< beans::XPropertySet > xTC(xFieldInterface, uno::UNO_QUERY_THROW); - OUString sCmd(pContext->GetCommand());//sCmd is the entire instrText inclusing the index e.g. CITATION Kra06 \l 1033 + OUString sCmd(pContext->GetCommand());//sCmd is the entire instrText including the index e.g. CITATION Kra06 \l 1033 if( !sCmd.isEmpty()){ uno::Sequence<beans::PropertyValue> aValues( comphelper::InitPropertySequence({ { "Identifier", uno::Any(sCmd) } |