summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdoashp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdoashp.cxx')
-rw-r--r--svx/source/svdraw/svdoashp.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx
index 20744f2bfa2b..314b4ba319c6 100644
--- a/svx/source/svdraw/svdoashp.cxx
+++ b/svx/source/svdraw/svdoashp.cxx
@@ -3147,29 +3147,24 @@ sdr::contact::ViewContact* SdrObjCustomShape::CreateObjectSpecificViewContact()
bool SdrObjCustomShape::doConstructOrthogonal(const OUString& rName)
{
bool bRetval(false);
- static const char Imps_sNameASOrtho_quadrat[] = "quadrat";
- static const char Imps_sNameASOrtho_round_quadrat[] = "round-quadrat";
- static const char Imps_sNameASOrtho_circle[] = "circle";
- static const char Imps_sNameASOrtho_circle_pie[] = "circle-pie";
- static const char Imps_sNameASOrtho_ring[] = "ring";
- if(rName.equalsIgnoreAsciiCase(Imps_sNameASOrtho_quadrat))
+ if(rName.equalsIgnoreAsciiCase("quadrat"))
{
bRetval = true;
}
- else if(rName.equalsIgnoreAsciiCase(Imps_sNameASOrtho_round_quadrat))
+ else if(rName.equalsIgnoreAsciiCase("round-quadrat"))
{
bRetval = true;
}
- else if(rName.equalsIgnoreAsciiCase(Imps_sNameASOrtho_circle))
+ else if(rName.equalsIgnoreAsciiCase("circle"))
{
bRetval = true;
}
- else if(rName.equalsIgnoreAsciiCase(Imps_sNameASOrtho_circle_pie))
+ else if(rName.equalsIgnoreAsciiCase("circle-pie"))
{
bRetval = true;
}
- else if(rName.equalsIgnoreAsciiCase(Imps_sNameASOrtho_ring))
+ else if(rName.equalsIgnoreAsciiCase("ring"))
{
bRetval = true;
}