diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-08-15 17:42:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-16 18:22:39 +0200 |
commit | b9a45cca8a0014d975f6e3d16c94cfe08c52a8bb (patch) | |
tree | 36146c78a412a40eb5a246b7f590450911d3ee4a /sw/inc | |
parent | b2702d56437b7bf8f061259a063371529b7881ec (diff) |
pass sal_Int32 to DontExpandormat
instead of SwContentIndex.
Part of the process of hiding the implementation of SwPosition.
Change-Id: I69d2a92093109b52b21c558f8ea8e3ae486fe1ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138319
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/ndtxt.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index f9da070ae25e..8715f0e7e98e 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -366,7 +366,7 @@ public: SwContentNode *AppendNode( const SwPosition & ); /// When appropriate set DontExpand-flag at INet or character styles respectively. - bool DontExpandFormat( const SwContentIndex& rIdx, bool bFlag = true, + bool DontExpandFormat( sal_Int32 nContentIdx, bool bFlag = true, bool bFormatToTextAttributes = true ); enum GetTextAttrMode { |