summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx4
-rw-r--r--extensions/source/scanner/sane.cxx4
2 files changed, 8 insertions, 0 deletions
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index d64c86774f11..1e77361f9400 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -59,6 +59,8 @@ namespace pcr
namespace PropertyControlType = ::com::sun::star::inspection::PropertyControlType;
+ namespace {
+
enum ControlEventType
{
FOCUS_GAINED,
@@ -66,6 +68,8 @@ namespace pcr
ACTIVATE_NEXT
};
+ }
+
struct ControlEvent : public ::comphelper::AnyEvent
{
Reference< XPropertyControl > xControl;
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx
index 47055a2b0968..67889ce00416 100644
--- a/extensions/source/scanner/sane.cxx
+++ b/extensions/source/scanner/sane.cxx
@@ -466,10 +466,14 @@ void Sane::SetOptionValue( int n, double const * pSet )
ControlOption( n, SANE_ACTION_SET_VALUE, pFixedSet.get() );
}
+namespace {
+
enum FrameStyleType {
FrameStyle_BW, FrameStyle_Gray, FrameStyle_RGB, FrameStyle_Separated
};
+}
+
#define BYTE_BUFFER_SIZE 32768
static sal_uInt8 ReadValue( FILE* fp, int depth )