summaryrefslogtreecommitdiff
path: root/sw/inc/textboxhelper.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-05-27 09:07:06 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-05-27 09:32:45 +0200
commit0f884b27fde424990c1a9c2254258dba8b7efa24 (patch)
tree6995299a12a6e203148eef1c334b4d5a1aa8aeda /sw/inc/textboxhelper.hxx
parent4721729fba32a02683ecc930b630491599f8c6c5 (diff)
let SwTextBoxHelper::findTextBoxes() take a const SwDoc
Change-Id: Icb1540b93f4117999b755d4d5fd387f1228250aa
Diffstat (limited to 'sw/inc/textboxhelper.hxx')
-rw-r--r--sw/inc/textboxhelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/textboxhelper.hxx b/sw/inc/textboxhelper.hxx
index d3532c068c61..28f8d71125ed 100644
--- a/sw/inc/textboxhelper.hxx
+++ b/sw/inc/textboxhelper.hxx
@@ -41,7 +41,7 @@ public:
static SwFrmFmt* findTextBox(SwFrmFmt* pShape);
/// Look up TextFrames in a document, which are in fact TextBoxes.
- static std::list<SwFrmFmt*> findTextBoxes(SwDoc* pDoc);
+ static std::list<SwFrmFmt*> findTextBoxes(const SwDoc* pDoc);
/// Count number of shapes in the document, excluding TextBoxes.
static sal_Int32 getCount(SdrPage* pPage, std::list<SwFrmFmt*>& rTextBoxes);
/// Get a shape by index, excluding TextBoxes.