summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-25 18:56:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-27 10:10:52 +0200
commitf3049f68584811bb897873f35e0c302898af2d31 (patch)
treeb77f8bee3f733b8f2565a64276e33387576a26ac /sc/inc
parent28fc0962b10519ab84654d189d2ad0cca8f84f95 (diff)
loplugin:constantparam
Change-Id: I966dcf87be021520e7cc394338b9c0574bb8afee Reviewed-on: https://gerrit.libreoffice.org/53541 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/postit.hxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx
index 46aa4b0745c6..09f8d77a18e4 100644
--- a/sc/inc/postit.hxx
+++ b/sc/inc/postit.hxx
@@ -329,12 +329,6 @@ public:
object. The rectangle may be empty, in this case the default
position and size is used.
- @param bAlwaysCreateCaption If sal_True is passed, the caption drawing
- object will be created immediately. If sal_False is passed, the caption
- drawing object will not be created if the note is not visible
- (bShown = sal_False), but the cell note will cache the passed data.
- MUST be set to sal_False outside of import filter implementations!
-
@return Pointer to the new cell note object if insertion was
successful (i.e. the passed cell position was valid), null
otherwise. The Calc document is the owner of the note object.
@@ -342,8 +336,7 @@ public:
static ScPostIt* CreateNoteFromObjectData(
ScDocument& rDoc, const ScAddress& rPos,
std::unique_ptr<SfxItemSet> pItemSet, OutlinerParaObject* pOutlinerObj,
- const tools::Rectangle& rCaptionRect, bool bShown,
- bool bAlwaysCreateCaption );
+ const tools::Rectangle& rCaptionRect, bool bShown );
/** Creates a cell note based on the passed string and inserts it into the
document.