diff options
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; } |