diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-04 08:29:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-04 14:10:44 +0200 |
commit | 59b072e22b0610abc7ffdbc75873ef5cbba58de7 (patch) | |
tree | 663c2d01a983508f9b22ec87fae29b16ab5a1683 /starmath | |
parent | baa411b59c3840a4dddf5447a0b4583eb5edea74 (diff) |
yyyyy
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/document.cxx | 8 | ||||
-rw-r--r-- | starmath/source/view.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index bd5f1351062d..72ca5a104a0a 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -756,12 +756,12 @@ bool SmDocShell::Load( SfxMedium& rMedium ) uno::Reference < container::XNameAccess > xAccess (xStorage, uno::UNO_QUERY); if ( ( - xAccess->hasByName( OUString("content.xml") ) && - xStorage->isStreamElement( OUString("content.xml") ) + xAccess->hasByName( "content.xml" ) && + xStorage->isStreamElement( "content.xml" ) ) || ( - xAccess->hasByName( OUString("Content.xml") ) && - xStorage->isStreamElement( OUString("Content.xml") ) + xAccess->hasByName( "Content.xml" ) && + xStorage->isStreamElement( "Content.xml" ) ) ) { diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 103ca38038aa..29eeaff572c8 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1384,7 +1384,7 @@ void SmViewShell::Insert( SfxMedium& rMedium ) uno::Reference <container::XNameAccess> xNameAccess(xStorage, uno::UNO_QUERY); if (xNameAccess.is() && xNameAccess->getElementNames().getLength()) { - if (xNameAccess->hasByName(OUString("content.xml")) || xNameAccess->hasByName(OUString("Content.xml"))) + if (xNameAccess->hasByName("content.xml") || xNameAccess->hasByName("Content.xml")) { // is this a fabulous math package ? Reference<css::frame::XModel> xModel(pDoc->GetModel()); |