diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-05-15 14:41:47 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-05-15 14:43:01 +0200 |
commit | d84b22e9a8d8b804f3c87405887aeb56e82a4219 (patch) | |
tree | 4e6cd7d782ce503445c2d6cd633dc80a690b0881 /drawinglayer/source/dumper | |
parent | c066e7a3f92bac3a6744cae9e091778a3a1c0586 (diff) |
sd unittests: Do not dump the font name, depends on installed fonts.
Change-Id: Id401feed7d629cbc0c24428b0c1273afdb31be89
Diffstat (limited to 'drawinglayer/source/dumper')
-rw-r--r-- | drawinglayer/source/dumper/XShapeDumper.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx index d3f50abf302d..d61dfc33ca26 100644 --- a/drawinglayer/source/dumper/XShapeDumper.cxx +++ b/drawinglayer/source/dumper/XShapeDumper.cxx @@ -85,7 +85,6 @@ void dumpPolyPolygonAsElement(com::sun::star::drawing::PointSequenceSequence aPo void dumpGeometryAsElement(com::sun::star::drawing::PointSequenceSequence aGeometry, xmlTextWriterPtr xmlWriter); // CharacterProperties.idl -void dumpCharFontNameAsAttribute(OUString aCharFontName, xmlTextWriterPtr xmlWriter); void dumpCharHeightAsAttribute(float fHeight, xmlTextWriterPtr xmlWriter); void dumpCharColorAsAttribute(sal_Int32 aColor, xmlTextWriterPtr xmlWriter); @@ -685,11 +684,6 @@ void dumpGeometryAsElement(drawing::PointSequenceSequence aGeometry, xmlTextWrit } // CharacterProperties.idl -void dumpCharFontNameAsAttribute(OUString aCharFontName, xmlTextWriterPtr xmlWriter) -{ - xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("fontName"), "%s", OUStringToOString( aCharFontName, RTL_TEXTENCODING_UTF8 ).getStr() ); -} - void dumpCharHeightAsAttribute(float fHeight, xmlTextWriterPtr xmlWriter) { xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("fontHeight"), "%f", fHeight ); @@ -1145,13 +1139,6 @@ void dumpCustomShapeReplacementURLAsAttribute(OUString sCustomShapeReplacementUR void dumpTextPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter) { uno::Reference< beans::XPropertySetInfo> xInfo = xPropSet->getPropertySetInfo(); - if(xInfo->hasPropertyByName("CharFontName")) - { - uno::Any anotherAny = xPropSet->getPropertyValue("CharFontName"); - OUString aCharFontName; - if(anotherAny >>= aCharFontName) - dumpCharFontNameAsAttribute(aCharFontName, xmlWriter); - } if(xInfo->hasPropertyByName("CharHeight")) { uno::Any anotherAny = xPropSet->getPropertyValue("CharHeight"); |