summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-11 09:49:40 +0200
committerNoel Grandin <noel@peralex.com>2013-10-15 12:25:38 +0200
commitd90e15400df5beabc7704e7c23f36834c011bc96 (patch)
tree57873f88942f73a5047ee3fc30c2b9a4b0d9e7aa /sw/inc
parent84a36663052a0089516aa0eeae18811317f78cd7 (diff)
convert sw/inc/docsh.hxx from String to OUString
and remove a dead method definition Change-Id: I8b07d5143d6e6eaa260cd312f7a7907738a5a7a8
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/docsh.hxx32
1 files changed, 14 insertions, 18 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 25b0808c122c..333d6db26af5 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -107,8 +107,8 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener
// Only used for nFamily == SFX_STYLE_FAMILY_PAGE. Identifies optional Slot by which the edit is triggered.
// Used to activate certain dialog pane
SW_DLLPRIVATE sal_uInt16 Edit(
- const String &rName,
- const String& rParent,
+ const OUString &rName,
+ const OUString& rParent,
const sal_uInt16 nFamily,
sal_uInt16 nMask,
const sal_Bool bNew,
@@ -116,14 +116,14 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener
SwWrtShell* pActShell = 0,
const sal_Bool bBasic = sal_False );
- SW_DLLPRIVATE sal_uInt16 Delete(const String &rName, sal_uInt16 nFamily);
- SW_DLLPRIVATE sal_uInt16 Hide(const String &rName, sal_uInt16 nFamily, bool bHidden);
- SW_DLLPRIVATE sal_uInt16 ApplyStyles(const String &rName, sal_uInt16 nFamily, SwWrtShell* pShell = 0,
- sal_uInt16 nMode = 0 );
- SW_DLLPRIVATE sal_uInt16 DoWaterCan( const String &rName, sal_uInt16 nFamily);
- SW_DLLPRIVATE sal_uInt16 UpdateStyle(const String &rName, sal_uInt16 nFamily, SwWrtShell* pShell = 0);
- SW_DLLPRIVATE sal_uInt16 MakeByExample(const String &rName,
- sal_uInt16 nFamily, sal_uInt16 nMask, SwWrtShell* pShell = 0);
+ SW_DLLPRIVATE sal_uInt16 Delete(const OUString &rName, sal_uInt16 nFamily);
+ SW_DLLPRIVATE sal_uInt16 Hide(const OUString &rName, sal_uInt16 nFamily, bool bHidden);
+ SW_DLLPRIVATE sal_uInt16 ApplyStyles(const OUString &rName, sal_uInt16 nFamily, SwWrtShell* pShell = 0,
+ sal_uInt16 nMode = 0 );
+ SW_DLLPRIVATE sal_uInt16 DoWaterCan( const OUString &rName, sal_uInt16 nFamily);
+ SW_DLLPRIVATE sal_uInt16 UpdateStyle(const OUString &rName, sal_uInt16 nFamily, SwWrtShell* pShell = 0);
+ SW_DLLPRIVATE sal_uInt16 MakeByExample(const OUString &rName,
+ sal_uInt16 nFamily, sal_uInt16 nMask, SwWrtShell* pShell = 0);
SW_DLLPRIVATE void InitDraw();
SW_DLLPRIVATE void SubInitNew(); ///< for InitNew and HtmlSourceMode.
@@ -131,7 +131,7 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener
SW_DLLPRIVATE void RemoveOLEObjects();
SW_DLLPRIVATE void CalcLayoutForOLEObjects();
- SW_DLLPRIVATE void Init_Impl();
+ SW_DLLPRIVATE void Init_Impl();
SW_DLLPRIVATE DECL_STATIC_LINK( SwDocShell, IsLoadFinished, void* );
@@ -241,7 +241,7 @@ public:
// @param nSlot
// Identifies slot by which the dialog is triggered. Used to activate certain dialog pane
void FormatPage(
- const String& rPage,
+ const OUString& rPage,
const OString& rPageId,
SwWrtShell& rActShell );
@@ -256,7 +256,7 @@ public:
virtual void CancelTransfers();
/// Re-read Doc from Html-source.
- void ReloadFromHtml( const String& rStreamName, SwSrcView* pSrcView );
+ void ReloadFromHtml( const OUString& rStreamName, SwSrcView* pSrcView );
sal_Int16 GetUpdateDocMode() const {return nUpdateDocMode;}
@@ -268,7 +268,7 @@ public:
void ToggleBrowserMode(sal_Bool bOn, SwView* pView);
- sal_uLong LoadStylesFromFile( const String& rURL, SwgReaderOption& rOpt,
+ sal_uLong LoadStylesFromFile( const OUString& rURL, SwgReaderOption& rOpt,
sal_Bool bUnoCall );
void InvalidateModel();
void ReactivateModel();
@@ -302,10 +302,6 @@ public:
virtual bool GetProtectionHash( /*out*/ ::com::sun::star::uno::Sequence< sal_Int8 > &rPasswordHash );
};
-class Graphic;
- /// implemented in source/ui/docvw/romenu.cxx
-String ExportGraphic( const Graphic &rGraphic, const String &rGrfName );
-
/** Find the right DocShell and create a new one:
The return value specifies what should happen to the Shell
0 - Error, could not find the DocShell