summaryrefslogtreecommitdiff
path: root/sw/inc/textboxhelper.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-08-15 15:33:11 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-08-15 16:48:57 +0200
commit615d3e319c027b6ef656ff2358c5d2c3519d5440 (patch)
treedb84bad4d80ead8b4be3b30a4e1a733af5626ed4 /sw/inc/textboxhelper.hxx
parent174e6796dfc910dc4b95673fcf9ec0704967acfd (diff)
SwTextBoxHelper::findTextBox: take a const SwFrmFmt
Change-Id: I531a5864f61ab6c9bfcfc44f7fcacef58ad78489
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 f2aab3bb2b41..d27fa6627b37 100644
--- a/sw/inc/textboxhelper.hxx
+++ b/sw/inc/textboxhelper.hxx
@@ -61,7 +61,7 @@ public:
static void syncFlyFrmAttr(SwFrmFmt& rShape, SfxItemSet& rSet);
/// If we have an associated TextFrame, then return that.
- static SwFrmFmt* findTextBox(SwFrmFmt* pShape);
+ static SwFrmFmt* findTextBox(const SwFrmFmt* pShape);
static SwFrmFmt* findTextBox(css::uno::Reference<css::drawing::XShape> xShape);
/// Return the textbox rectangle of a draw shape (in twips).
static Rectangle getTextRectangle(SwFrmFmt* pShape, bool bAbsolute = true);