From 3347f41a9b13c317c1d001e7ff501a4b0ee8f896 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 23 Oct 2013 13:17:00 -0400 Subject: Avoid exposing the internal cell note storage outside ScDocument. Let's try to avoid including mtvelements.hxx in document.hxx... mtvelements.hxx is very parser-heavy, and document.hxx is included everywhere... Change-Id: I2768ba6e25f8ff10f61f9cfd4a7cbc4844230630 --- sc/inc/postit.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sc/inc/postit.hxx') diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index 9a7c60a2d5ea..d31dcfd2b032 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -244,5 +244,17 @@ public: }; +namespace sc { + +struct NoteEntry +{ + ScAddress maPos; + const ScPostIt* mpNote; + + NoteEntry( const ScAddress& rPos, const ScPostIt* pNote ); +}; + +} + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit