summaryrefslogtreecommitdiff
path: root/sw/inc/unoparagraph.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-01-22 19:07:50 +0100
committerMichael Stahl <mst@openoffice.org>2010-01-22 19:07:50 +0100
commit35933081fda3551db61a81c9af5ac393fb5fc80e (patch)
treeb39dd0ed30321e84c87e59b6eebbed4ed97264eb /sw/inc/unoparagraph.hxx
parent85bd4fb7e1db9d02ab9801afcd7e45381ae6a787 (diff)
swunolocking1: fix regression:
SwXParagraphEnumeration constructor really needs the start node as a parameter because determining it from the cursor cannot work in nested tables.
Diffstat (limited to 'sw/inc/unoparagraph.hxx')
-rw-r--r--sw/inc/unoparagraph.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/inc/unoparagraph.hxx b/sw/inc/unoparagraph.hxx
index add936e9c702..8743737c338e 100644
--- a/sw/inc/unoparagraph.hxx
+++ b/sw/inc/unoparagraph.hxx
@@ -55,7 +55,9 @@
struct SwPosition;
class SwPaM;
class SwUnoCrsr;
+class SwStartNode;
class SwTxtNode;
+class SwTable;
class SwXText;
@@ -339,7 +341,9 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::text::XText >
const & xParent,
::std::auto_ptr<SwUnoCrsr> pCursor,
- const CursorType eType);
+ const CursorType eType,
+ SwStartNode const*const pStartNode = 0,
+ SwTable const*const pTable = 0);
// XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName()