summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-13 13:12:33 +0200
committerNoel Grandin <noel@peralex.com>2014-03-13 13:13:38 +0200
commit41776e53c54968881021c25f1173d190cfd2ba5d (patch)
tree82a10d8f6b237879bde8acdc38e0f9e07bbfb87e /include/svx
parentd575b23c187fb66bbe13c4fe6df8a8cb1ccbc135 (diff)
svtools,svx: prefer passing OUString and OString by reference
Change-Id: Iceb2cbcda9d8ddb4ee00db9365c751e0e5d8b3a6
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/DescriptionGenerator.hxx2
-rw-r--r--include/svx/nbdtmg.hxx4
-rw-r--r--include/svx/svxdlg.hxx8
-rw-r--r--include/svx/xmleohlp.hxx2
4 files changed, 8 insertions, 8 deletions
diff --git a/include/svx/DescriptionGenerator.hxx b/include/svx/DescriptionGenerator.hxx
index a1eb17b01d9f..0cf5593d5384 100644
--- a/include/svx/DescriptionGenerator.hxx
+++ b/include/svx/DescriptionGenerator.hxx
@@ -64,7 +64,7 @@ public:
An introductory description of the shape that is made more
specific by later calls to <member>addProperty</member>.
*/
- void Initialize (OUString sPrefix);
+ void Initialize (const OUString& sPrefix);
/** Initialize the description with the specified string from the
resource followed by the shape's style in parantheses and a colon.
diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx
index 189dc053ae43..c82c65ce05ab 100644
--- a/include/svx/nbdtmg.hxx
+++ b/include/svx/nbdtmg.hxx
@@ -234,8 +234,8 @@ class SVX_DLLPUBLIC NBOTypeMgrBase
SfxMapUnit GetMapUnit();
protected:
bool bIsLoading;
- void ImplLoad(OUString filename);
- void ImplStore(OUString filename);
+ void ImplLoad(const OUString& filename);
+ void ImplStore(const OUString& filename);
};
diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx
index 8c5fce0d8807..e5cd519f60d4 100644
--- a/include/svx/svxdlg.hxx
+++ b/include/svx/svxdlg.hxx
@@ -132,10 +132,10 @@ public:
class AbstractSvxHlinkDlgMarkWnd :public VclAbstractDialog
{
public:
- virtual bool MoveTo ( Point aNewPos )const = 0;
- virtual bool ConnectToDialog( bool bDoit = true )const = 0;
- virtual void RefreshTree ( OUString aStrURL ) = 0;
- virtual void SelectEntry ( OUString aStrMark ) = 0;
+ virtual bool MoveTo ( Point aNewPos ) const = 0;
+ virtual bool ConnectToDialog( bool bDoit = true ) const = 0;
+ virtual void RefreshTree ( const OUString& aStrURL ) = 0;
+ virtual void SelectEntry ( const OUString& aStrMark ) = 0;
virtual sal_uInt16 SetError( sal_uInt16 nError) = 0;
// in class Window
virtual void SetSizePixel( const Size& rNewSize ) = 0;
diff --git a/include/svx/xmleohlp.hxx b/include/svx/xmleohlp.hxx
index 2773d8ef3260..27951556a9a3 100644
--- a/include/svx/xmleohlp.hxx
+++ b/include/svx/xmleohlp.hxx
@@ -137,7 +137,7 @@ public:
virtual sal_Bool SAL_CALL hasElements( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
- static void splitObjectURL(OUString aURLNoPar,
+ static void splitObjectURL(const OUString& aURLNoPar,
OUString& rContainerStorageName,
OUString& rObjectStorageName);
};