summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-07-11 16:38:13 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2011-07-11 17:53:35 +0200
commit007c678148b7fb0ed780a9c6b113630f4ee56719 (patch)
tree22feb14356fdae2c8d416e6cc1bd3a75c4172351 /sw
parentc5afaf4efceb52701b1653cdde3c0cb2ff915811 (diff)
Remove unused RtfSdrExport::AddShapeAttribute
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/rtfsdrexport.cxx7
-rw-r--r--sw/source/filter/ww8/rtfsdrexport.hxx6
2 files changed, 0 insertions, 13 deletions
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx
index 99a166196d09..4f6eeba1dd70 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 f461357e5c61..5834a238561c 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.