[Libreoffice-commits] .: 2 commits - drawinglayer/source vcl/aqua
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Sun Jul 15 14:31:38 PDT 2012
drawinglayer/source/dumper/XShapeDumper.cxx | 36 ----------------------------
vcl/aqua/source/window/salframeview.mm | 1
2 files changed, 1 insertion(+), 36 deletions(-)
New commits:
commit 5e21857cd4f81ccf0c87a3f399adf29aac3a68d6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sun Jul 15 23:14:54 2012 +0200
-Werror,-Wunused-function
Change-Id: Ie0e37aae9be1c6fcf3f8c0b8d571dc3786f38205
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index 3c3d3f2..eca83e0 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -65,10 +65,8 @@ void dumpFillTransparenceGradientNameAsAttribute(rtl::OUString sTranspGradName,
void dumpFillTransparenceGradientAsElement(com::sun::star::awt::Gradient aTranspGrad, xmlTextWriterPtr xmlWriter);
void dumpFillGradientNameAsAttribute(rtl::OUString sGradName, xmlTextWriterPtr xmlWriter);
void dumpFillGradientAsElement(com::sun::star::awt::Gradient aGradient, xmlTextWriterPtr xmlWriter);
-void dumpFillHatchNameAsAttribute(rtl::OUString sHatchName, xmlTextWriterPtr xmlWriter);
void dumpFillHatchAsElement(com::sun::star::drawing::Hatch aHatch, xmlTextWriterPtr xmlWriter);
void dumpFillBackgroundAsAttribute(sal_Bool bBackground, xmlTextWriterPtr xmlWriter);
-void dumpFillBitmapNameAsAttribute(rtl::OUString sBitmapName, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapAsElement(com::sun::star::uno::Reference<com::sun::star::awt::XBitmap> xBitmap, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapURLAsAttribute(rtl::OUString sBitmapURL, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapPositionOffsetXAsAttribute(sal_Int32 aBitmapPositionOffsetX, xmlTextWriterPtr xmlWriter);
@@ -151,10 +149,6 @@ void dumpTransformationAsElement(com::sun::star::drawing::HomogenMatrix3 aTransf
void dumpNavigationOrderAsAttribute(sal_Int32 aNavigationOrder, xmlTextWriterPtr xmlWriter);
void dumpHyperlinkAsAttribute(rtl::OUString sHyperlink, xmlTextWriterPtr xmlWriter);
-// PolyPolygonBezierDescriptor.idl
-void dumpPolyPolygonBezierAsElement(com::sun::star::drawing::PolyPolygonBezierCoords aPolyPolygonBezier, xmlTextWriterPtr xmlWriter);
-void dumpGeometryAsElement(com::sun::star::drawing::PolyPolygonBezierCoords aGeometry, xmlTextWriterPtr xmlWriter);
-
// CustomShape.idl
void dumpCustomShapeEngineAsAttribute(rtl::OUString sCustomShapeEngine, xmlTextWriterPtr xmlWriter);
void dumpCustomShapeDataAsAttribute(rtl::OUString sCustomShapeData, xmlTextWriterPtr xmlWriter);
@@ -291,12 +285,6 @@ void dumpFillGradientAsElement(awt::Gradient aGradient, xmlTextWriterPtr xmlWrit
xmlTextWriterEndElement( xmlWriter );
}
-void dumpFillHatchNameAsAttribute(rtl::OUString sHatchName, xmlTextWriterPtr xmlWriter)
-{
- xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("fillHatchName"), "%s",
- rtl::OUStringToOString(sHatchName, RTL_TEXTENCODING_UTF8).getStr());
-}
-
void dumpFillHatchAsElement(drawing::Hatch aHatch, xmlTextWriterPtr xmlWriter)
{
xmlTextWriterStartElement(xmlWriter, BAD_CAST( "FillHatch" ));
@@ -328,12 +316,6 @@ void dumpFillBackgroundAsAttribute(sal_Bool bBackground, xmlTextWriterPtr xmlWri
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("fillBackground"), "%s", "false");
}
-void dumpFillBitmapNameAsAttribute(rtl::OUString sBitmapName, xmlTextWriterPtr xmlWriter)
-{
- xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("fillGradientName"), "%s",
- rtl::OUStringToOString(sBitmapName, RTL_TEXTENCODING_UTF8).getStr());
-}
-
void dumpFillBitmapAsElement(uno::Reference<awt::XBitmap> xBitmap, xmlTextWriterPtr xmlWriter)
{
xmlTextWriterStartElement(xmlWriter, BAD_CAST( "FillBitmap" ));
@@ -1096,24 +1078,6 @@ void dumpShapeDescriptorAsAttribute( uno::Reference< drawing::XShapeDescriptor >
rtl::OUStringToOString(xDescr->getShapeType(), RTL_TEXTENCODING_UTF8).getStr());
}
-// -----------------------------------------------------
-// ---------- PolyPolygonBezierDescriptor.idl ----------
-// -----------------------------------------------------
-
-void dumpPolyPolygonBezierAsElement(drawing::PolyPolygonBezierCoords aPolyPolygonBezier, xmlTextWriterPtr xmlWriter)
-{
- xmlTextWriterStartElement(xmlWriter, BAD_CAST( "PolyPolygonBezier" ));
- dumpPolyPolygonBezierCoords(aPolyPolygonBezier, xmlWriter);
- xmlTextWriterEndElement( xmlWriter );
-}
-
-void dumpGeometryAsElement(drawing::PolyPolygonBezierCoords aGeometry, xmlTextWriterPtr xmlWriter)
-{
- xmlTextWriterStartElement(xmlWriter, BAD_CAST( "Geometry" ));
- dumpPolyPolygonBezierCoords(aGeometry, xmlWriter);
- xmlTextWriterEndElement( xmlWriter );
-}
-
// -------------------------------------
// ---------- CustomShape.idl ----------
// -------------------------------------
commit 27b1aa88c00fc425f658aba8e64567f6d2bfbd0f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sun Jul 15 23:08:46 2012 +0200
#include "tools/helpers.hxx" for FRound
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm
index 02afa6c..7127bf0 100644
--- a/vcl/aqua/source/window/salframeview.mm
+++ b/vcl/aqua/source/window/salframeview.mm
@@ -30,6 +30,7 @@
#include <sal/alloca.h>
#include <sal/macros.h>
+#include "tools/helpers.hxx"
#include "vcl/window.hxx"
#include "vcl/svapp.hxx"
More information about the Libreoffice-commits
mailing list