summaryrefslogtreecommitdiff
path: root/sd/source/filter/eppt/epptso.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 14:39:22 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 17:43:19 +0100
commitb5ef7455a6f1cf608501e4360be7ea54ff13feb2 (patch)
tree735af86418a0b315ddbe2d95c5ea04cf07840db7 /sd/source/filter/eppt/epptso.cxx
parent1e6cb9302d6ab3341d8102fc84f37e1149b27985 (diff)
Extended loplugin:ostr: sd
Change-Id: If78b217698bd63895c6466744495ee22be8debc6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160102 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'sd/source/filter/eppt/epptso.cxx')
-rw-r--r--sd/source/filter/eppt/epptso.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index e794d9600e06..e6923533c92d 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -1711,7 +1711,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
{
// We can't map this custom shape to a PPT preset and it has a bitmap
// fill. Make sure that at least the bitmap fill is not lost.
- mType = "drawing.GraphicObject";
+ mType = "drawing.GraphicObject"_ostr;
aGraphicPropertyName = "Bitmap";
}
}
@@ -1725,7 +1725,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
maSize = MapSize( css::awt::Size( aRect->Width, aRect->Height ) );
maRect = ::tools::Rectangle( Point( maPosition.X, maPosition.Y ), Size( maSize.Width, maSize.Height ) );
}
- mType = "drawing.dontknow";
+ mType = "drawing.dontknow"_ostr;
}
}
sal_uInt8 nPlaceHolderAtom = EPP_PLACEHOLDER_NONE;
@@ -2354,7 +2354,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
}
if ( !mbPresObj )
{
- mType = "drawing.Text";
+ mType = "drawing.Text"_ostr;
ImplCreateTextShape( aPropOpt, aSolverContainer, true );
}
}
@@ -2464,7 +2464,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
continue;
}
- mType = "drawing.Text";
+ mType = "drawing.Text"_ostr;
ImplCreateTextShape( aPropOpt, aSolverContainer, true );
}
}
@@ -2565,7 +2565,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
else
{
mbPresObj = false;
- mType = "drawing.Text";
+ mType = "drawing.Text"_ostr;
ImplCreateTextShape( aPropOpt, aSolverContainer, true );
}
}
@@ -2576,7 +2576,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
else
{
mbPresObj = false;
- mType = "drawing.Text";
+ mType = "drawing.Text"_ostr;
ImplCreateTextShape( aPropOpt, aSolverContainer, true );
}
}
@@ -2587,7 +2587,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
else
{
mbPresObj = false;
- mType = "drawing.Text";
+ mType = "drawing.Text"_ostr;
ImplCreateTextShape( aPropOpt, aSolverContainer, true );
}
}
@@ -2598,7 +2598,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
else
{
mbPresObj = false;
- mType = "drawing.Text";
+ mType = "drawing.Text"_ostr;
ImplCreateTextShape( aPropOpt, aSolverContainer, true );
}
}