summaryrefslogtreecommitdiff
path: root/sw/source/ui/utlui/navicfg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/utlui/navicfg.cxx')
-rw-r--r--sw/source/ui/utlui/navicfg.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/ui/utlui/navicfg.cxx b/sw/source/ui/utlui/navicfg.cxx
index cbc89fb4bbf3..cac1ddd19503 100644
--- a/sw/source/ui/utlui/navicfg.cxx
+++ b/sw/source/ui/utlui/navicfg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,7 +30,7 @@
#include "precompiled_sw.hxx"
-#include <swtypes.hxx> // fuer Pathfinder
+#include <swtypes.hxx> // fuer Pathfinder
#include <navicfg.hxx>
#include <swcont.hxx>
#include <osl/diagnose.h>
@@ -47,7 +47,7 @@ Sequence<OUString> SwNavigationConfig::GetPropertyNames()
{
static const char* aPropNames[] =
{
- "RootType", //0
+ "RootType", //0
"SelectedPosition", //1
"OutlineLevel", //2
"InsertMode", //3
@@ -77,7 +77,7 @@ SwNavigationConfig::SwNavigationConfig() :
{
Sequence<OUString> aNames = GetPropertyNames();
Sequence<Any> aValues = GetProperties(aNames);
-// EnableNotification(aNames);
+// EnableNotification(aNames);
const Any* pValues = aValues.getConstArray();
OSL_ENSURE(aValues.getLength() == aNames.getLength(), "GetProperties failed");
if(aValues.getLength() == aNames.getLength())
@@ -88,12 +88,12 @@ SwNavigationConfig::SwNavigationConfig() :
{
switch(nProp)
{
- case 0: pValues[nProp] >>= nRootType; break;
+ case 0: pValues[nProp] >>= nRootType; break;
case 1: pValues[nProp] >>= nSelectedPos; break;
case 2: pValues[nProp] >>= nOutlineLevel; break;
case 3: pValues[nProp] >>= nRegionMode; break;
- case 4: pValues[nProp] >>= nActiveBlock; break;
- case 5: bIsSmall = *(sal_Bool*)pValues[nProp].getValue(); break;
+ case 4: pValues[nProp] >>= nActiveBlock; break;
+ case 5: bIsSmall = *(sal_Bool*)pValues[nProp].getValue(); break;
case 6: bIsGlobalActive = *(sal_Bool*)pValues[nProp].getValue(); break;
}
}
@@ -116,13 +116,13 @@ void SwNavigationConfig::Commit()
{
switch(nProp)
{
- case 0: pValues[nProp] <<= nRootType; break;
+ case 0: pValues[nProp] <<= nRootType; break;
case 1: pValues[nProp] <<= nSelectedPos; break;
case 2: pValues[nProp] <<= nOutlineLevel; break;
case 3: pValues[nProp] <<= nRegionMode; break;
- case 4: pValues[nProp] <<= nActiveBlock; break;
- case 5: pValues[nProp].setValue(&bIsSmall, rType); break;
- case 6: pValues[nProp].setValue(&bIsGlobalActive, rType); break;
+ case 4: pValues[nProp] <<= nActiveBlock; break;
+ case 5: pValues[nProp].setValue(&bIsSmall, rType); break;
+ case 6: pValues[nProp].setValue(&bIsGlobalActive, rType); break;
}
}
PutProperties(aNames, aValues);