summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-02-07 17:04:10 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-02-07 17:46:51 +0100
commit9430abb0dcc9fb1facd498c88da44e3dbb9bd25b (patch)
treea0adfc9eeef0e96890a0cd984be6038272ff129c
parentf38064cb0583c2cc0a84347ea9175491e105d926 (diff)
Fix typos
Change-Id: I90e3a9b3c1b8053362ff938374dd781d30618279 Reviewed-on: https://gerrit.libreoffice.org/49368 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx2
-rw-r--r--vbahelper/source/vbahelper/vbaglobalbase.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 61ef9aeaeb63..8bac0ed0c5c3 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -195,7 +195,7 @@ DECLARE_OOXMLIMPORT_TEST(testN757890, "n757890.docx")
xPara->getPropertyValue("ParaStyleName") >>= aValue;
CPPUNIT_ASSERT_EQUAL(OUString("Heading 1"), aValue);
- // This wan't centered
+ // This wasn't centered
uno::Reference<text::XTextFramesSupplier> xTextFramesSupplier(mxComponent, uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xIndexAccess(xTextFramesSupplier->getTextFrames(), uno::UNO_QUERY);
uno::Reference<beans::XPropertySet> xFrame(xIndexAccess->getByIndex(0), uno::UNO_QUERY);
diff --git a/vbahelper/source/vbahelper/vbaglobalbase.cxx b/vbahelper/source/vbahelper/vbaglobalbase.cxx
index 6e238fe1e53b..8212816dee0a 100644
--- a/vbahelper/source/vbahelper/vbaglobalbase.cxx
+++ b/vbahelper/source/vbahelper/vbaglobalbase.cxx
@@ -89,7 +89,7 @@ VbaGlobalsBase::~VbaGlobalsBase()
uno::Reference< container::XNameContainer > xNameContainer( mxContext, uno::UNO_QUERY );
if ( xNameContainer.is() )
{
- // release document reference ( we don't wan't the component context trying to dispose that )
+ // release document reference (we don't want the component context trying to dispose that)
xNameContainer->removeByName( msDocCtxName );
// release application reference, as it is holding onto the context
xNameContainer->removeByName( msApplication );