summaryrefslogtreecommitdiffstats
path: root/svx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-08-26 17:15:19 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-08-26 17:15:19 +0100
commiteb9531f9c01b5e3a823103c41bbb34905847b0bf (patch)
tree72d2e9fc595fe78eaf292836a7cd30c1aa89db79 /svx
parentadd a helper class to do path resolution (diff)
downloadcore-eb9531f9c01b5e3a823103c41bbb34905847b0bf.tar.gz
core-eb9531f9c01b5e3a823103c41bbb34905847b0bf.zip
misc. comment cleanup, and non-exporting of symbols not used externally
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/XPropertyTable.hxx14
-rw-r--r--svx/inc/svx/svdmodel.hxx5
-rw-r--r--svx/inc/svx/xtable.hxx2
-rw-r--r--svx/source/xml/xmlxtexp.cxx2
4 files changed, 12 insertions, 11 deletions
diff --git a/svx/inc/svx/XPropertyTable.hxx b/svx/inc/svx/XPropertyTable.hxx
index 691784ad51c7..d348f89bc705 100644
--- a/svx/inc/svx/XPropertyTable.hxx
+++ b/svx/inc/svx/XPropertyTable.hxx
@@ -33,12 +33,14 @@
#include "svx/svxdllapi.h"
#include <svx/xtable.hxx>
-SVX_DLLPUBLIC ::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXColorTable_createInstance( XPropertyTable* pTable ) throw();
-SVX_DLLPUBLIC ::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXLineEndTable_createInstance( XPropertyList* pList ) throw();
-SVX_DLLPUBLIC ::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXDashTable_createInstance( XPropertyList* pList ) throw();
-SVX_DLLPUBLIC ::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXHatchTable_createInstance( XPropertyList* pList ) throw();
-SVX_DLLPUBLIC ::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXGradientTable_createInstance( XPropertyList* pList ) throw();
-SVX_DLLPUBLIC ::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXBitmapTable_createInstance( XPropertyList* pList ) throw();
+// FIXME: should have a single factory method with an enumeration here [!]
+
+::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXColorTable_createInstance( XPropertyTable* pTable ) throw();
+::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXLineEndTable_createInstance( XPropertyList* pList ) throw();
+::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXDashTable_createInstance( XPropertyList* pList ) throw();
+::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXHatchTable_createInstance( XPropertyList* pList ) throw();
+::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXGradientTable_createInstance( XPropertyList* pList ) throw();
+::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL SvxUnoXBitmapTable_createInstance( XPropertyList* pList ) throw();
#endif
diff --git a/svx/inc/svx/svdmodel.hxx b/svx/inc/svx/svdmodel.hxx
index 01e2bd87d521..e512e4531015 100644
--- a/svx/inc/svx/svdmodel.hxx
+++ b/svx/inc/svx/svdmodel.hxx
@@ -645,7 +645,8 @@ public:
void SetIOProgressHdl(const Link& rLink) { aIOProgressLink=rLink; }
const Link& GetIOProgressHdl() const { return aIOProgressLink; }
- // Zugriffsmethoden fuer Paletten, Listen und Tabellen
+ // Accessor methods for Palettes, Lists and Tabeles
+ // FIXME: this badly needs re-factoring ...
void SetColorTable(XColorTable* pTable) { pColorTable=pTable; }
XColorTable* GetColorTable() const { return pColorTable; }
void SetDashList(XDashList* pList) { pDashList=pList; }
@@ -755,7 +756,7 @@ typedef tools::WeakReference< SdrModel > SdrModelWeakRef;
+---+---+ +---+---+ +----+----+ +----+----+ +-----+------+ +------+-----+
|SdrObj | |SdrObj | |SdrLayer | |SdrLayer | |SdrLayerSet | |SdrLayerSet |
+-------+ +-------+ +---------+ +---------+ +------------+ +------------+
-Die Klasse SdrModel ist der Kopf des Datenmodells der StarView Drawing-Engine.
+This class: SdrModel is the head of the data modells for the StarView Drawing Engine.
///////////////////////////////////////////////////////////////////////////////////////////////// */
diff --git a/svx/inc/svx/xtable.hxx b/svx/inc/svx/xtable.hxx
index d465dee48108..1b7f49397be6 100644
--- a/svx/inc/svx/xtable.hxx
+++ b/svx/inc/svx/xtable.hxx
@@ -249,7 +249,7 @@ typedef ::std::vector< Bitmap* > BitmapList_impl;
class SVX_DLLPUBLIC XPropertyList
{
protected:
- String aName; // nicht persistent !
+ String aName; // not persistent
String aPath;
XOutdevItemPool* pXPool;
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index bc5d4447bc4e..c1704845922c 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -250,8 +250,6 @@ sal_Bool SvxXMLXTableExportComponent::save( const OUString& rURL, const uno::Ref
const OUString aName;
- // #110680#
- // SvxXMLXTableExportComponent aExporter( aName, xHandler, xTable, xGrfResolver );
SvxXMLXTableExportComponent aExporter( xServiceFactory, aName, xHandler, xTable, xGrfResolver );
bRet = aExporter.exportTable();