summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx6
-rw-r--r--vbahelper/source/vbahelper/vbawindowbase.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index 8de423bf2810..4ebc80e743c4 100644
--- a/vbahelper/source/vbahelper/vbahelper.cxx
+++ b/vbahelper/source/vbahelper/vbahelper.cxx
@@ -83,7 +83,7 @@ namespace vba
namespace { const double factor = 2540.0 / 72.0; }
// helper method to determine if the view ( calc ) is in print-preview mode
-bool isInPrintPreview( SfxViewFrame* pView )
+static bool isInPrintPreview( SfxViewFrame* pView )
{
sal_uInt16 nViewNo = SID_VIEWSHELL1 - SID_VIEWSHELL0;
if ( pView->GetObjectShell()->GetFactory().GetViewFactoryCount() >
@@ -232,7 +232,7 @@ getCurrentDoc( const OUString& sKey )
}
/// @throws uno::RuntimeException
- uno::Reference< frame::XModel >
+static uno::Reference< frame::XModel >
getCurrentDocCtx( const OUString& ctxName, const uno::Reference< uno::XComponentContext >& xContext )
{
uno::Reference< frame::XModel > xModel;
@@ -556,7 +556,7 @@ ContainerUtilities::FieldInList( const uno::Sequence< OUString >& SearchList, co
}
-bool NeedEsc(sal_Unicode cCode)
+static bool NeedEsc(sal_Unicode cCode)
{
return OUString(".^$+\\|{}()").indexOf(cCode) != -1;
}
diff --git a/vbahelper/source/vbahelper/vbawindowbase.cxx b/vbahelper/source/vbahelper/vbawindowbase.cxx
index e37a53b46cdb..ebc67ef0c5d3 100644
--- a/vbahelper/source/vbahelper/vbawindowbase.cxx
+++ b/vbahelper/source/vbahelper/vbawindowbase.cxx
@@ -59,7 +59,7 @@ VbaWindowBase::setVisible( sal_Bool _visible )
getWindow2()->setVisible( _visible );
}
-void setPosSize( const uno::Reference< awt::XWindow >& xWindow, sal_Int32 nValue, sal_Int16 nFlag )
+static void setPosSize( const uno::Reference< awt::XWindow >& xWindow, sal_Int32 nValue, sal_Int16 nFlag )
{
css::awt::Rectangle aRect = xWindow->getPosSize();
switch( nFlag )