summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 );