]> git.lyx.org Git - features.git/commitdiff
Hadn't see this empty_docstring() thing before. Very useful.
authorRichard Heck <rgheck@comcast.net>
Wed, 17 Nov 2010 22:11:33 +0000 (22:11 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 17 Nov 2010 22:11:33 +0000 (22:11 +0000)
Add a comment to strfwd.h.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36355 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetText.h
src/support/strfwd.h

index 35904398a89960510e4e358f3de65da092351eec..3c242fd4f9a75f2e51d1ae7aadb7007f98a8aad9 100644 (file)
@@ -193,7 +193,7 @@ public:
        /// returns the text to be used as tooltip
        /// \param prefix: a string that will preced the tooltip,
        /// e.g., "Index: ".
-       docstring toolTipText(docstring prefix = from_ascii("")) const;
+       docstring toolTipText(docstring prefix = empty_docstring()) const;
 
        ///
        virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
index fcd97f5685e433094419f17bb88267873e662d43..069357ff9cbdd5258e3b4b1927c5dbe77926e765 100644 (file)
@@ -67,8 +67,10 @@ typedef std::basic_ostream<char_type, std::char_traits<char_type> > odocstream;
 extern odocstream & operator<<(odocstream &, char);
 #endif
 
+// defined in lstrings.cpp
 docstring const & empty_docstring();
 std::string const & empty_string();
+// defined in docstring.cpp
 bool operator==(docstring const &, char const *);
 
 } // namespace lyx