summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-13 09:34:37 +0200
committerNoel Grandin <noel@peralex.com>2014-03-13 11:05:53 +0200
commit0dc38bdde056cf33a545d85f9e1211f06d579ff7 (patch)
tree311cb26b3dbafdee92fe96effecc205a7aee50df /sfx2/inc
parent3075b062261435d568d0680c3405ca61a7a40f39 (diff)
sfx2,svl: prefer passing OUString and OString by reference
Change-Id: I9833265f6e635a057cea2c4a945cc73809b1e2ef
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/guisaveas.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/inc/guisaveas.hxx b/sfx2/inc/guisaveas.hxx
index 8bfa87653a55..0e9905ef2ec2 100644
--- a/sfx2/inc/guisaveas.hxx
+++ b/sfx2/inc/guisaveas.hxx
@@ -62,7 +62,7 @@ public:
const OUString& aSlotName,
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgsSequence,
sal_Bool bPreselectPassword,
- OUString aUserSelectedName,
+ const OUString& aUserSelectedName,
sal_uInt16 nDocumentSignatureState = SIGNATURESTATE_NOSIGNATURES );
static sal_Bool CheckFilterOptionsAppearence(
@@ -78,8 +78,8 @@ public:
static sal_Bool WarnUnacceptableFormat(
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel,
- OUString aOldUIName,
- OUString aDefUIName,
+ const OUString& aOldUIName,
+ const OUString& aDefUIName,
sal_Bool bCanProceedFurther );
static Window* GetModelWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel );