summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-05 16:28:32 +0200
committerNoel Grandin <noel@peralex.com>2014-12-08 14:13:17 +0200
commit2979ff295c9fafdb92cb56cd1f5ddb0a6b56cf20 (patch)
treeb2088ed0b437f8181af5bdce70fd0d7ef27ea8e0 /writerfilter
parenteae0dda3e2eddb55b4e2032136541c15ba87fa09 (diff)
fdo#38835 strip out OUString globals
Change-Id: I1a435214af102461e02217f7d95248dac14e5f1a
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfsdrimport.cxx8
1 files changed, 4 insertions, 4 deletions
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>();
+ table::BorderLine2 aBorderLine = xPropertySet->getPropertyValue(OUString::createFromAscii(aBorders[i])).get<table::BorderLine2>();
aBorderLine.Color = aLineColor.get<sal_Int32>();
aBorderLine.LineWidth = aLineWidth.get<sal_Int32>();
- xPropertySet->setPropertyValue(aBorders[i], uno::makeAny(aBorderLine));
+ xPropertySet->setPropertyValue(OUString::createFromAscii(aBorders[i]), uno::makeAny(aBorderLine));
}
}
if (rShape.oZ)