summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/DomainMapper_Impl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapper_Impl.cxx')
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 645d52c3e2a0..c8bf973492ef 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -1304,7 +1304,7 @@ void DomainMapper_Impl::appendTextContent(
void DomainMapper_Impl::appendOLE( const OUString& rStreamName, OLEHandlerPtr pOLEHandler )
{
- static const OUString sEmbeddedService("com.sun.star.text.TextEmbeddedObject");
+ static const char sEmbeddedService[] = "com.sun.star.text.TextEmbeddedObject";
try
{
uno::Reference< text::XTextContent > xOLE( m_xTextFactory->createInstance(sEmbeddedService), uno::UNO_QUERY_THROW );
@@ -1375,7 +1375,7 @@ void DomainMapper_Impl::appendStarMath( const Value& val )
val.getAny() >>= formula;
if( formula.is() )
{
- static const OUString sEmbeddedService("com.sun.star.text.TextEmbeddedObject");
+ static const char sEmbeddedService[] = "com.sun.star.text.TextEmbeddedObject";
try
{
uno::Reference< text::XTextContent > xStarMath( m_xTextFactory->createInstance(sEmbeddedService), uno::UNO_QUERY_THROW );
@@ -1426,7 +1426,7 @@ uno::Reference< beans::XPropertySet > DomainMapper_Impl::appendTextSectionAfter(
xCursor->gotoEnd( true );
//the paragraph after this new section is already inserted
xCursor->goLeft(1, true);
- static const OUString sSectionService("com.sun.star.text.TextSection");
+ static const char sSectionService[] = "com.sun.star.text.TextSection";
uno::Reference< text::XTextContent > xSection( m_xTextFactory->createInstance(sSectionService), uno::UNO_QUERY_THROW );
xSection->attach( uno::Reference< text::XTextRange >( xCursor, uno::UNO_QUERY_THROW) );
xRet = uno::Reference< beans::XPropertySet > (xSection, uno::UNO_QUERY );
@@ -4364,7 +4364,7 @@ void DomainMapper_Impl::AddBookmark( const OUString& rBookmarkName, const OUStri
{
if( aBookmarkIter != m_aBookmarkMap.end() )
{
- static const OUString sBookmarkService("com.sun.star.text.Bookmark");
+ static const char sBookmarkService[] = "com.sun.star.text.Bookmark";
if (m_xTextFactory.is())
{
uno::Reference< text::XTextContent > xBookmark( m_xTextFactory->createInstance( sBookmarkService ), uno::UNO_QUERY_THROW );