[Libreoffice-commits] .: sw/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Mon Jul 11 12:06:35 PDT 2011
sw/source/filter/ww8/rtfsdrexport.cxx | 7 -------
sw/source/filter/ww8/rtfsdrexport.hxx | 6 ------
2 files changed, 13 deletions(-)
New commits:
commit 22073ad218d9c4f16c9a901fe19a9b05b1931a58
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Mon Jul 11 16:38:13 2011 +0200
Remove unused RtfSdrExport::AddShapeAttribute
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx
index ec3fc76..a5410bd 100644
--- a/sw/source/filter/ww8/rtfsdrexport.cxx
+++ b/sw/source/filter/ww8/rtfsdrexport.cxx
@@ -441,13 +441,6 @@ void RtfSdrExport::AddRectangleDimensions( rtl::OStringBuffer& rBuffer, const Re
rBuffer.append(OOO_STRING_SVTOOLS_RTF_SHPBOTTOM).append(rRectangle.Bottom());
}
-void RtfSdrExport::AddShapeAttribute( sal_Int32 /*nAttribute*/, const rtl::OString& /*rValue*/ )
-{
- OSL_TRACE("%s", OSL_THIS_FUNC);
-
- /* noop */
-}
-
extern const char* pShapeTypes[];
void lcl_AppendSP( ::rtl::OStringBuffer& rRunText, const char cName[], const ::rtl::OString& rValue)
diff --git a/sw/source/filter/ww8/rtfsdrexport.hxx b/sw/source/filter/ww8/rtfsdrexport.hxx
index f461357..5834a23 100644
--- a/sw/source/filter/ww8/rtfsdrexport.hxx
+++ b/sw/source/filter/ww8/rtfsdrexport.hxx
@@ -72,12 +72,6 @@ public:
sal_uInt32 AddSdrObject( const SdrObject& rObj );
protected:
- /// Add an attribute to the generated shape element.
- ///
- /// This should be called from within StartShape() to ensure that the
- /// added attribute is preserved.
- void AddShapeAttribute( sal_Int32 nAttribute, const rtl::OString& sValue );
-
/// Start the shape for which we just collected the information.
///
/// Returns the element's tag number, -1 means we wrote nothing.
More information about the Libreoffice-commits
mailing list