From 59bbf4b37f8572c3fa65bedbc4013fc0ef844c42 Mon Sep 17 00:00:00 2001 From: Gergo Mocsi Date: Thu, 19 Sep 2013 16:18:10 +0200 Subject: GSOC work, enable interface name usage instead of it's full name From now, interfaces/structs/enums can be used as types in BASIC IDE. This example illustrates the feature the best: dim aPicker as star.ui.dialogs.XFilePicker dim aPicker2 as sun.star.ui.dialogs.XFilePicker dim aPicker3 as com.sun.star.ui.dialogs.XFilePicker dim aPicker4 as css.ui.dialogs.XFilePicker dim aPicker5 as ui.dialogs.XFilePicker dim aPicker6 as XFilePicker Any of the definitions above are accepted (css is shorthand for com.sun.star). Change-Id: I1ac2196f21ba0950d2932ef5bc11a1d5d2346b4c --- include/basic/codecompletecache.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/basic/codecompletecache.hxx') diff --git a/include/basic/codecompletecache.hxx b/include/basic/codecompletecache.hxx index 6dc389ad9d67..4bef3d1b13fc 100644 --- a/include/basic/codecompletecache.hxx +++ b/include/basic/codecompletecache.hxx @@ -70,7 +70,7 @@ public: static bool IsAutoCorrectOn(); static void SetAutoCorrectOn( const bool& b ); - static OUString AddUnoPrefix( const OUString& sTypeName ); + static OUString GetUnoType( const OUString& sTypeName ); }; class BASIC_DLLPUBLIC CodeCompleteDataCache -- cgit v1.2.3