summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbanames.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-09 22:07:29 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-09 22:07:29 +0100
commitaf2cdd44357ff8013d0506fb2b38c0dd082fad33 (patch)
tree104028a5afbf3bacbce78916bac7c7efb45a3599 /sc/source/ui/vba/vbanames.cxx
parentcc6395630b2203dbf1c8448916fdda610cc8b706 (diff)
parent4d256d26b3d99149c3dafe8b1acbc161c69c171d (diff)
dba33b: merge CWS head with head resulting from pulling DEV300_m67
Diffstat (limited to 'sc/source/ui/vba/vbanames.cxx')
-rw-r--r--sc/source/ui/vba/vbanames.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbanames.cxx b/sc/source/ui/vba/vbanames.cxx
index 1bd3a2359377..043e7d386f15 100644
--- a/sc/source/ui/vba/vbanames.cxx
+++ b/sc/source/ui/vba/vbanames.cxx
@@ -27,7 +27,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#include "helperdecl.hxx"
+#include <vbahelper/helperdecl.hxx>
#include <com/sun/star/table/XCellRange.hpp>
#include <com/sun/star/sheet/XCellRangeAddressable.hpp>
@@ -81,7 +81,7 @@ ScDocument *
ScVbaNames::getScDocument()
{
uno::Reference< frame::XModel > xModel( getModel() , uno::UNO_QUERY_THROW );
- ScTabViewShell * pTabViewShell = getBestViewShell( xModel );
+ ScTabViewShell * pTabViewShell = excel::getBestViewShell( xModel );
if ( !pTabViewShell )
throw uno::RuntimeException( rtl::OUString::createFromAscii("No ViewShell available"), uno::Reference< uno::XInterface >() );
ScViewData* pViewData = pTabViewShell->GetViewData();