summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/excelvbahelper.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-03-15 01:58:39 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-03-15 01:58:39 -0400
commit1a5aaf0b88db4a7479eeb1893f2b8bb5ae72111f (patch)
tree88c13cad74a57b6944e8883b477d38c0eebfbe39 /sc/source/ui/vba/excelvbahelper.cxx
parent0a95ed445f71a9886fdc135b32153beda215cebc (diff)
Some attempts to get the VBA code to build.
Diffstat (limited to 'sc/source/ui/vba/excelvbahelper.cxx')
-rw-r--r--sc/source/ui/vba/excelvbahelper.cxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/sc/source/ui/vba/excelvbahelper.cxx b/sc/source/ui/vba/excelvbahelper.cxx
index 5ec8fd16c80d..989ca4678707 100644
--- a/sc/source/ui/vba/excelvbahelper.cxx
+++ b/sc/source/ui/vba/excelvbahelper.cxx
@@ -44,6 +44,10 @@
using namespace ::com::sun::star;
using namespace ::ooo::vba;
+namespace ooo {
+namespace vba {
+namespace excel {
+
// ============================================================================
uno::Reference< sheet::XDatabaseRanges >
@@ -331,8 +335,8 @@ sal_Bool IsR1C1ReferFormat( ScDocument* pDoc, const rtl::OUString& sRangeStr )
return false;
}
-uno::Reference< XHelperInterface >
-getUnoSheetModuleObj( const uno::Reference< table::XCellRange >& xRange ) throw ( uno::RuntimeException )
+uno::Reference< vba::XHelperInterface >
+getUnoSheetModuleObj( const uno::Reference< sheet::XSpreadsheet >& xSheet ) throw ( uno::RuntimeException )
{
uno::Reference< beans::XPropertySet > xProps( xSheet, uno::UNO_QUERY_THROW );
rtl::OUString sCodeName;
@@ -458,8 +462,6 @@ ScVbaCellRangeAccess::GetDataSet( ScCellRangesBase* pRangeObj )
// ============================================================================
-} //excel
-} //vba
-} //ooo
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+} // namespace excel
+} // namespace vba
+} // namespace ooo