summaryrefslogtreecommitdiff
path: root/include/vbahelper
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-05-03 12:31:27 +0100
committerNoel Power <noel.power@suse.com>2013-05-09 14:11:20 +0100
commitb2d1526203adfe462e744e8b14dabbd4fddf0406 (patch)
treed6657af713f98baa7406a09f7fbbf606a459d533 /include/vbahelper
parent4d1e0ea98b963ef566d11fcd05f74bfab9ca813e (diff)
Parse workbook name correctly, don't fall over spaces etc.
Change-Id: I26213e4202ea2f2d15014ca722ab7878aa09cbf1
Diffstat (limited to 'include/vbahelper')
-rw-r--r--include/vbahelper/vbadocumentbase.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vbahelper/vbadocumentbase.hxx b/include/vbahelper/vbadocumentbase.hxx
index 77e799078a97..e4a9225d75fc 100644
--- a/include/vbahelper/vbadocumentbase.hxx
+++ b/include/vbahelper/vbadocumentbase.hxx
@@ -58,6 +58,8 @@ public:
// XHelperInterface
virtual OUString getServiceImplName();
virtual css::uno::Sequence<OUString> getServiceNames();
+
+ static OUString getNameFromModel( const css::uno::Reference< css::frame::XModel >& xModel );
};
#endif /* VBA_DOCUMENTBASE_HXX */