summaryrefslogtreecommitdiff
path: root/sc/inc/postit.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /sc/inc/postit.hxx
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'sc/inc/postit.hxx')
-rw-r--r--sc/inc/postit.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx
index 88ae564d5b20..c6907dca39c4 100644
--- a/sc/inc/postit.hxx
+++ b/sc/inc/postit.hxx
@@ -43,8 +43,8 @@ struct SC_DLLPUBLIC ScNoteData
{
typedef ::boost::shared_ptr< ScCaptionInitData > ScCaptionInitDataRef;
- ::rtl::OUString maDate; /// Creation date of the note.
- ::rtl::OUString maAuthor; /// Author of the note.
+ OUString maDate; /// Creation date of the note.
+ OUString maAuthor; /// Author of the note.
ScCaptionInitDataRef mxInitData; /// Initial data for invisible notes without SdrObject.
SdrCaptionObj* mpCaption; /// Drawing object representing the cell note.
bool mbShown; /// True = note is visible.
@@ -102,14 +102,14 @@ public:
inline const ScNoteData& GetNoteData() const { return maNoteData; }
/** Returns the creation date of this note. */
- inline const ::rtl::OUString& GetDate() const { return maNoteData.maDate; }
+ inline const OUString& GetDate() const { return maNoteData.maDate; }
/** Sets a new creation date for this note. */
- inline void SetDate( const ::rtl::OUString& rDate ) { maNoteData.maDate = rDate; }
+ inline void SetDate( const OUString& rDate ) { maNoteData.maDate = rDate; }
/** Returns the author date of this note. */
- inline const ::rtl::OUString& GetAuthor() const { return maNoteData.maAuthor; }
+ inline const OUString& GetAuthor() const { return maNoteData.maAuthor; }
/** Sets a new author date for this note. */
- inline void SetAuthor( const ::rtl::OUString& rAuthor ) { maNoteData.maAuthor = rAuthor; }
+ inline void SetAuthor( const OUString& rAuthor ) { maNoteData.maAuthor = rAuthor; }
/** Sets date and author from system settings. */
void AutoStamp();
@@ -120,9 +120,9 @@ public:
const EditTextObject* GetEditTextObject() const;
/** Returns the caption text of this note. */
- ::rtl::OUString GetText() const;
+ OUString GetText() const;
/** Changes the caption text of this note. All text formatting will be lost. */
- void SetText( const ScAddress& rPos, const ::rtl::OUString& rText );
+ void SetText( const ScAddress& rPos, const OUString& rText );
/** Returns an existing note caption object. returns null, if the note
contains initial caption data needed to construct a caption object. */
@@ -170,7 +170,7 @@ public:
/** Creates and returns a caption object for a temporary caption. */
static SdrCaptionObj* CreateTempCaption( ScDocument& rDoc, const ScAddress& rPos,
- SdrPage& rDrawPage, const ::rtl::OUString& rUserText,
+ SdrPage& rDrawPage, const OUString& rUserText,
const Rectangle& rVisRect, bool bTailFront );
/** Creates a cell note using the passed caption drawing object.
@@ -246,7 +246,7 @@ public:
*/
static ScPostIt* CreateNoteFromString(
ScDocument& rDoc, const ScAddress& rPos,
- const ::rtl::OUString& rNoteText, bool bShown,
+ const OUString& rNoteText, bool bShown,
bool bAlwaysCreateCaption );
};