diff options
author | Noel Power <npower@openoffice.org> | 2009-10-07 14:45:16 +0000 |
---|---|---|
committer | Noel Power <npower@openoffice.org> | 2009-10-07 14:45:16 +0000 |
commit | e202191f2b4fb8dba1288502dd2fade732638019 (patch) | |
tree | 587340432aed667ab5eb972886a5cd0626346cc8 /sc/source | |
parent | 95eeb6c233eb2718399b5ffa69c1e9de86bf6bf5 (diff) |
warning as error fixes
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/vba/excelvbahelper.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaworkbooks.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaworkbooks.hxx | 2 |
3 files changed, 11 insertions, 3 deletions
diff --git a/sc/source/ui/vba/excelvbahelper.hxx b/sc/source/ui/vba/excelvbahelper.hxx index 9306327568f3..bb222688236a 100644 --- a/sc/source/ui/vba/excelvbahelper.hxx +++ b/sc/source/ui/vba/excelvbahelper.hxx @@ -56,7 +56,7 @@ namespace ooo public: static SfxItemSet* GetDataSet( ScCellRangeObj* pRangeObj ); }; -}; -}; -}; +} +} +} #endif diff --git a/sc/source/ui/vba/vbaworkbooks.cxx b/sc/source/ui/vba/vbaworkbooks.cxx index 1686144b4841..b2f194bff6c5 100644 --- a/sc/source/ui/vba/vbaworkbooks.cxx +++ b/sc/source/ui/vba/vbaworkbooks.cxx @@ -259,6 +259,12 @@ ScVbaWorkbooks::Open( const rtl::OUString& rFileName, const uno::Any& /*UpdateLi return aRet; } +uno::Any +ScVbaWorkbooks::Open( const rtl::OUString& Filename, const uno::Any& ReadOnly, const uno::Sequence< beans::PropertyValue >& rProps ) throw (css::uno::RuntimeException) +{ + return VbaDocumentsBase::Open( Filename, ReadOnly, rProps ); +} + rtl::OUString& ScVbaWorkbooks::getServiceImplName() { diff --git a/sc/source/ui/vba/vbaworkbooks.hxx b/sc/source/ui/vba/vbaworkbooks.hxx index 9bca55f77999..891a8a333695 100644 --- a/sc/source/ui/vba/vbaworkbooks.hxx +++ b/sc/source/ui/vba/vbaworkbooks.hxx @@ -67,6 +67,8 @@ public: virtual void SAL_CALL Close( ) throw (css::uno::RuntimeException); virtual css::uno::Any SAL_CALL Open( const ::rtl::OUString& Filename, const css::uno::Any& UpdateLinks, const css::uno::Any& ReadOnly, const css::uno::Any& Format, const css::uno::Any& Password, const css::uno::Any& WriteResPassword, const css::uno::Any& IgnoreReadOnlyRecommended, const css::uno::Any& Origin, const css::uno::Any& Delimiter, const css::uno::Any& Editable, const css::uno::Any& Notify, const css::uno::Any& Converter, const css::uno::Any& AddToMru ) throw (css::uno::RuntimeException); + // VbaDocumentsBase / XDocumentsBase (to avoid warning C4266 for hiding function on wntmsci) + virtual css::uno::Any SAL_CALL Open( const ::rtl::OUString& Filename, const css::uno::Any& ReadOnly, const css::uno::Sequence< css::beans::PropertyValue >& rProps ) throw (css::uno::RuntimeException); }; #endif /* SC_VBA_WORKBOOKS_HXX */ |