[Libreoffice-commits] .: sc/qa

Stephan Bergmann sbergmann at kemper.freedesktop.org
Thu Jan 19 02:23:13 PST 2012


 sc/qa/extras/xdatapilotdescriptor.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 16af33302b19fd90c5c24031e23a7c36e3b6b412
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jan 19 11:21:57 2012 +0100

    Fix C++03 enum member scope.

diff --git a/sc/qa/extras/xdatapilotdescriptor.cxx b/sc/qa/extras/xdatapilotdescriptor.cxx
index 97612e8..e5151d5 100644
--- a/sc/qa/extras/xdatapilotdescriptor.cxx
+++ b/sc/qa/extras/xdatapilotdescriptor.cxx
@@ -156,35 +156,35 @@ void ScXDataPilotDescriptor::testGetDataPilotFields_Impl( uno::Reference< sheet:
             case 0:
                 {
                     uno::Any aAny;
-                    aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_COLUMN;
+                   aAny<<= sheet::DataPilotFieldOrientation_COLUMN;
                     xPropSet->setPropertyValue(aOrientation, aAny);
                 }
                 break;
             case 1:
                 {
                     uno::Any aAny;
-                    aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_ROW;
+                    aAny<<= sheet::DataPilotFieldOrientation_ROW;
                     xPropSet->setPropertyValue(aOrientation, aAny);
                 }
                 break;
             case 2:
                 {
                     uno::Any aAny;
-                    aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_DATA;
+                    aAny<<= sheet::DataPilotFieldOrientation_DATA;
                     xPropSet->setPropertyValue(aOrientation, aAny);
                 }
                 break;
             case 3:
                 {
                     uno::Any aAny;
-                    aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_HIDDEN;
+                    aAny<<= sheet::DataPilotFieldOrientation_HIDDEN;
                     xPropSet->setPropertyValue(aOrientation, aAny);
                 }
                 break;
             case 4:
                 {
                     uno::Any aAny;
-                    aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_PAGE;
+                    aAny<<= sheet::DataPilotFieldOrientation_PAGE;
                     xPropSet->setPropertyValue(aOrientation, aAny);
                 }
                 break;


More information about the Libreoffice-commits mailing list