summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docxforms.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-12 16:49:40 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-12 16:56:54 +0200
commit21d10c6f3266d4fac9c91f9d0fab529a6841b39e (patch)
treed4436c5d48e16d81518906f5337bd16ae1dec823 /sw/source/core/doc/docxforms.cxx
parent908794d36f489c60835bfa8a17ac6bd9c256c7df (diff)
mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I21e12d6a4dfb9697d2346a4e564e96af0ad03f96
Diffstat (limited to 'sw/source/core/doc/docxforms.cxx')
-rw-r--r--sw/source/core/doc/docxforms.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docxforms.cxx b/sw/source/core/doc/docxforms.cxx
index 8402a83c8ad4..53f2c1da9002 100644
--- a/sw/source/core/doc/docxforms.cxx
+++ b/sw/source/core/doc/docxforms.cxx
@@ -62,7 +62,7 @@ bool SwDoc::isXForms() const
return xXForms.is();
}
-Reference<XInterface> lcl_createInstance( const sal_Char* pServiceName )
+static Reference<XInterface> lcl_createInstance( const sal_Char* pServiceName )
{
OSL_ENSURE( pServiceName != NULL, "no service name" );
return comphelper::getProcessServiceFactory()->createInstance(