Kaydet (Commit) b6fa941a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Avoid unused functions in the !HAVE_FEATURE_SCRIPTING case

Change-Id: I4b3cb1d696adb7f9a6f35b8529e49d55bd5d957b
üst 83dd72cb
......@@ -78,6 +78,8 @@ static OUString trimMacroName( const OUString& rMacroName )
return aMacroName;
}
#if HAVE_FEATURE_SCRIPTING
static SfxObjectShell* findShellForUrl( const OUString& sMacroURLOrPath )
{
SfxObjectShell* pFoundShell=nullptr;
......@@ -224,6 +226,8 @@ static bool hasMacro( SfxObjectShell const * pShell, const OUString& sLibrary, O
return bFound;
}
#endif
OUString getDefaultProjectName( SfxObjectShell const * pShell )
{
OUString aPrjName;
......@@ -236,6 +240,8 @@ OUString getDefaultProjectName( SfxObjectShell const * pShell )
return aPrjName;
}
#if HAVE_FEATURE_SCRIPTING
static void parseMacro( const OUString& sMacro, OUString& sContainer, OUString& sModule, OUString& sProcedure )
{
sal_Int32 nMacroDot = sMacro.lastIndexOf( '.' );
......@@ -257,6 +263,8 @@ static void parseMacro( const OUString& sMacro, OUString& sContainer, OUString&
sProcedure = sMacro;
}
#endif
OUString resolveVBAMacro( SfxObjectShell const * pShell, const OUString& rLibName, const OUString& rModuleName, const OUString& rMacroName )
{
#if !HAVE_FEATURE_SCRIPTING
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment