diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-21 20:12:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 09:31:06 +0200 |
commit | 988e5c7b480c974c5bcc5c808092d0ea725511a2 (patch) | |
tree | 914527f6c976a01131d04a5e32cfeb94001b7e94 /fpicker | |
parent | db496668e0dec6cede2428f55efe7c192cd9c1de (diff) |
loplugin:passstuffbyref
Change-Id: I45cc7c949dd8288bcc39f23c224370764c5cf0ec
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.hxx | 2 | ||||
-rw-r--r-- | fpicker/source/aqua/SalAquaPicker.hxx | 4 | ||||
-rw-r--r-- | fpicker/source/aqua/SalAquaPicker.mm | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.hxx b/fpicker/source/aqua/SalAquaFilePicker.hxx index e33a4895261c..869c5aaa40b7 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.hxx +++ b/fpicker/source/aqua/SalAquaFilePicker.hxx @@ -158,7 +158,7 @@ public: return m_pDelegate; } - inline OUString getSaveFileName() { + inline OUString const & getSaveFileName() { return m_sSaveFileName; } diff --git a/fpicker/source/aqua/SalAquaPicker.hxx b/fpicker/source/aqua/SalAquaPicker.hxx index 2ff8345a0111..34590550f51a 100644 --- a/fpicker/source/aqua/SalAquaPicker.hxx +++ b/fpicker/source/aqua/SalAquaPicker.hxx @@ -47,7 +47,7 @@ public: int run(); int runandwaitforresult(); - inline OUString getDisplayDirectory() { return m_sDisplayDirectory; } + inline OUString const & getDisplayDirectory() { return m_sDisplayDirectory; } inline ControlHelper* getControlHelper() const { return m_pControlHelper; @@ -78,7 +78,7 @@ protected: void implsetDisplayDirectory( const OUString& rDirectory ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException ); - OUString implgetDisplayDirectory( ) + OUString const & implgetDisplayDirectory( ) throw( css::uno::RuntimeException ); void implInitialize( ); diff --git a/fpicker/source/aqua/SalAquaPicker.mm b/fpicker/source/aqua/SalAquaPicker.mm index 7f9f8953ab67..602850954e25 100644 --- a/fpicker/source/aqua/SalAquaPicker.mm +++ b/fpicker/source/aqua/SalAquaPicker.mm @@ -200,7 +200,7 @@ void SAL_CALL SalAquaPicker::implsetDisplayDirectory( const rtl::OUString& aDire } } -rtl::OUString SAL_CALL SalAquaPicker::implgetDisplayDirectory() throw( uno::RuntimeException ) +rtl::OUString const & SAL_CALL SalAquaPicker::implgetDisplayDirectory() throw( uno::RuntimeException ) { return m_sDisplayDirectory; } |