From 2979ff295c9fafdb92cb56cd1f5ddb0a6b56cf20 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 5 Dec 2014 16:28:32 +0200 Subject: fdo#38835 strip out OUString globals Change-Id: I1a435214af102461e02217f7d95248dac14e5f1a --- writerfilter/source/rtftok/rtfsdrimport.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'writerfilter') diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx index 8c9f0efa3fe9..a9e742aabb71 100644 --- a/writerfilter/source/rtftok/rtfsdrimport.cxx +++ b/writerfilter/source/rtftok/rtfsdrimport.cxx @@ -757,16 +757,16 @@ void RTFSdrImport::resolve(RTFShape& rShape, bool bClose, ShapeOrPict const shap } else { - static const OUString aBorders[] = + static const char* aBorders[] = { - OUString("TopBorder"), OUString("LeftBorder"), OUString("BottomBorder"), OUString("RightBorder") + "TopBorder", "LeftBorder", "BottomBorder", "RightBorder" }; for (unsigned int i = 0; i < SAL_N_ELEMENTS(aBorders); ++i) { - table::BorderLine2 aBorderLine = xPropertySet->getPropertyValue(aBorders[i]).get(); + table::BorderLine2 aBorderLine = xPropertySet->getPropertyValue(OUString::createFromAscii(aBorders[i])).get(); aBorderLine.Color = aLineColor.get(); aBorderLine.LineWidth = aLineWidth.get(); - xPropertySet->setPropertyValue(aBorders[i], uno::makeAny(aBorderLine)); + xPropertySet->setPropertyValue(OUString::createFromAscii(aBorders[i]), uno::makeAny(aBorderLine)); } } if (rShape.oZ) -- cgit