summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-02-21 12:49:09 +0100
committerTor Lillqvist <tlillqvist@suse.com>2012-02-21 15:36:49 +0200
commit84c8559820ba33c1ac4e7a8ce5412cf5534b954c (patch)
tree5591e2c5969ef9777428719a20ebcc7503f01629 /sc
parentfdo#46382 s/Slovakian/Slovak/ (diff)
downloadcore-84c8559820ba33c1ac4e7a8ce5412cf5534b954c.tar.gz
core-84c8559820ba33c1ac4e7a8ce5412cf5534b954c.zip
Fix most of the build with --disable-database-connectivity
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/docsh8.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index 96e3c63d44b6..d0e5890be984 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -26,10 +26,7 @@
*
************************************************************************/
-
-
-
-// INCLUDE ---------------------------------------------------------------
+#ifndef DISABLE_DBCONNECTIVITY
#include <stdio.h>
#include <tools/urlobj.hxx>
@@ -1166,5 +1163,6 @@ sal_uLong ScDocShell::DBaseExport( const rtl::OUString& rFullFileName, CharSet e
return nErr;
}
+#endif // !DISABLE_DBCONNECTIVITY
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */