summaryrefslogtreecommitdiff
path: root/unotools/source/config/saveopt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/saveopt.cxx')
-rw-r--r--unotools/source/config/saveopt.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx
index 6c8922edf706..82f63887932d 100644
--- a/unotools/source/config/saveopt.cxx
+++ b/unotools/source/config/saveopt.cxx
@@ -35,9 +35,13 @@
using namespace utl;
using namespace com::sun::star::uno;
+namespace {
+
class SvtSaveOptions_Impl;
class SvtLoadOptions_Impl;
+}
+
#define CFG_READONLY_DEFAULT false
struct SvtLoadSaveOptions_Impl
@@ -49,6 +53,8 @@ struct SvtLoadSaveOptions_Impl
static std::unique_ptr<SvtLoadSaveOptions_Impl> pOptions;
static sal_Int32 nRefCount = 0;
+namespace {
+
class SvtSaveOptions_Impl : public utl::ConfigItem
{
sal_Int32 nAutoSaveTime;
@@ -128,6 +134,8 @@ public:
bool IsReadOnly( SvtSaveOptions::EOption eOption ) const;
};
+}
+
void SvtSaveOptions_Impl::SetAutoSaveTime( sal_Int32 n )
{
if (!bROAutoSaveTime && nAutoSaveTime!=n)
@@ -686,6 +694,8 @@ void SvtSaveOptions_Impl::Notify( const Sequence<OUString>& )
{
}
+namespace {
+
class SvtLoadOptions_Impl : public utl::ConfigItem
{
private:
@@ -702,6 +712,8 @@ public:
bool IsLoadUserSettings() const {return bLoadUserDefinedSettings;}
};
+}
+
const sal_Char cUserDefinedSettings[] = "UserDefinedSettings";
SvtLoadOptions_Impl::SvtLoadOptions_Impl()